-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
UnhandledPromiseRejectionWarning: ReferenceError: err is not defined #13
Comments
The log file shows that Homebridge shutdown because it received The earlier errors in the log file are not the cause of Homebridge crashing. They were introduced by 0ef4762 as part of v0.16.2. Their only affect (other than the log messages) is that the appliance is not treated as disconnected when the event stream is disconnected. I will fix them in the next release. As to the |
The SIGTERM at 17:35:58 SHS was me after I discovered the error. After I manually rebooted, the instance was running again.
I now leave the debug mode enabled for homebridge-homeconnect so that I can provide you with better information in the future :-)
👍👍👍 |
I have fixed that error in 0.16.4. Not sure why it would result in Homebridge freezing though. What were the symptoms? |
I will install the update tomorrow because I want to see if the error occurs again. The symptoms were that Journalctl did not perform any update. I found out by a script which searches the homebridge's journalctl for certain words like error and sends me a telegram. |
Do you normally see updates in the homebridge log when everything is idle? The log you provided does not show any entries between 02:26:45 and 14:26:44, which is precisely what I would expect. After the initial start-up, this plugin should only issue non-debug log messages when:
With Without In practice the event stream does terminate occasionally, so that results in some log entries (and in particular the errors you saw). However, there isn't a fixed timeout, so the absence of this occurring does not indicate that the plugin has frozen. Unless I am misunderstanding, it sounds like the only issue was the error messages which are understood... |
These screenshots show:
Basically, nothing new here. I am going to close this issue now because I believe that the bug is fixed in v0.16.4. There is nothing that I can do about the Home Connect servers having problems and returning unexpected errors. |
That's what I thought after seeing the message now in DEBUG mode. Wasn't clear yesterday though.
Will do now 😉
Thank you! |
Hello @thoukydides,
my homebridge homeconnect instance crashed today. What surprised me was that the homebridge was not restarted by itself, it just stopped.
I am not sure if the error is known or if it is related to the homeconnect api. Unfortunately I didn't have the DEBUG mode enabled, so I can only show you an excerpt from the journalctl.
I hope it helps you anyway.
Log.txt
King regards
Nastra
The text was updated successfully, but these errors were encountered: