Hi,

Connection reset errors can be caused by a variety of issues. Without 
tracing the connections with a tool (e.g., WireShark) it's difficult to 
know where in the network path this is occurring.

In general, it's best to design your application to tolerate transient 
issues like this. Please refer to our Best Practices Guide 
<https://developers.google.com/adwords/api/docs/guides/bestpractices#error_handling>
 for 
more details.

Cheers,
Josh, AdWords API Team

On Wednesday, June 4, 2014 3:44:35 PM UTC-4, gshoihet wrote:
>
> hello,
>
> In some reason google server response with java.net.SocketException: 
> Connection reset
>
> Please advice log was attached 
>
> Thanks 
>
>
> {KeyWord:יפעת פרג אשטה כרטיסים}
> בתאריך 06/07, כרטיסים ב- 100 ₪.
> תזמינו כרטיסים עכשיו !
> bravo.ticketsnow.co.il/כרטיסים 
> <http://bravo.ticketsnow.co.il/%D7%9B%D7%A8%D7%98%D7%99%D7%A1%D7%99%D7%9D>
> >>>http://bravo.ticketsnow.co.il/announce/20538
>
> 2014-06-04 15:57:23 TextAdUpdate [INFO] Sleep : 10000
> 2014-06-04 15:57:34 requestInfoLogger [INFO] Request made: Service: 
> "AdGroupAdServiceInterfacePort" Method: "mutate" URL: "
> https://adwords.google.com/api/adwords/cm/v201309/AdGroupAdService";
> 2014-06-04 15:57:34 soapXmlLogger [INFO] SOAP Request:
> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>     <soapenv:Header>
>         <ns1:RequestHeader xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201309"; 
> soapenv:mustUnderstand="0">
>             <ns1:clientCustomerId>398-500-3202</ns1:clientCustomerId>
>             <ns1:developerToken>zzzzzzzzzzzzzzzzzz</ns1:developerToken>
>             <ns1:userAgent>Cupat Bravo (AwApi-Java, AdWords-Axis/1.20.0, 
> Common-Java/1.20.0, Axis/1.4, Java/1.7.0_21, maven)</ns1:userAgent>
>             <ns1:validateOnly>fal
> se</ns1:validateOnly>
>             <ns1:partialFailure>false</ns1:partialFailure>
>         </ns1:RequestHeader>
>     </soapenv:Header>
>     <soapenv:Body>
>         <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201309";>
>             <operations>
>                 <operator>REMOVE</operator>
>                 <operand>
>                     <adGroupId>14024501183</adGroupId>
>                     <ad>
>                         <id>41948062343</id>
>                     </ad>
>                     <status>DISABLED</status>
>                 </operand>
>             </operations>
>         </mutate>
>     </soapenv:Body>
> </soapenv:Envelope>
>
> 2014-06-04 15:57:34 soapXmlLogger [INFO] SOAP Response:
> <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="
> http://schemas.xmlsoap.org/soap/envelope/";>
>     <soap:Header>
>         <ResponseHeader xmlns="
> https://adwords.google.com/api/adwords/cm/v201309";>
>             <requestId>0004fb022cc76cc00ae539880c001d99</requestId>
>             <serviceName>AdGroupAdService</serviceName>
>             <methodName>mutate</methodName>
>             <operations>0</operations>
>             <responseTime>226</responseTime>
>         </ResponseHeader>
>     </soap:Header>
>     <soap:Body>
>         <mutateResponse xmlns="
> https://adwords.google.com/api/adwords/cm/v201309";>
>             <rval>
>                 
> <ListReturnValue.Type>AdGroupAdReturnValue</ListReturnValue.Type>
>                 <value>
>                     <adGroupId>14024501183</adGroupId>
>                     <ad xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="TextAd">
>                         <id>41948062343</id>
>                         <url>http://bravo.ticketsnow.co.il/announce/20538
> </url>
>                         <displayUrl>bravo.ticketsnow.co.il/כרטיסים 
> <http://bravo.ticketsnow.co.il/%D7%9B%D7%A8%D7%98%D7%99%D7%A1%D7%99%D7%9D>
> </displayUrl>
>                         <Ad.Type>TextAd</Ad.Type>
>                         <headline>{KeyWord:יפעת פרג אשטה 
> כרטיסים}</headline>
>                         <description1>בתאריך 06/07, כרטיסים ב- 100 
> ₪.</description1>
>                         <description2>פשוט ובטוח להזמין כרטיסים 
> !</description2>
>                     </ad>
>                     <status>DISABLED</status>
>                     <approvalStatus>FAMILY_SAFE</approvalStatus>
>                 </value>
>             </rval>
>         </mutateResponse>
>     </soap:Body>
> </soap:Envelope>
>
> 2014-06-04 15:57:34 TextAdUpdate [INFO] Sleep : 10000
> 2014-06-04 15:57:45 requestInfoLogger [INFO] Request made: Service: 
> "AdGroupAdServiceInterfacePort" Method: "mutate" URL: "
> https://adwords.google.com/api/adwords/cm/v201309/AdGroupAdService";
> 2014-06-04 15:57:45 soapXmlLogger [WARN] SOAP Request:
> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>     <soapenv:Header>
>         <ns1:RequestHeader xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201309"; 
> soapenv:mustUnderstand="0">
>             <ns1:clientCustomerId>398-500-3202</ns1:clientCustomerId>
>             <ns1:developerToken>xxxxxxxxxxxxxxxxxxx</ns1:developerToken>
>             <ns1:userAgent>Cupat Bravo (AwApi-Java, AdWords-Axis/1.20.0, 
> Common-Java/1.20.0, Axis/1.4, Java/1.7.0_21, maven)</ns1:userAgent>
>             <ns1:validateOnly>false</ns1:validateOnly>
>             <ns1:partialFailure>false</ns1:partialFailure>
>         </ns1:RequestHeader>
>     </soapenv:Header>
>     <soapenv:Body>
>         <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201309";>
>             <operations>
>                 <operator>ADD</operator>
>                 <operand>
>                     <adGroupId>14024501183</adGroupId>
>                     <ad xmlns:ns2="
> https://adwords.google.com/api/adwords/cm/v201309"; xsi:type="ns2:TextAd">
>                         <ns2:id>41948062343</ns2:id>
>                         <ns2:url>
> http://bravo.ticketsnow.co.il/announce/20538</ns2:url>
>                         <ns2:displayUrl>bravo.ticketsnow.co.il/כרטיסים 
> <http://bravo.ticketsnow.co.il/%D7%9B%D7%A8%D7%98%D7%99%D7%A1%D7%99%D7%9D>
> </ns2:displayUrl>
>                         <ns2:headline>{KeyWord:יפעת פרג אשטה 
> כרטיסים}</ns2:headline>
>                         <ns2:description1>בתאריך 06/07, כרטיסים ב- 100 
> ₪.</ns2:description1>
>                         <ns2:description2>תזמינו כרטיסים עכשיו 
> !</ns2:description2>
>                     </ad>
>                     <status>ENABLED</status>
>                 </operand>
>             </operations>
>         </mutate>
>     </soapenv:Body>
> </soapenv:Envelope>
>
> 2014-06-04 15:57:45 soapXmlLogger [WARN] SOAP Response:
> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>     <soapenv:Body>
>         <soapenv:Fault>
>             <faultcode>soapenv:Server.userException</faultcode>
>             <faultstring>java.net.SocketException: Connection 
> reset</faultstring>
>             <detail>
>                 <ns1:stackTrace 
> xmlns:ns1="http://xml.apache.org/axis/";>java.net.SocketException: 
> Connection reset
>  at java.net.SocketInputStream.read(SocketInputStream.java:189)
> at java.net.SocketInputStream.read(SocketInputStream.java:121)
>  at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
> at sun.security.ssl.InputRecord.read(InputRecord.java:480)
>  at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
> at 
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
>  at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
> at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
>  at 
> org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
> at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
>  at 
> org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
> 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.ads.adwords.axis.v201309.cm.AdGroupAdServiceSoapBindingStub.mutate(AdGroupAdServiceSoapBindingStub.java:1185)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
>  at 
> com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:109)
> at 
> com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:175)
>  at 
> com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:64)
> at 
> com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:93)
>  at com.sun.proxy.$Proxy33.mutate(Unknown Source)
> at 
> gapi.adwords.AdWordsAPIServicesImpl.addTextAd(AdWordsAPIServicesImpl.java:1044)
>  at mngb.management.TextAdUpdate.update(TextAdUpdate.java:91)
> at main.RunTextAdUpdate.main(RunTextAdUpdate.java:57)
> </ns1:stackTrace>
>                 <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/
> ">gspc01</ns2:hostname>
>             </detail>
>         </soapenv:Fault>
>     </soapenv:Body>
> </soapenv:Envelope>
>
> 2014-06-04 15:57:45 TextAdUpdate [ERROR] Ad group id : 14024501183 and 
> name : 20538
> 2014-06-04 15:57:45 TextAdUpdate [ERROR] 
> gapi.adwords.AdWordsAPIServicesException: java.net.SocketException: 
> Connection reset
> 2014-06-04 15:57:45 TextAdUpdate [INFO] Sleep : 35000
>
> 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to