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
209
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
  • 11,838
  • 33
  • 93
  • 146
188
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
  • 10,419
  • 21
  • 76
  • 106
174
votes
10 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,683
  • 3
  • 20
  • 27
70
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,211
  • 2
  • 13
  • 28
66
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…
52
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,170
  • 4
  • 33
  • 53
50
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
  • 59,060
  • 84
  • 230
  • 322
42
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,535
  • 2
  • 12
  • 18
41
votes
7 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…
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,285
  • 2
  • 21
  • 42
35
votes
5 answers

SoapUI: ConnectException: Connection timed out:

i try to send request via REST. I get success response when using firefox rest-client, but in SoapUI i get exception attached below. How to resolve this issue? Thanks. java.net.ConnectException: Connection timed out: connect at …
katrin
  • 1,167
  • 1
  • 13
  • 24
33
votes
7 answers

MySQL Workbench drops connection when idle

I'm using MySQL Workbench 6.3 on my OS X 10.9.5 to manage several cloud databases (hosted on Rackspace), and I get the following issue: When inactive for 5 minutes, the following problems happen: I cannot run any query (error 2013: Lost connection…
Michel Y
  • 331
  • 1
  • 3
  • 5
33
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
  • 27,613
  • 56
  • 154
  • 235
32
votes
4 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.
kqw
  • 17,649
  • 11
  • 61
  • 92
32
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
  • 1,897
  • 5
  • 24
  • 45
1
2 3
49 50