Questions tagged [connect-timeout]

Request timeout middleware for NodeJs Connect/Express.

Times out a request in the Connect/Express application framework.
See https://github.com/expressjs/timeout.

21 questions
0
votes
0 answers

Sockettimeoutexception is thrown after ConnecTimeout

I have request config set like below: RequestConfig requestConfig = RequestConfig.custom() .setConnectTimeout(5000) .setSocketTimeout(10000) .setConnectionRequestTimeout(5000).build(); Then using this config to submit a file to a server…
0
votes
1 answer

The connectionTimeout seems not work after setting the proxy in jodd-http(6.0.2)

Here is my code import jodd.http.*; import jodd.http.net.*; public class JoddQuestion { public static void main(String[] args) { SocketHttpConnectionProvider connectionProvider = new SocketHttpConnectionProvider(); ProxyInfo…
jqian1997
  • 3
  • 1
0
votes
1 answer

ConnectTimeoutError when installing earthengine-api

I have pip 18.1 with python 3.6 and would like to install the earthengine-api so I typed pip install earthengine-api in a command prompt. I got the following error message: Retrying (Retry(total=0, connect=None, read=None, redirect=None,…
Kekes
  • 1
  • 2
0
votes
1 answer

How to change connect_timeout in Azure MySQL

I have Azure MySQL instance (managed instance) and I want to change connect_timeout in server options. When I in MySQL Workbench do SHOW VARIABLES LIKE 'connect_timeout'; The result is 'connect_timeout', '10' the same result I get if I connect to…
0
votes
0 answers

What is the best way to manage Express timouts in 2019?

Running into a situation where requests are crashing on Heroku before as Node process exits, leaving that Node process orphaned — and delivering an ugly Heroku error message. What I think needs happens is: Express needs a timeout set, and once…
GN.
  • 8,672
  • 10
  • 61
  • 126
0
votes
0 answers

expressjs HTTP GET sends error: "ETIMEDOUT", 200

In Express.js, by making some HTTP GET requests, if the operation on the server takes more than 5 seconds, it sends an error: "ETIMEDOUT" (status 200). How can I solve this? I tried to use connect-timeout middleware: var longTimeout =…
WHITECOLOR
  • 24,996
  • 37
  • 121
  • 181
1
2