Failed to get authToken. Reason: Unknown SSL protocol error in connection to accounts.google.com:443

1,743 views
Skip to first unread message

Mahesh

unread,
Mar 29, 2013, 5:21:07 AM3/29/13
to adwor...@googlegroups.com

Hello All,

I have the Below Error Some times from the Adword Api...

Failed to get authToken. Reason: Unknown SSL protocol error in connection to accounts.google.com:443

I can't get it to fail with any regularity. I will send the same SOAP request twice, maximum time it works, sometimes it fails..

while Pausing the Multiple Campaigns Some time it accure   Not for the all hits...

Details:
Language : PHP
Adwords API version : v201302

Any One have a Solution Please ...?


Mahesh

unread,
Apr 3, 2013, 2:22:05 AM4/3/13
to adwor...@googlegroups.com
I am having this error still Any one From the Group have a solution or suggest ?

Anash P. Oommen (AdWords API Team)

unread,
Apr 3, 2013, 6:13:16 AM4/3/13
to adwor...@googlegroups.com
Hi Mahesh,

Looks like a temporary issue with your network. See http://stackoverflow.com/questions/3234140/curl-error-35-unknown-ssl-protocol-error-in-connection for a similar case.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

Will

unread,
Aug 5, 2015, 9:01:11 AM8/5/15
to AdWords API Forum
Hi there,

I know this is an old post, but I've just recently encountered a similar issue after months of no issues successfully using the api.

We have a scheduled job that runs early in the morning (around 4:30 am UK time) and downloads a large campaign report.

Intermittently it will fail, e.g. it worked for two days, then failed on the third (with no changes on our side in between as it was the weekend).

The error returned is "An error has occurred: Unknown SSL protocol error in connection to accounts.google.com:443".  If I run the same job during the day it always seems to work.

I followed the stackoverflow link above, but wasn't entirely sure how to troubleshoot the issue with the information there? I tried adding curl_setopt($ch, CURLOPT_SSLVERSION, 3); // Force SSLv3 to fix Unknown SSL Protocol error, to the report utils file in the client libraries, but the issue persisted.

Environment:
OS: Windows Server
PHP Client Library: 6.2.0
API Version: v201506

Could it be something to do with the time of day the job is running? Any ideas on how to troubleshoot, or perhaps a way to get the client libraries to retry if the above error happens?

Thanks,
Will

Anash P. Oommen (AdWords API Team)

unread,
Aug 6, 2015, 1:00:05 PM8/6/15
to AdWords API Forum
Hi Will,

Could you pls open an issue at https://github.com/googleads/googleads-php-lib/issues? I'll ask the client library owner to follow up with you.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

Reply all
Reply to author
Forward
0 new messages