Questions tagged [connection-timeout]

When a process attempts to connect to a remote service, and fails to do so after a predetermined period of time.

738 questions
12
votes
1 answer

how to set connection/request timeout for jetty server?

I'm running an embedded jetty server (jetty 6.1.24) inside my application like this: Handler handler=new AbstractHandler() { @Override public void handle(String target, HttpServletRequest request, …
Hung Duong
  • 121
  • 1
  • 1
  • 4
12
votes
1 answer

Set connection timeout for Parse queries

I'm testing a query on Parse using the findInBackground() method under different connection types. When connection is not available, there are times in which the done() callback returns, as expected, the following exception after few…
TheUnexpected
  • 2,871
  • 5
  • 25
  • 58
11
votes
6 answers

PHP MySQL set Connection Timeout

There are certain posts on MySQL connection set time out from PHP using mysql.connect_timeout. I want to know if this set timeout from PHP just time out the initial connection to MySQL or valid for a particular query to database? My case here is…
kb0000
  • 387
  • 2
  • 5
  • 17
11
votes
6 answers

How to add CommandTimeout to connection string in web.config

How to add CommandTimeout to connection string in web.config? I tried:
user833102
10
votes
4 answers

distributed load testing on aws with jmeter

I have been trying to setup aws ec2 machines for load testing of my web server using jmeter but I am stuck. I have a jmeter client on my local machine and I want to set up multiple jmeter-server nodes on ec2 to do the load testing and I am, thus…
Nitin
  • 280
  • 1
  • 3
  • 12
10
votes
3 answers

MySqlException: Timeout expired - Increasing Connection Timeout Has Had No Effect

I have a query that is taking longer to execute as the database increases in size. The query is optimized and necessary, but my C# Console Application has recently been giving me this error: Unhandled Exception:…
Lonnie Best
  • 6,765
  • 9
  • 44
  • 81
9
votes
2 answers

curl timeout less than 1000ms always fails?

This code always fails (i.e., $result is Boolean false): $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $path); curl_setopt($ch, CURLOPT_HEADER, TRUE); curl_setopt($ch, CURLOPT_NOBODY, TRUE); curl_setopt($ch,…
Trott
  • 52,114
  • 21
  • 134
  • 179
9
votes
1 answer

Safely keeping MySQL connections alive

I'm working on a node.js application that connects to a MySQL server. The following likely isn't node.js-specific, though. Currently, my code initializes a MySQL connection at the application start-up, and then it uses that connection every time it…
Josh1billion
  • 14,554
  • 8
  • 33
  • 45
9
votes
5 answers

How to fix FastCGI timeout issues in Plesk?

PHP support is currently set to: run as Fast CGI. I keep getting these errors in my server log: mod_fcgid: read data timeout in 45 seconds Premature end of script headers: index.php Should be quick fix I think, but I cant find the file to edit. Is…
Gary
  • 91
  • 1
  • 1
  • 3
8
votes
1 answer

How to increase the connection timeout to a remote ipython notebook server?

I use ipython notebook on the browser of my laptop that connects to a remote ipython notebook server in my office. The problem is that if the network is down for a very short period, the connection will be closed. Then to reconnect to the server, I…
eric.li
  • 228
  • 3
  • 9
8
votes
3 answers

Oracle Data Provider for .NET: Connection request timed out

We have a C# WCF web service hosted on Windows 2008 SP2/IIS 7 accessing an Oracle database. Usually data access works fine but during load testing, it often times out and logs and exception saying: Error occurred when processing XXXXXXXX Web…
DjD
  • 121
  • 1
  • 2
  • 5
7
votes
1 answer

URLSession dataTask timeout error

I am currently experiencing some issues regarding the URLSession, while trying to post data to my web server. This however, works perfectly. What seems to not work, is the timeout I have set. This is rather crucial for my whole app, as I don't want…
askaale
  • 1,067
  • 1
  • 19
  • 41
7
votes
1 answer

Node.js Server Timeout Problems (EC2 + Express + PM2)

I'm relatively new to running production node.js apps and I've recently been having problems with my server timing out. Basically after a certain amount of usage & time my node.js app stops responding to requests. I don't even see routes being fired…
Eugene
  • 1,239
  • 2
  • 17
  • 22
7
votes
3 answers

VirtualBox guest not getting ip address assigned by Vagrantfile

Upon vagrant up, the guest box is getting assigned the wrong IP address and causing the following error: ... ... SSH address: 127.0.0.1:2222 serverbox: SSH username: vagrant serverbox: SSH auth method: private key serverbox: Warning: Connection…
earth2jason
  • 650
  • 7
  • 20
7
votes
1 answer

Preventing a 'heartbeat timeout' with websockets and SocketIO

I am using NodeJS and SocketIO for my websocket solution. It works fine, but after a few minutes, my socket server always times out with the following messages in my console: debug - fired heartbeat timeout for client info - transport end
Bachalo
  • 5,885
  • 22
  • 86
  • 175
1 2
3
49 50