(502)Bad Gateway

92 views
Skip to first unread message

Matta Reddy Mannem

unread,
Feb 28, 2019, 8:26:55 PM2/28/19
to AdWords API and Google Ads API Forum
Hi,
I am seeing below issues frequently from last couple of days while trying to invoke readUserList and mutateMembers respectively. Could you please help me with what can cause this?

Caused by: (502)Bad Gateway
--
  | at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
  | at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
  | at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
  | at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
  | at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
  | at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
  | at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
  | at org.apache.axis.client.Call.invoke(Call.java:2767)
  | at org.apache.axis.client.Call.invoke(Call.java:2443)
  | at org.apache.axis.client.Call.invoke(Call.java:2366)
  | at org.apache.axis.client.Call.invoke(Call.java:1812)
  | at com.google.api.ads.adwords.axis.v201809.rm.AdwordsUserListServiceSoapBindingStub.get(AdwordsUserListServiceSoapBindingStub.java:1091)
  | at sun.reflect.GeneratedMethodAccessor271.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  | at java.lang.reflect.Method.invoke(Method.java:498)
  | at com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:100)
  | at com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:234)
  | at com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:63)
  | at com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:93)
  | at com.sun.proxy.$Proxy90.get(Unknown Source)

org.apache.axis.AxisFault: (502)Bad Gateway
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744) ~[axis-1.4.jar:?]
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) ~[axis-1.4.jar:?]
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) ~[axis-1.4.jar:?]
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) ~[axis-1.4.jar:?]
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) ~[axis-1.4.jar:?]
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) ~[axis-1.4.jar:?]
at org.apache.axis.client.Call.invokeEngine(Call.java:2784) ~[axis-1.4.jar:?]
at org.apache.axis.client.Call.invoke(Call.java:2767) ~[axis-1.4.jar:?]
at org.apache.axis.client.Call.invoke(Call.java:2443) ~[axis-1.4.jar:?]
at org.apache.axis.client.Call.invoke(Call.java:2366) ~[axis-1.4.jar:?]
at org.apache.axis.client.Call.invoke(Call.java:1812) ~[axis-1.4.jar:?]
at com.google.api.ads.adwords.axis.v201809.rm.AdwordsUserListServiceSoapBindingStub.mutateMembers(AdwordsUserListServiceSoapBindingStub.java:1175) ~[adwords-axis-4.1.0.jar:?]
at sun.reflect.GeneratedMethodAccessor337.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_191]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_191]
at com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:100) ~[ads-lib-4.1.0.jar:?]
at com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:234) ~[ads-lib-axis-4.1.0.jar:?]
at com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:63) ~[ads-lib-4.1.0.jar:?]
at com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:93) ~[ads-lib-4.1.0.jar:?]
at com.sun.proxy.$Proxy98.mutateMembers(Unknown Source) ~[?:?]

googleadsapi...@google.com

unread,
Mar 1, 2019, 1:07:32 PM3/1/19
to AdWords API and Google Ads API Forum
Hi Matta,

Could you confirm if the error is encountered on all service calls or just specific calls? Could you also provide the complete SOAP request and response logs when you encountered the error so I could better investigate? You may use the reply privately to author option.

Regards,
Dannison
AdWords API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@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/2569d0e4-7d06-47aa-87e6-2578a88fdf19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

googleadsapi...@google.com

unread,
Mar 1, 2019, 1:07:53 PM3/1/19
to AdWords API and Google Ads API Forum
Hi Matta,

Could you confirm if the error is encountered on all service calls or just specific calls? Could you also provide the complete SOAP request and response logs when you encountered the error so I could better investigate? You may use the reply privately to author option.

Regards,
Dannison
AdWords API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

--

Matta Reddy Mannem

unread,
Mar 5, 2019, 10:08:37 AM3/5/19
to AdWords API and Google Ads API Forum
Hi Dannison,

The issue occurs for calls to different services such as MutateMembers and GetUserList, but not too often. After a good number of successful calls to these services, we notice the error crops up suddenly for a couple of calls. The customer does not have the infrastructure to provide the SOAP request and response logs for now. 

Can you please provide your feedback on possible reasons for these sporadic failures?

Thanks & Regards,
Matta
Reply all
Reply to author
Forward
0 new messages