PHP Warning: SoapClient::SoapClient(): SSL: Connection reset by peer

2,479 views
Skip to first unread message

bionic

unread,
Apr 19, 2013, 4:52:16 AM4/19/13
to adwor...@googlegroups.com
PHP Warning:  SoapClient::SoapClient(): SSL: Connection reset by peer - refers to line 163 in aw_api_php_lib_3.2.1/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php

Is this an error to do with connection (as it appears) or a non-specific pointer due to a problem in my data, making it time out or something?

Paul Matthews (AdWords API Team)

unread,
Apr 22, 2013, 12:03:28 PM4/22/13
to adwor...@googlegroups.com
Hi Bionic,

Firstly, I'd upgrade to the latest version of the client library as 4.2.2 is now available and check that you're using a non-sunset version of the API.

Secondly. this looks like a configuration error. Given that it's timing out, it's potentially configured to request a non-existant endpoint. So it's worth checking the settings.ini in particular the DEFAULT_SERVER configuration and the SSL configuration.

Regards,

- Paul, AdWords API Team.

bionic

unread,
Apr 29, 2013, 6:47:14 AM4/29/13
to adwor...@googlegroups.com
Thanks Paul,

I wasn't using a sunset version, but anyway I upgraded to 4.2.2 and changed to v201302. After going around the garden and changing a few things, I ended up with exactly the same error. Its quite a long script that has worked absolutley fine in the past and just basically runs through a series of calls to create a campaign, adgroups then ads, then keywords. 

I am working through the ad creating to see why it falls over halfway though.

btw, how can I get a heads up when libraries change etc? I only ever find out when I get a problem.

Thanks

Paul Matthews (AdWords API Team)

unread,
May 9, 2013, 12:58:52 PM5/9/13
to adwor...@googlegroups.com
Hi Bionic,

One main way is subscribing to our Google Plus page. Alternatively if you use git and set our repository as an external dependency, you'll see when updates are happening.

Cheers,

- Paul, AdWords API Team.

Reply all
Reply to author
Forward
0 new messages