Questions tagged [connection-close]
37 questions
15
votes
6 answers
Auto exit Telnet command back to prompt without human intervention ^] quit close exit code 1
I'm running telnet command on a host for a given port (which is open), it returns 0 (success).
For trying telnet manually, I type the following command, then I press control+bracket i.e. ^], then press Enter key, then I get to telnet> prompt, where…

AKS
- 16,482
- 43
- 166
- 258
10
votes
2 answers
closing db connection with django's persistent connection in a multi-threaded script
Django 1.6 introduces a Persistent Connections feature. However I've noticed that exiting a script that uses django's ORM leaves at least some of the connections open on the db side.
Setup: django 1.6.0, postgres 9.2 and psycopg2 2.5.1.
How do you…

Jonathan Livni
- 101,334
- 104
- 266
- 359
8
votes
1 answer
How to know whenever the connection is reset by peer in php?
I have been working lately on building a TCP server using PHP (I know wrong choice to begin with but this is the work standard), so I have reached a point where there is a reliable prototype to do tests on it and it showed good results. at start I…

user1304594
- 81
- 3
5
votes
2 answers
Hibernate connections are not closed even with C3P0 + explicit session.close()
Hibernate connections to MySQL my db are not closing. After clicking 10 times in like 10 second, I get this connection statistics from MySQL Workbench (in my development machine. I'm the only user).MySQL Workbench Server Status
I have those in…

Seregwethrin
- 1,319
- 2
- 13
- 24
4
votes
2 answers
Connection is closed when using Hibernate Search with Spring application
Since I added Hibernate Search on my application, seems that I'm losing the connection from Hikari's pool after some time (it seems to be over than 8 hours)
I've been struggling with this error a full week and I don't really know why it's…

Raphael M.
- 140
- 6
4
votes
2 answers
PHP Close Header
I have an app which connects to my web server and transfers data via XML.
The headers I connect with are:
POST /app/API/Data/Receiver.php HTTP/1.1
User-Agent: Custom User Agent 1.0.0
Accept: text/xml
Content-Type: text/xml
Content-Length: 1580
Host:…

user1611817
- 41
- 2
3
votes
2 answers
No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error:
I got this exception repeatedly. I never close connection in my project. So why this exception?
Also I am trying to close connection but not working.
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed…

Karan
- 557
- 6
- 17
3
votes
1 answer
Python HTTP 599: Connection closed (Tornado)
I'm getting this error:
HTTP 599: Connection closed [E 130405 11:43:14 web:1031] Uncaught
exception GET /networks/1/sensors/1/alarm (127.0.0.1)
while executing the following code:
from tornado.stack_context import ExceptionStackContext
def…

sharkbait
- 2,980
- 16
- 51
- 89
2
votes
1 answer
Spring HikariCP's connection is not closing immediately
I'm using HikariCP.
If I call the use method in MaeilDBService class 3 times(MaximumPoolSize), next time It occurs timed out. MaeilHikariCP - Connection is not available, request timed out after 30001ms. (more detail error information is at the…

hynuah_iia
- 429
- 7
- 14
2
votes
1 answer
Unexpected connection close in HttpClient
I am facing a problem with HttpClient (version 4.5.2) in a web application, I mean, in a multi-threaded way. In normal situation, when a connection request is arrived, a connection is leased from the pool, then used and finally released back to the…

Ferez
- 51
- 1
- 6
2
votes
0 answers
Content-Length header value is not equal to real content length
Trying to close connection with browser and keep php process alive, but browser waiting for the process end. I think that the problem is in real content length. There is my code in ZF1:
ob_end_clean();
header("Connection:…

Alex Rešatniak
- 443
- 1
- 5
- 9
1
vote
0 answers
GridDB: The connection already been lost(NewSQL/NoSQL)
I am attempting to access/create containers, databases, and tables in GridDB using SQL and GridDB Web CLI. However, when I execute the command to show/create the container and write SQL queries, I encounter an error:
This connection has already…

Muhammad Waheed
- 1,048
- 1
- 13
- 30
1
vote
0 answers
Python Requests POST timeout prematurely closed connection
I'm doing some file uploads that sends to an nginx reverse proxy. If I set the python requests timeout to 10 seconds and upload a large file, nginx will report client prematurely closed connection and forward an empty body to the server. If I…

ElJeffe
- 637
- 1
- 8
- 20
1
vote
0 answers
Heroku "Connection closed without response" H13 with golang after http 503
I am really hitting something I don't understand here and would really love some help! Appreciated.
Basically, I have a Heroku app running a basic go server
s := &http.Server{
Addr: ":" + Port,
Handler: handler
}
err :=…

Paul Vidal
- 11
- 1
1
vote
0 answers
How can I close and then reopen async TCP socket in C#?
I'm middle-exp in C# and multi threated apps and I have, a problem with change port when application is runnung (I think the best way is destroy old Socket and open a brand new), but I can't do this.
Below part of my code - WindowsForm app:
…

user1253359
- 71
- 5