Questions tagged [connection-close]
37 questions
1
vote
1 answer
WebSocketSharp with BinanceAPI
I have a connection with binanceApi and I have a disconnect problem,
the API disconnects and I don't know the reason, I wanna keep the connection alive until I have the orders in position. I will post my code, maybe someone can help me.
I already…

Alexandre Matsumura
- 11
- 2
1
vote
1 answer
How to exec code after res.send() in express server at Firebase cloudFunctions
I'm building an express server using the cloud functions, but I facing a problem with res.send().
In a common express server I can exec some code after res.send() but at my express server using the Firebase cloudFunctions res.send() closes my…

Lucas Andrade
- 4,315
- 5
- 29
- 50
1
vote
1 answer
Segmentation fault when trying to save entity
I'm using Apigility for creating an API and Doctrine as ORM. The following code generates a segmentation fault at flush() time (I removed some of the validation I made):
class AdvertisersResource extends AbstractResourceListener
{
public…

Stefan Sandulescu
- 153
- 1
- 7
1
vote
1 answer
Connection closed: Multiple node apps connecting to same MongoDB server using Mongoose
I have two node servers running on a single box (ports 3030 and 3031) and am trying to connect to the same MongoDB server (different databases) using Mongoose, but it only lets one application connect and the other one fails. I've tried:
// App…

tjoshi
- 11
- 3
1
vote
2 answers
PHP close connection and continue execution background
I want to continue the execution of the script after closing the connection.
Here is what i tried ..
log_message('debug','Test started' );
//Show all errors
error_reporting(E_ALL);
//Configurations
@ini_set("output_buffering",…

Red
- 6,230
- 12
- 65
- 112
0
votes
1 answer
Connection Dropped when sending large response from vb.net web service
I have a VB.net web service that returns JSON that works fine. Once the response gets to a certain size though, the client browser says that the server has closed the connection and sent no data. This is true using IE, Chrome, or Firefox. The…

user1236775
- 21
- 2
0
votes
0 answers
how fastcgi close the connection between client and nginx
My application tructure is client ->nginx(keepalive open) -> fastcgi, and I need fastcgi control the connection close or keep-live. I tried to close the connection between clinet and nginx by these 2 attempt.
by return response header…
0
votes
2 answers
Angular API Call on C# Web API Cors Exception
I am trying to make an API Call on my C# Web API from my Angular Frontend.
I have tried it by HTTP and HTTPS.
HTTP: I am getting a CORS exception
HTTPS: I am getting a CONNECTION CLOSED EXCEPTION
I also have tried it via Postman and it worked so the…
0
votes
2 answers
How to list opened sql server connections and close the specific one
We have a remote SQL server and c# ERP client programs that use it. Sometimes people are opening the program and forget to close it. In that situation, their SQL connections are staying opened and I won't be able to do some operations.
Yes, I can do…
0
votes
1 answer
How to fix connection close issue in synchronised method?
In our application, we are using grails framework and SQL server for database. We have multiple sites and those sites can have multiple users (a few users) and if they are accessing the same method via AJAX that can cause issue so we made the that…

Rajinder.Singh
- 1
- 2
0
votes
0 answers
The underlying connection closed, was working fine last week
I have some software which is consuming information from various other systems that we control.
One of the servers running our software has suddenly stopped talking to two of our sets of services, and gives an error:
The underlying connection was…

Paul Evans
- 17
- 6
0
votes
1 answer
DSRA9110E: Statement is closed occurs inside a Thread's run() in Websphere
I am creating a thread in a web application in the following way. Creating a thread in web application is perhaps not the right thing to do but unfortunately that is how it has been done in my application.
The thread has to call a stored procedure…

Arunabh
- 167
- 1
- 7
- 18
0
votes
2 answers
Opening a (Bluemix) container to all incoming connection
Happy new year 2017!
Hello everybody!
I have some issues when I try to deploy my docker image in a BlueMix container (where cf ic run = docker run)
I can't access the container from web even if the image is running well inside.
I pinged the binded…

Manu
- 352
- 1
- 4
- 14
0
votes
0 answers
What's difference the DB Connection close for performance-testing
all.
I can't speak eng well.. sorry.
I have a problem for DB Connection in java program.
First code is getting each connection for each query.
Second code is just using one connection for every query.
Here is the sample codes.
Example #1
public void…

J-Hyun
- 13
- 2
0
votes
1 answer
Websockets - onclose - server/client - internet connection drop
I have client-server application, client is based on Java Desktop Application, and server is web application with endpoint exposed and deployed tomcat.
Does @OnClose handles below scenarios. Can i send some message to server end point when it comes…

Ankur Singhal
- 26,012
- 16
- 82
- 116