Master email marketing fundamentals. Join the Ready, Set, Send Challenge Week 2!

Using .NET API, getting Unable to Connect to Remote Server error

SOLVED
Go to solution
Jennifer_Smits
Campaign Collaborator
0 Votes

Hello,

 

We have finished a solution that uses the .NET API that you provide. When working on a system outside of our main network, I was able to get everything working as expected. However, when I tried to test the code inside of our main network, I received an "Unable to Connect to Remote Server" error on the first line that tries to use an API call.

 

I read another post with the same problem, and tested the method of going to the following URL to make sure that I could connect properly and I could:

 

https://api.constantcontact.com/ws/customers/your-username/contacts

 

Unforunately I didn't see a resolution to the issue on that thread. Here is the link to that page:

 

http://community.constantcontact.com/t5/Developer-Support-ask-questions/No-connection-could-be-made/...

 

If you can point me in the direction so that we can clear this seemingly last hurdle I would greatly appreciate it.

 

Thanks!

1 ACCEPTED SOLUTION
Jennifer_Smits
Campaign Collaborator
0 Votes

Hi Shannon,

 

The issue was on our end and has been resolved. I'll mark this thread as solved.

View solution in original post

4 REPLIES 4
Shannon_W
Employee
0 Votes

Hi,

 

Sorry you're having difficulty reaching us.  Can you open a command line and run a traceroute to api.constantcontact.com?  A trace route should show where the connection is failing.

 

Best Regards,

Shannon W.

API Support Specialist

Jennifer_Smits
Campaign Collaborator
0 Votes

Hi Shannon,

 

Thanks for your prompt response. I think that the problem is on our end due to our firewall settings and we're working to try and resolve it. Here is the traceroute just in case:


Tracing route to api.constantcontact.com [208.75.122.62]
over a maximum of 30 hops:

  1    <1 ms    <1 ms    <1 ms  199.136.107.1
  2    <1 ms    <1 ms    <1 ms  199.136.98.46
  3    <1 ms    <1 ms    <1 ms  199.136.98.2
  4    <1 ms    <1 ms    <1 ms  199.136.102.2
  5     *        *        *     Request timed out.
  6     *        *        *     Request timed out.
  7     *        *        *     Request timed out.
  8     *        *        *     Request timed out.
  9     *        *        *     Request timed out.
 10     *        *        *     Request timed out.
 11     *        *        *     Request timed out.
 12     *        *        *     Request timed out.
 13     *        *        *     Request timed out.
 14     *        *        *     Request timed out.
 15     *        *        *     Request timed out.
 16     *        *        *     Request timed out.
 17     *        *        *     Request timed out.
 18     *        *        *     Request timed out.
 19     *        *        *     Request timed out.
 20     *        *        *     Request timed out.
 21     *        *        *     Request timed out.
 22    14 ms    14 ms    14 ms  api.constantcontact.com [208.75.122.62]

Trace complete.

Jennifer_Smits
Campaign Collaborator
0 Votes

Hi Shannon,

 

The issue was on our end and has been resolved. I'll mark this thread as solved.

Shannon_W
Employee
0 Votes

Thank you for the update.  I appreciate it.

 

Best Regards,

Shannon W.

API Support Specialist

Resources
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up