Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Errors #30

Closed
pluto2105 opened this issue Oct 12, 2014 · 1 comment
Closed

SSL Errors #30

pluto2105 opened this issue Oct 12, 2014 · 1 comment

Comments

@pluto2105
Copy link

Posted in adwords API forum. Asked to open an issue here instead.

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.

@msaniscalchi
Copy link
Contributor

Thanks for reporting this.

Just a heads up that you're referring to our legacy libraries. It would be better if this were reported in the correct repository, so I will close this issue.

That said, the legacy Python libraries are deprecated and will be sunset pretty soon. We'll take a look into this, but work on the legacy python libraries has low priority at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants