Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7
Restart after Server Error#26
-
Is there a way to restart the server after an error without closing and restarting my c# application? If not, is there any other way to recover from a ZWaveJS.NET server error? |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 2 replies
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I do believe I implemented a
Using this will bring it down, and you will need to fire up a new instance of this class to start over. I need to bring this package up to the latest API level, so any input is welcome |
BetaWas this translation helpful?Give feedback.
All reactions
-
The driver does go through the destroy process. Any attempt to destroy it again after fatal error gives an error. If I try to create another instance of the driver after a fatal error the server doesn’t fully complete its startup. Not sure if the port 50001 is being released or not. I have been trying to find a way to check. Thinking about it, the server my be running from a previous crash and an attempt to start the driver again works momentarily and then causes the fatal error. Is there a way to check and stop it or reconnect? |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Could you provide me a stack trace of a fatal error? A fatal error should only occur during driver start up. Line 43 inffb4f89
These are handled later here, where a fatal error event is emitted for the frontend app to restart everything (but not before calling
The
Line 47 inffb4f89
You could go for broke and kill the image
|
BetaWas this translation helpful?Give feedback.