Skip to content
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

Recurring error messages (every night) #1020

Closed
sschuste opened this issue Dec 31, 2020 · 7 comments
Closed

Recurring error messages (every night) #1020

sschuste opened this issue Dec 31, 2020 · 7 comments
Labels

Comments

@sschuste
Copy link
Contributor

Describe The Bug:

Is it a bug or a feature? For many people I know from a homebridge forum, and also for me, these messages show up in the log every night at the same time:

[30/12/2020, 01:15:58] [Homebridge UI] [homebridge-apple-tv-remote] Failed to check registry.npmjs.org for updates: "timeout of 5000ms exceeded" - see https://git.io/JJSz6 for help.
[30/12/2020, 01:15:58] [Homebridge UI] [homebridge-alexa] Failed to check registry.npmjs.org for updates: "timeout of 5000ms exceeded" - see https://git.io/JJSz6 for help.
[30/12/2020, 01:15:58] [Homebridge UI] [homebridge-cmdtrigger] Failed to check registry.npmjs.org for updates: "timeout of 5000ms exceeded" - see https://git.io/JJSz6 for help.
[30/12/2020, 01:15:58] [Homebridge UI] [homebridge-config-ui-x] Failed to check registry.npmjs.org for updates: "timeout of 5000ms exceeded" - see https://git.io/JJSz6 for help.
[30/12/2020, 01:15:58] [Homebridge UI] [homebridge-delay-switch] Failed to check registry.npmjs.org for updates: "timeout of 5000ms exceeded" - see https://git.io/JJSz6 for help.
[30/12/2020, 01:15:58] [Homebridge UI] [homebridge-calendar] Failed to check registry.npmjs.org for updates: "timeout of 5000ms exceeded" - see https://git.io/JJSz6 for help.
[30/12/2020, 01:15:58] [Homebridge UI] [homebridge-omxplayer] Failed to check registry.npmjs.org for updates: "timeout of 5000ms exceeded" - see https://git.io/JJSz6 for help.
[30/12/2020, 01:15:58] [Homebridge UI] [homebridge-broadlink-rm] Failed to check registry.npmjs.org for updates: "timeout of 5000ms exceeded" - see https://git.io/JJSz6 for help.

This is 0:15 UTC. The list depends on how many plugins are installed.
Of course, I checked the link in the log entry but this isn't too helpful. I completely understand what it says, but I wonder why (all?) homebridge-config-ui-x installations do that at all. It looks to me like npmjs.org doesn't want to respond anymore because of too many hits.

To Reproduce:

hb-service logs | grep "timeout of 5000ms exceeded"

Expected behavior:

n/a

Logs:

see above

Homebridge Config:

Standard stuff. This happens with many, very different configurations.

Screenshots:

Environment:

  • Node.js Version: v14.15.3
  • NPM Version: 6.14.10
  • Homebridge Version: v1.2.5
  • Homebridge Config UI X Version: v4.36.0
  • Operating System: Raspbian
  • Process Supervisor: hb-service in my case. Probably does not matter.
@sschuste sschuste added the bug label Dec 31, 2020
@BitSJ9
Copy link

BitSJ9 commented Jan 2, 2021

hb-service logs | grep "timeout of 5000ms exceeded"
I have the same Timeout after the Backup.
I think its no problem because the Update of the Plugin works in the UI X Plugin without problems.

@sschuste
Copy link
Contributor Author

sschuste commented Jan 4, 2021

Yes, you're right. The backup is created at the same time. And I don't see that as a problem either. I was just curious why the message shows up so regularly in my log (and not only in mine). However, that doesn't mean I understand it now.

@CooperCGN
Copy link

I have the same issue since sometime in December. I haven’t changed anything on my setup,

@habara6
Copy link

habara6 commented Jan 7, 2021

Same "problem" here!

@vzlgdu
Copy link

vzlgdu commented Jan 12, 2021

if you disable backup, the message disappears, so it should be related to the backup function...

@oznu
Copy link
Member

oznu commented Feb 7, 2021

Please try the current test version and see if the timeouts persist.

https://github.com/oznu/homebridge-config-ui-x/wiki/How-To-Test-Upcoming-Changes

@oznu
Copy link
Member

oznu commented Feb 16, 2021

This should happen less often now as the traffic to npm is spread over a 7 hour window. If it does happen on occasion then it's just an informational log and nothing to be worried about.

@oznu oznu closed this as completed Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants