When a process attempts to connect to a remote service, and fails to do so after a predetermined period of time.
Questions tagged [connection-timeout]
833 questions
234
votes
9 answers
MySQL Workbench: How to keep the connection alive
Error Code: 2013. Lost connection to MySQL server during query
I am using MySQL Workbench. Also, I am running a batch of inserts, about 1000 lines total (Ex. INSERT INTO mytable SELECT * FROM mysource1; INSERT INTO mytable SELECT * FROM…

Omar
- 11,783
- 21
- 84
- 114
217
votes
1 answer
Determine if $.ajax error is a timeout
I'm utilizing the magic of jQuery.ajax( settings ).
However, I'm wondering if anyone has played with the timeout setting much?
I know it's basically for dictating the local time for a request, but can it trigger anything if the timeout is reached? …

coffeemonitor
- 12,780
- 34
- 99
- 149
180
votes
11 answers
Set database timeout in Entity Framework
My command keeps timing out, so I need to change the default command timeout value.
I've found myDb.Database.Connection.ConnectionTimeout, but it's readonly.
How can I set the command timeout in Entity Framework 5 ?

James
- 2,811
- 3
- 25
- 29
78
votes
5 answers
Increasing the Command Timeout for SQL command
I have a little problem and hoping someone can give me some advice. I am running a SQL command, but it appears it takes this command about 2 mins to return the data as there is a lot of data. But the default connection time is 30 secs, how do I…

CHRISTOPHER MCCONVILLE
- 985
- 1
- 8
- 13
74
votes
4 answers
How long will the browser wait after an ajax request?
How long can the browser wait before an error is shown before server answers for request? Can this time be unlimited?

Taras Lukavyi
- 1,339
- 2
- 14
- 29
63
votes
7 answers
Retrofit 2: Catch connection timeout exception
I have the following setup:
final OkHttpClient okHttpClient = new OkHttpClient();
okHttpClient.setReadTimeout(5, TimeUnit.SECONDS);
okHttpClient.setConnectTimeout(5, TimeUnit.SECONDS);
RestAdapter.Builder builder = new RestAdapter.Builder()
…

Jdruwe
- 3,450
- 6
- 36
- 57
60
votes
27 answers
ssh server connect to host xxx port 22: Connection timed out on linux-ubuntu
I am trying to connect to remote server via ssh but getting connection timeout.
I ran the following command
ssh testkamer@test.dommainname.com
and getting following result
ssh: connect to host testkamer@test.dommainname.com port 22:…

urjit on rails
- 1,763
- 4
- 19
- 36
57
votes
3 answers
Sql Alchemy QueuePool limit overflow
I have a Sql Alchemy application that is returning TimeOut:
TimeoutError: QueuePool limit of size 5 overflow 10 reached,
connection timed out, timeout 30
I read in a different post that this happens when I don't close the session but I don't…

QLands
- 2,424
- 5
- 30
- 50
55
votes
6 answers
How to Fix Read timed out in Elasticsearch
I used Elasticsearch-1.1.0 to index tweets.
The indexing process is okay.
Then I upgraded the version. Now I use Elasticsearch-1.3.2, and I get this message randomly:
Exception happened: Error raised when there was an exception while talking to…

Hendra Bunyamin
- 729
- 1
- 7
- 11
53
votes
4 answers
Connection with MySql is being aborted automatically. How to configure Connector/J properly?
I read this advice from error message:
You should consider either expiring
and/or testing connection validity
before use in your application,
increasing the server configured
values for client timeouts, or using
the Connector/J connection…

Roman
- 64,384
- 92
- 238
- 332
51
votes
2 answers
What is a connection timeout during a http request
I have found two explanations on "connection timeout":
The server closes the socket connection when the client doesn't send any bytes to the server during [timeout] seconds. It appears to have some relation to HTTP header (Connection:…

欧阳维杰
- 1,608
- 1
- 14
- 22
49
votes
7 answers
Is it possible to increase CloudFlare time-out?
Is it possible to increase CloudFlare's time-out? If yes, how?
My code takes a while to execute and I wasn't planning on Ajaxifying it the coming days.

the
- 21,007
- 11
- 68
- 101
49
votes
4 answers
Nginx timeouts when uWSGI takes long to process request
I have Nginx + uWSGI for Python Django app.
I have the following in my nginx.conf:
location / {
include uwsgi_params;
uwsgi_pass 127.0.0.1:9001;
uwsgi_read_timeout 1800;
uwsgi_send_timeout 300;
client_header_timeout 300;
…

anishek
- 1,675
- 2
- 13
- 19
39
votes
5 answers
Volley RequestQueue Timeout
RequestQueue mRequestQueue = Volley.newRequestQueue(getApplicationContext());
mRequestQueue.add(new JsonObjectRequest(Method.GET, cityListUrl, null, new Listener()
{
public void onResponse(JSONObject jsonResults)
{
…

Rizvan
- 2,335
- 2
- 23
- 42
36
votes
4 answers
Help troubleshooting SqlException: Timeout expired on connection, in a non-load situation
I have a server hosting a website of mine that has almost zero-traffic.
A few people (< 20) enter the site every day, and a few RSS readers are subscribed to some feeds we put out.
Almost every night, an RSS reader will hit us in the middle of the…

Daniel Magliola
- 30,898
- 61
- 164
- 243