-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ECONNRESET error #3517
Comments
@livesankp you said you were using the serialport module on node v4? Did you It's a possibility this is the result of a subtle change somewhere, could you perhaps try looking though https://github.com/nodejs/node/wiki/API-changes-between-v0.10-and-v4 for anything suspect? |
@livesankp can you tell me more about signalr? How are you receiving the data on the server? Are you able to make a minimal example of an application that displays this problem? |
@Fishrock123 npm rebuild is successful. |
@thealphanerd I am using signalr from here http://www.asp.net/signalr |
It might be the same issue as #3595. As for |
I have this as a handler. Error is Fri, 30 Oct 2015 19:25:07 GMT uncaughtException: read ECONNRESET I thought it would be due to signalr so i commented its initialization but still able to reproduce this. I am sure it is due to serialport now. |
Taking my words back for serialport. I re run the program again with commented all code related to jquery ajax service call and signalr and program is not crashing. so looks like it has some issue with continuous long polling connection probably which signalr uses or initial calls done by jquery. |
It's not related directly to long polling. It's caused by any HTTP requests issued by jsdom, whose default settings for HTTP are |
@thorn0 even i am not using process.exit it is terminating the process. Do you know why ? If you know jsdom is the problem can you share jsdom initialization code with me ? |
Just handling |
I had handled too and i commented process.exit line but still it happens. If you don't mind can you show me your jsdom initialization. //jQuery //SignalR added externally, Configuration, Common functions, Constant |
@thorn0 so i run two tests. One for Serialport and One for signalr with jsdom and jquery. When i ran both separately no one failed. But the moment i combined both in same process it stopped. So really confused now why both are not working together. |
Just try disabling keep-alive:
It should help if it's really the same issue as #3595. |
Closing as it does not appear to be an actionable issue. |
Hello,
I have upgraded Nodejs from v0.12 to 4.1.2/4.2.1. I have tried both of this latest version.
I am using signalr.js file for connection to server. Running node.js program on windows which is communicating to serialport using serialport module after getting data over signalr. Everything works but after few message exchange betn client and server using signalr, client program stops and not receiving any messages and i am seeing ECONNRESET error.
Everything was working but after upgrade this broke. Trying to figure out this from past couple of days but stil no luck. Is there anything new i have to configure in my node program related to signalr. Is the signalr long polling connection aborting ?
The text was updated successfully, but these errors were encountered: