Score:0

Connection randomly timeouts

br flag

I had to develop an application that makes a request to an external web server and get the response back, sounds easy right? Well no.

The problem is that not all the request I make to that server are correctly routed, by means sometimes the request arrive at destination and other do not (it gives me ECONNTIMEDOUT)

I have tried to use the ping command to that server, and I get the exact behavior as before.

Then I tried using the traceroute command, and it works, sometimes is a bit slow, but it can definitely reach the remote server.

As last thing I tried using Chrome and I saw that it can always reach the server (even with the cache cleared)

All the request are proxied, I get the exact same behavior even without the proxy, since I have tried it from a completely different network (so it is not a their server side slowdown)

I am sure that that is more of a network problem, rather than a programming error.

I was wondering if you have any other suggestion to discover the exact source of the trouble or if I am simply missing something obvious.

Thanks

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.