Unable to connect to the remote server

3,784 views
Skip to first unread message

Jeremy K

unread,
Feb 7, 2014, 7:48:08 AM2/7/14
to adwor...@googlegroups.com
Hi,
 
Unfortunately I'm getting an error when I try to run GetCampaigns in the c# .net sample that I downloaded from:
 
 
What's frustrating is that a colleague has managed to get this working in ruby and I'm using the exact same parameters (e.g. ClientCustomerId, UserAgent, DeveloperToken) as he is. The first expectation that I get is : "Unable to connect to the remote server". Then the inner exception is: "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond".
 
I've tried this in both v201306 and v201309 but I get the same error.
 
Does anyone have any ideas please as to what's gone wrong?
 
Thank you
 
PS Posted once and my post didn't appear so hoping it doesn't double post

Danial Klimkin

unread,
Feb 10, 2014, 5:23:13 AM2/10/14
to adwor...@googlegroups.com
Hello Jeremy,


Please make sure you can access google servers from the box you are running the app on. You'll need https port (443) to be accessible for *.google.com.


-Danial, AdWords API Team.

Jeremy K

unread,
Feb 10, 2014, 5:27:34 AM2/10/14
to adwor...@googlegroups.com
Hi Danial,
 
Thank you - how do I do that.....is that a new rule needed in Windows firewall?
 
Thanks
Jeremy

Jeremy K

unread,
Feb 10, 2014, 9:55:14 AM2/10/14
to adwor...@googlegroups.com
Hi Danial,
 
As far as I'm aware I can access port 443 for *.google.com
 
I've opened up the windows firewall by adding inbound and outbound rules to be completely sure.
 
Is there anything else that I need to do in order to access 443? Or do you have any other suggestions as to why its not working?
 
Thanks
Jeremy

On Monday, February 10, 2014 10:23:13 AM UTC, Danial Klimkin wrote:

Danial Klimkin

unread,
Feb 11, 2014, 9:50:23 AM2/11/14
to adwor...@googlegroups.com
Hello Jeremy,


Unfortunately we can not advise on the client side setup or network issues. The error message sounds like a networking issue to me. Do you happen to use a proxy / transparent proxy?


-Danial, AdWords API Team.

Jeremy K

unread,
Feb 12, 2014, 10:02:57 AM2/12/14
to adwor...@googlegroups.com
Hi Danial,

Thanks for your reply.

I've been told that yes we do use a transparent proxy. I'm not sure what implication that has. Is there a way around it?

I should add that the guy who got your ruby sample working had no problem. And I've checked that his config settings (e.g. Developer Token/Customer Id) are identical to mine. I just find is strange that it works fine in ruby but not .net.

Do you have any other ideas as to what I can do next / what could be causing the problem?

Thanks
Jeremy


On Tuesday, February 11, 2014 2:50:23 PM UTC, Danial Klimkin wrote:

Danial Klimkin

unread,
Feb 13, 2014, 4:53:30 AM2/13/14
to adwor...@googlegroups.com
Hi Jeremy,


It's not much we can help here with unfortunately, as the issue is your local configuration. It is possible ruby picks up some local proxy settings, or dot net picks up some "wrong" settings.

I suggest checking with your network administrator.


-Danial, AdWords API Team.

Jeremy K

unread,
Feb 14, 2014, 4:06:42 AM2/14/14
to adwor...@googlegroups.com
Hi Danial,
 
I've now made some progress - it seems that it works when connected to Wifi, but not when connected through the network.
 
So the network administrator is looking into this. However, he asked is there a specific URL that we need to unblock? e.g. something.google.com?
 
Thank you
Jeremy

Jeremy K

unread,
Feb 19, 2014, 12:13:50 PM2/19/14
to adwor...@googlegroups.com
This is resolved now by addressing the transparent proxy issues. Thanks for your help Danial

Ashley Xu

unread,
Jul 8, 2014, 1:56:26 PM7/8/14
to adwor...@googlegroups.com
Hi Jeremy,

Could you please share what did you do to resolve the issue? I am facing the same problem.

Thanks
Ashley

Bikram Bhuyan

unread,
Jul 8, 2014, 7:28:35 PM7/8/14
to adwor...@googlegroups.com
Hi Team,

Could you please share some information what we should to do fix this error? I am facing intermittent issues like sometimes the calls are working and sometimes it is returning timeouts. Any input for fixing this will really help.

FYI - Our calls are working perfectly fine when using the API version "v201309". All these issues started after I migrate the calls to API "v201402".

Thanks,
Bikram.

Manu Neelakandhan

unread,
Jul 18, 2018, 5:01:19 AM7/18/18
to AdWords API and Google Ads API Forum
Hi Jeremy,
Could you please share the findings so that It will be helpful for many. I'm also facing the same issue while using google recaptcha API.

Regards,
Manu A N
Reply all
Reply to author
Forward
0 new messages