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

[FR] Improve process when a host ist not reachable to check for updates #4086

Open
mmattel opened this issue Jan 10, 2025 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@mmattel
Copy link

mmattel commented Jan 10, 2025

My Raspberry NW sometimes out of the blue prevents access to external hosts. When this happens, a check for node SW updates fails. This gets logged, see example below.

My FR is, that the code uses a try/catch and the error message adapted accordingly like host/address: xxxx not reachable.

2025-01-09 07:34:47.499 ERROR Z-WAVE-SERVER: Cannot check for firmware updates for node 20: connect EHOSTUNREACH 104.21.16.1:443 (ZW0261)
ZWaveError: Cannot check for firmware updates for node 20: connect EHOSTUNREACH 104.21.16.1:443 (ZW0261)
    at ZWaveController2.getAvailableFirmwareUpdates (/usr/src/app/node_modules/zwave-js/src/lib/controller/Controller.ts:8239:10)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at ControllerMessageHandler.handle (/usr/src/app/node_modules/@zwave-js/server/dist-esm/lib/controller/message_handler.js:224:30)
    at Client.receiveMessage (/usr/src/app/node_modules/@zwave-js/server/dist-esm/lib/server.js:133:62)
Logging to file:
	/usr/src/app/store/logs/zwavejs_2025-01-10.log
@mmattel mmattel added the enhancement New feature or request label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants