FWIW, I have also been seeing this error over the last few days, but
not this morning.
Int32 Read(Byte[], Int32, Int32) throws "Received an unexpected EOF or
0 bytes from the transport stream."

C# Code:

Uri uri = new Uri(reportService.getReportDownloadUrl(reportId));
HttpWebRequest request = (HttpWebRequest)WebRequest.CreateDefault
(uri);

request.KeepAlive = false;
request.Method = "GET";
request.Timeout = 120000;

HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Stream receiveStream = response.GetResponseStream();

fileStream = File.Create(fileNameDownloading);

int size = 1024 * 32;
byte[] writeData = new byte[size];
size = receiveStream.Read(writeData, 0, size);

while (size > 0)
{
      fileStream.Write(writeData, 0, size);
      size = receiveStream.Read(writeData, 0, size);
}
fileStream.Close();
receiveStream.Close();

Cheers,
Rori
http://www.SimpleSmartAds.com

On Jun 8, 4:49 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hello All,
>
>  Given the multiple reports of similar behavior, I'm assuming that
> this isn't just the normal one-off transient issues inherent in TCP
> connections. I'll see what the core engineering team and our network
> operations team has to say.
>
>  In the meantime, I have a feeling that they're going to ask for
> information about source IP addresses and the timeframes during which
> this occurred. This isn't the sort of info you'd want to post
> publicly, so it's probably best to email adwordsapiadvi...@google.com
> with that and any other log info you have. (Note for future readers of
> this thread that we don't normally check that address for support
> questions!)
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On Jun 8, 3:23 pm, "Rob C." <rw.coo...@gmail.com> wrote:
>
>
>
> > We had similar errors occur last night and this morning for both
> > report downloading and bid uploading on a number of different accounts
> > under a single MCC (using the same API token for all of them).
>
> > Rob Cooley
>
> > On Jun 8, 1:42 pm, tozor <t...@adlucent.com> wrote:
>
> > > I saw this last night and again this morning.  Different accounts each
> > > time.
>
> > >     Tim Ozor
>
> > > On Jun 8, 12:32 am, Achal Rastogi <semr...@gmail.com> wrote:
>
> > > > Hi,
>
> > > > Just checking to see if anyone is experiencing ssl connection failures
> > > > as well.
>
> > > > Here is the stack trace our logs are dumping out -
>
> > > > 2009-06-07 22:28:38,263 ERROR [Thread-13486] (GoogleBidUploader.java:
> > > > 202)- javax.net.ssl.SSLException: Connection has been shutdown:
> > > > javax.net.ssl.SSLException: java.net.SocketException: Broken pipe
> > > > 2009-06-07 22:28:46,427 ERROR [Thread-13486] (GoogleBidUploader.java:
> > > > 202)- One or more input elements failed validation.
> > > > 2009-06-07 22:28:51,836 ERROR [Thread-13486] (Message.java:541)-
> > > > java.io.IOException:
> > > > java.net.SocketException: Broken pipe
> > > >         at java.net.SocketOutputStream.socketWrite0(Native Method)
> > > >         at 
> > > > java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:
> > > > 92)
> > > >         at 
> > > > java.net.SocketOutputStream.write(SocketOutputStream.java:136)
> > > >         at com.sun.net.ssl.internal.ssl.OutputRecord.writeBuffer
> > > > (OutputRecord.java:283)
> > > >         at 
> > > > com.sun.net.ssl.internal.ssl.OutputRecord.write(OutputRecord.java:
> > > > 272)
> > > >         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord
> > > > (SSLSocketImpl.java:666)
> > > >         at com.sun.net.ssl.internal.ssl.AppOutputStream.write
> > > > (AppOutputStream.java:59)
> > > >         at 
> > > > java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
> > > >         at org.apache.axis.utils.ByteArray.writeTo(ByteArray.java:375)
> > > >         at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:265)
> > > >         at org.apache.axis.Message.writeTo(Message.java:539)
> > > >         at org.apache.axis.transport.http.HTTPSender.writeToSocket
> > > > (HTTPSender.java:511)
> > > >         at 
> > > > org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:
> > > > 138)
> > > >         at org.apache.axis.strategies.InvocationStrategy.visit
> > > > (InvocationStrategy.java:32)
> > > >         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> > > >         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> > > >         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
> > > >         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> > > >         at org.apache.axis.client.Call.invoke(Call.java:2767)
> > > >         at org.apache.axis.client.Call.invoke(Call.java:2443)
> > > >         at org.apache.axis.client.Call.invoke(Call.java:2366)
> > > >         at org.apache.axis.client.Call.invoke(Call.java:1812)
> > > >         at
> > > > com.google.api.adwords.v13.CriterionServiceSoapBindingStub.updateCriteria_a
> > > >  roundBody16
> > > > (CriterionServiceSoapBindingStub.java:748)
> > > >         at
> > > > com.google.api.adwords.v13.CriterionServiceSoapBindingStub.updateCriteria_a
> > > >  roundBody17$advice
> > > > (CriterionServiceSoapBindingStub.java:142)
> > > >         at
> > > > com.google.api.adwords.v13.CriterionServiceSoapBindingStub.updateCriteria
> > > > (CriterionServiceSoapBindingStub.java:1)
> > > >         at 
> > > > com.ojos.server.sem.entity.AdWords.updateCriteria(AdWords.java:
> > > > 158)
> > > >         at 
> > > > com.ojos.server.semversiontwo.upload.GoogleBidUploader.tryBatch
> > > > (GoogleBidUploader.java:225)
> > > >         at
> > > > com.ojos.server.semversiontwo.upload.GoogleBidUploader.tryDifferentBatchSiz
> > > >  e
> > > > (GoogleBidUploader.java:197)
> > > >         at
> > > > com.ojos.server.semversiontwo.upload.GoogleBidUploader.updateBidsAtGoogle
> > > > (GoogleBidUploader.java:104)
> > > >         at
> > > > com.ojos.server.sem.commandhandlers.ModifyAttributesGoogleSearch.execute
> > > > (ModifyAttributesGoogleSearch.java:31)
> > > >         at 
> > > > com.ojos.framework.queue.NetServerThread.run(NetServerThread.java:
> > > > 85)
> > > > 2009-06-07 22:28:51,839 ERROR [Thread-13486] (GoogleBidUploader.java:
> > > > 202)- javax.net.ssl.SSLException: Connection has been shutdown:
> > > > javax.net.ssl.SSLException: java.net.SocketException: Broken pipe
> > > > 2009-06-07 22:28:58,955 ERROR [Thread-13486] (GoogleBidUploader.java:
> > > > 202)- One or more input elements failed validation.
> > > > 2009-06-07 22:29:04,636 ERROR [Thread-13486] (Message.java:541)-
> > > > java.io.IOException:
> > > > java.net.SocketException: Broken pipe
> > > >         at java.net.SocketOutputStream.socketWrite0(Native Method)
> > > >         at 
> > > > java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:
> > > > 92)
> > > >         at 
> > > > java.net.SocketOutputStream.write(SocketOutputStream.java:136)
> > > >         at com.sun.net.ssl.internal.ssl.OutputRecord.writeBuffer
> > > > (OutputRecord.java:283)
> > > >         at 
> > > > com.sun.net.ssl.internal.ssl.OutputRecord.write(OutputRecord.java:
> > > > 272)
> > > >         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord
> > > > (SSLSocketImpl.java:666)
> > > >         at com.sun.net.ssl.internal.ssl.AppOutputStream.write
> > > > (AppOutputStream.java:59)
> > > >         at 
> > > > java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
> > > >         at org.apache.axis.utils.ByteArray.writeTo(ByteArray.java:375)
> > > >         at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:265)
> > > >         at org.apache.axis.Message.writeTo(Message.java:539)
> > > >         at org.apache.axis.transport.http.HTTPSender.writeToSocket
> > > > (HTTPSender.java:511)
> > > >         at 
> > > > org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:
> > > > 138)
> > > >         at org.apache.axis.strategies.InvocationStrategy.visit
> > > > (InvocationStrategy.java:32)
> > > >         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> > > >         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> > > >         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
> > > >         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> > > >         at org.apache.axis.client.Call.invoke(Call.java:2767)
> > > >         at org.apache.axis.client.Call.invoke(Call.java:2443)
> > > >         at org.apache.axis.client.Call.invoke(Call.java:2366)
> > > >         at org.apache.axis.client.Call.invoke(Call.java:1812)
> > > >         at
> > > > com.google.api.adwords.v13.CriterionServiceSoapBindingStub.updateCriteria_a
> > > >  roundBody16
> > > > (CriterionServiceSoapBindingStub.java:748)
> > > >         at
> > > > com.google.api.adwords.v13.CriterionServiceSoapBindingStub.updateCriteria_a
> > > >  roundBody17$advice
> > > > (CriterionServiceSoapBindingStub.java:142)
> > > >         at
> > > > com.google.api.adwords.v13.CriterionServiceSoapBindingStub.updateCriteria
> > > > (CriterionServiceSoapBindingStub.java:1)
> > > >         at 
> > > > com.ojos.server.sem.entity.AdWords.updateCriteria(AdWords.java:
> > > > 158)
> > > >         at 
> > > > com.ojos.server.semversiontwo.upload.GoogleBidUploader.tryBatch
> > > > (GoogleBidUploader.java:225)
> > > >         at
> > > > com.ojos.server.semversiontwo.upload.GoogleBidUploader.tryDifferentBatchSiz
> > > >  e
> > > > (GoogleBidUploader.java:197)
> > > >         at
> > > > com.ojos.server.semversiontwo.upload.GoogleBidUploader.updateBidsAtGoogle
> > > > (GoogleBidUploader.java:104)
> > > >         at
> > > > com.ojos.server.sem.commandhandlers.ModifyAttributesGoogleSearch.execute
> > > > (ModifyAttributesGoogleSearch.java:31)
> > > >         at 
> > > > com.ojos.framework.queue.NetServerThread.run(NetServerThread.java:
> > > > 85)
> > > > 2009-06-07 22:29:04,639 ERROR [Thread-13486] (GoogleBidUploader.java:
> > > > 202)- javax.net.ssl.SSLException: Connection has been shutdown:
> > > > javax.net.ssl.SSLException: java.net.SocketException: Broken pipe
> > > > 2009-06-07 22:29:14,003 ERROR [Thread-13486] (GoogleBidUploader.java:
> > > > 202)- One or more input elements failed validation.
> > > > 2009-06-07 22:29:19,480 ERROR [Thread-13486] (Message.java:541)-
> > > > java.io.IOException:
> > > > java.net.SocketException: Broken pipe
> > > >         at java.net.SocketOutputStream.socketWrite0(Native Method)
> > > >         at 
> > > > java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:
> > > > 92)
> > > >         at 
> > > > java.net.SocketOutputStream.write(SocketOutputStream.java:136)
> > > >         at com.sun.net.ssl.internal.ssl.OutputRecord.writeBuffer
> > > > (OutputRecord.java:283)
> > > >         at 
> > > > com.sun.net.ssl.internal.ssl.OutputRecord.write(OutputRecord.java:
> > > > 272)
> > > >         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord
> > > > (SSLSocketImpl.java:666)
> > > >         at com.sun.net.ssl.internal.ssl.AppOutputStream.write
> > > > (AppOutputStream.java:59)
> > > >         at
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to