L.P.
I have not found a great solution. I ended up patching the adwords library
in a couple of places so that it raises reasonable expceptions and then
modifying our calling code to catch those various exceptions and retrying
the task at hand.
Are you based in the US? What area of the country and who is your ISP?
We're in the Boston area and use Comcast. I'd be curious if you are also
nearby, which would suggest it is an ISP issue. To be honest I haven't
bothered to contact Comcast yet because I'm pretty sure they would just
lead us on a merry go around.
Chris
On Thursday, February 28, 2013 1:18:56 PM UTC-5, lg...@wordstream.com wrote:
Good afternoon,
I use python 2.6, the latest API (adwords_api_python-15.6.2) and also run
the same 'hanging time' issue as what Chris describes. It has been going on
for a little while (about the same time as Chris).
Chris: have you found a remedy to your problem?
Anash: has any one else also inquired ?
Thank you in advance.
Regards,
L.P.
On Thursday, February 14, 2013 9:43:27 PM UTC-5, Anash P. Oommen (AdWords
API Team) wrote:
Hi Chris,
ssl hanging/timeouts usually have to do with the local network or ISP
issues. I'm not aware of any SSL related issues being reported internally
or from other users.
Cheers,
Anash P. Oommen,
AdWords API Advisor.
On Thursday, February 14, 2013 1:08:33 AM UTC+5:30, Chris Palmer wrote:
Since Sunday, we are having a problem where various attempts to make or
read SSL connections to google services are getting hung up. I would say
about 1 in 20 attempts to connect and read data is getting hung. Using the
15.5.0 python client library, with python 2.7.3 (and 2.7.2+)
This issue are happening all over the place in the adwords library:
AuthToken.__Login()
urllib.urlopen() calls to open wsdl and xsd urls
reading data during ReportDownloader.DownloadReport calls
and the hangs can occur both during the do_handshake and reads on the
underlying ssl socket. If left alone the hangs have lasted over an hour, at
which point we have just killed the process.
Additionally we are having similar issues where trying to make ssl
connections to google outside of the adwords library (scraping a couple of
web pages). Which makes me think that there is something larger going on
with the network. Are there any know ssl connection issues with Google
right now?
We didn't originally have a timeout limit set at the socket layer, so we
are able to work around the issue by doing that. But that then gives us
another problem of trying to deal with the multitude of ways the adwords
library handles and propogates (or doesn't) the timeout exceptions. It's
proving very difficult to gracefully handle the timeouts and simply retry
the connection (which generally works right away).
Thanks
Chris
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.