My web application is running on a dedicated linux server located at a major hosting company. It needs to connect to an API provider, but libCurl always reports a connection timeout. I've boiled it down to the simplest test I can, which is to make a request with no payload via CLI curl. From our server, it always times out:
[linesk5@millenniumfalcon home]$ curl --connect-timeout 5 https://gateway.transit-pass.com/servlets/TransNox_API_Server
curl: (28) Connection timed out after 5001 milliseconds
The identical command issued from any other machine I've tested always gives a response:
[Steves-MBP:home $] curl --connect-timeout 5 https://gateway.transit-pass.com/servlets/TransNox_API_Server
<?xml version='1.0'?><InfoNox_Interface><Status><Code>911</Code><Message>Message not supported</Message></Status></InfoNox_Interface>
I've consulted support for our service provider, and they tell me that destination is not being blocked by our firewall. And so far support for the destination domain is telling me they do not see any connection attempts and they don't do any whitelisting or blacklisting.
Is it even feasible that something in between the two servers could be blocking the traffic? What tools or techniques might I use to troubleshoot this further? My gut says there must be something on their end that is causing connections from our server to be ignored, but I don't don't have any evidence to provide them to back it up.
I ran traceroute
on both the server and my local machine, and the nature of the output didn't seem to differ in any significant way...
Last few hops from my server:
3 * * *
4 * * *
5 * * *
6 * TOTAL-SYSTEM-SERVICES-LLC.customer.alter.net (152.179.178.254) 10.354 ms *
7 * * *
8 * 12.122.108.125 (12.122.108.125) 11.750 ms 11.827 ms
9 * 12.116.151.54 (12.116.151.54) 11.629 ms 11.634 ms
10 * * * // repeats forever
Last few hops from my workstation:
9 sea-b3-link.ip.twelve99.net (62.115.139.133) 7.258 ms 7.738 ms 7.764 ms
10 * * *
11 verizon-ic-356975-sea-b2.ip.twelve99-cust.net (213.248.94.149) 9.323 ms 8.616 ms 9.736 ms
12 * * *
13 * * *
14 0.ae1.gw3.phx2.alter.net (140.222.227.251) 42.390 ms
0.ae2.gw3.phx2.alter.net (140.222.227.253) 39.289 ms 39.829 ms
15 total-system-services-llc.customer.alter.net (152.179.178.254) 43.472 ms 41.972 ms 40.418 ms
16 * * * // repeats forever