-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
TypeError: Cannot read property 'close' of null #1748
Comments
Suddenly can't reproduce. Will post here if it returns. |
I have the same problem on ubuntu config { when i do pm2 stop all i get error XXXX-0 (err): TypeError: Cannot read property 'close' of undefined |
Happened to me once again when I mistakenly ran two Hapi server connections on the same port. Pm2 probably assumes them identical when restarting, and the 2nd throws when trying to close an already closed connection. |
Both stack traces are linking to this line. Does pm2 fail after having this error or only the script? If you had a way to reproduce it'd be lovely, thanks! |
The server is killed:
|
closing in favor of #2061 |
Happens in cluster mode upon server restart.
pm2 version
0.15.9
, Nodev4.2.1
, Windows 7.config:
The text was updated successfully, but these errors were encountered: