SSL Errors

218 views
Skip to first unread message

mccaccou...@gmail.com

unread,
Oct 10, 2014, 7:11:54 AM10/10/14
to adwor...@googlegroups.com
Hi,

We are using the python adspygoogle package and we are seeing two kinds of SSL errors. Though both these are intermittent, they are not infrequent.

Traceback:
  File "/home/googlelibs/adwords_ops.py", line 2153, in modify_ad
    response = client.GetAdGroupAdService('https://adwords.google.com').Mutate(ad_operations)
  File "/home/googlelibs/lib64/python2.6/site-packages/adspygoogle/common/GenericApiService.py", line 365, in CallMethod
    self._HandleLogsAndErrors(buf, start_time, stop_time, error)
  File "/home/googlelibs/lib64/python2.6/site-packages/adspygoogle/adwords/GenericAdWordsService.py", line 256, in _HandleLogsAndErrors
    raise Error(e)
Error: {'data': SSLError('The read operation timed out',)}

In this case is there anyway the timeout can be increased in the API calls without making changes to the actual adspygoogle code?

In another scenario, we get a lot of SSL errors of the kinds:
SSLError: [Errno 1] _ssl.c:1331: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac
SSLError: [Errno 1] _ssl.c:490: error:0D078094:asn1 encoding routines:ASN1_ITEM_EX_D2I:sequence length mismatch
Error: {'data': SSLError(1, '_ssl.c:490: error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01')}
Error: {'data': SSLError(1, '_ssl.c:490: error:1408C095:SSL routines:SSL3_GET_FINISHED:digest check failed')}
Error: {'data': SSLError(1, '_ssl.c:490: error:04091068:rsa routines:INT_RSA_VERIFY:bad signature')}
SSLError: [Errno 1] _ssl.c:1331: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac

We are using RHEL 6.4. Please let us know if someone has any idea on these. I would like to emphasize that these are intermittent issues but not infrequent.

Thanks for all the help in advance.

Josh Radcliff (AdWords API Team)

unread,
Oct 10, 2014, 2:31:02 PM10/10/14
to adwor...@googlegroups.com
Hi,

Could you open an issue on the library's issues page? You should hear back from the library owners from there.

Cheers,
Josh, AdWords API Team

mccaccou...@gmail.com

unread,
Oct 13, 2014, 3:51:07 AM10/13/14
to adwor...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages