stack trace for the below error
at Google.Api.Ads.Common.Lib.OAuth2ProviderForApplications.RefreshAccessTokenInOfflineMode() at Google.Api.Ads.Common.Lib.OAuth2ProviderForApplications.RefreshAccessToken() at Google.Api.Ads.Common.Lib.OAuth2ProviderBase.RefreshAccessTokenIfExpiring() at Google.Api.Ads.Common.Lib.OAuth2ProviderBase.GetAuthHeader() at Google.Api.Ads.AdWords.Lib.AdWordsSoapClient.InitForCall(String methodName, Object[] parameters) at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, Object[] parameters) at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String methodName, Object[] parameters) at Google.Api.Ads.AdWords.v201506.ManagedCustomerService.get(Selector serviceSelector) at AdwordsReports.Utilities.GetAllMCCAccounts() in c:\Users...mmon.cs:line 919 On Saturday, January 23, 2016 at 4:34:08 PM UTC, PPC Developer wrote: > > I'm running into the same problem with the server side. Our platform is > essentially a server that runs infinitely to download-process-update ad > groups/campigns,etc..the same code runs on multiple server instances on > multiple machines. After 1 day or so, some servers start getting the below > exception. > > Failed to refresh access token > internal_failure > > restarting the server instance works, but that means server instances are > unable to run for more than 1-2 days and need recycling. Is there any > solution to this? > > > On Wednesday, January 29, 2014 at 1:45:35 PM UTC, rohit wrote: >> >> Hi, >> >> Can someone from the AdWords team please help with resolving this issue. >> It has been happening every day for the past 10 days. >> >> ERROR 2014-01-21 03:30:33 21896 [Vulcan::Google]: >> msg:#<AdsCommon::Errors::AuthError: OAuth2 token refresh failed> >> /home/offers/tracking/shared/bundle/jruby/1.9/gems/google-ads-common-0.9.3/lib/ads_common/auth/oauth2_handler.rb:94:in >> >> `refresh_token!' >> /home/offers/tracking/shared/bundle/jruby/1.9/gems/google-ads-common-0.9.3/lib/ads_common/auth/oauth2_handler.rb:83:in >> >> `get_token' >> /home/offers/tracking/shared/bundle/jruby/1.9/gems/google-ads-common-0.9.3/lib/ads_common/api.rb:113:in >> >> `authorize' >> >> Token just prior to failure from this morning. >> >> :issued_at=>2014-01-29 07:41:50 -0600, :expires_in=>3600, :id_token=>nil >> >> Thanks, Rohit >> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/c25d5781-c633-42b0-98e7-82fdc932ef3e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.