Hi Danial,

We installed the httpclient gem, but the SSL error still pops up now and 
then.


On Monday, November 19, 2012 3:12:55 AM UTC-5, Danial Klimkin wrote:
>
> Hello Jeremy,
>
>
> It appears you are getting network timeouts. From the stack I can see you 
> are using the Ruby library with net_http adapter. I recommend trying 
> httpclient instead.
>
> All you need to do it to install httpclient gem like:
>   gem install httpclient
>
>
> -Danial, AdWords API Team.
>
>
> On Friday, November 9, 2012 5:02:22 PM UTC+4, Jeremy Aube wrote:
>>
>> Last night at 4:27am ET, we had an ad-hoc campaign performance report 
>> fail with the following error:
>>
>> OpenSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 errno=0 
>> state=SSLv3 read server session ticket A
>> from 
>> /Users/<user>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:799:in 
>> `connect'
>> from 
>> /Users/<user>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:799:in 
>> `block in connect'
>> from 
>> /Users/<user>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/timeout.rb:68:in 
>> `timeout'
>> from 
>> /Users/<user>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/timeout.rb:99:in 
>> `timeout'
>> from 
>> /Users/<user>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:799:in 
>> `connect'
>> from 
>> /Users/<user>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:755:in 
>> `do_start'
>> from 
>> /Users/<user>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:744:in 
>> `start'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/httpi-1.0.0/lib/httpi/adapter/net_http.rb:75:in
>>  
>> `do_request'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/httpi-1.0.0/lib/httpi/adapter/net_http.rb:30:in
>>  
>> `post'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/httpi-1.0.0/lib/httpi.rb:96:in
>>  
>> `block in post'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/httpi-1.0.0/lib/httpi.rb:193:in
>>  
>> `with_adapter'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/httpi-1.0.0/lib/httpi.rb:94:in
>>  
>> `post'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/google-ads-common-0.8.0/lib/ads_common/http.rb:52:in
>>  
>> `post_response'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/google-ads-common-0.8.0/lib/ads_common/auth/client_login_handler.rb:151:in
>>  
>> `generate_token'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/google-ads-common-0.8.0/lib/ads_common/auth/client_login_handler.rb:119:in
>>  
>> `create_token'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/google-ads-common-0.8.0/lib/ads_common/auth/base_handler.rb:50:in
>>  
>> `get_token'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/google-ads-common-0.8.0/lib/ads_common/auth/client_login_handler.rb:67:in
>>  
>> `auth_string'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/google-adwords-api-0.7.1/lib/adwords_api/report_header_handler.rb:53:in
>>  
>> `headers'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/google-adwords-api-0.7.1/lib/adwords_api/report_utils.rb:177:in
>>  
>> `get_report_request_headers'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/google-adwords-api-0.7.1/lib/adwords_api/report_utils.rb:153:in
>>  
>> `make_adhoc_request'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/google-adwords-api-0.7.1/lib/adwords_api/report_utils.rb:139:in
>>  
>> `get_report_response'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/google-adwords-api-0.7.1/lib/adwords_api/report_utils.rb:57:in
>>  
>> `download_report'
>> from 
>> /Users/<user>/<dist>/<app>/shared/bundle/ruby/1.9.1/gems/google-adwords-api-0.7.1/lib/adwords_api/report_utils.rb:76:in
>>  
>> `download_report_as_file'
>>
>> We're using v201209. In the past we've had this error come up 
>> intermittently, sometimes occurring several times in a row before 
>> disappearing for a few weeks. Currently we're not doing anything to handle 
>> it--I'm not sure if we can just wait 30 seconds and try again--but 
>> everything did work fine when it ran the following hour. Also, based on the 
>> timing, it's possible that it spent a full 7 minutes trying to download 
>> this report before coming up with the error; normally it would complete 
>> nearly instantly.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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



Reply via email to