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

update_node with non existing software-version results in misleading error message #938

Open
olavt opened this issue Oct 29, 2024 · 0 comments

Comments

@olavt
Copy link

olavt commented Oct 29, 2024

If I call update_node with a non-existing software_version, I get this error message:

"Fetching software versions from DCL for device with vendor id 4190 product id 17577 failed."

I find this message a bit misleading as it implies that it could not fetch a list of available software versions.

A message like this would have been more concise:

"Software version X for for device with vendor id 4190 product id 17577 was not found in the DCL."

Here are messages from the log for reference:

2024-10-29 18:30:47.902 (MainThread) INFO [matter_server.server.device_controller] Node:1 New software update found: 1.7.110.0 on UpdateSource.MAIN_NET_DCL (current 1.6.102.0).
2024-10-29 18:32:57.265 (MainThread) WARNING [matter_server.server.client_handler] [547543565904] Disconnected: Received error message:
2024-10-29 18:36:00.628 (MainThread) INFO [matter_server.server.device_controller] Node:1 New software update found: 1.7.110.0 on UpdateSource.MAIN_NET_DCL (current 1.6.102.0).
2024-10-29 18:36:31.808 (MainThread) INFO [matter_server.server.device_controller] Node:1 New software update found: 1.7.110.0 on UpdateSource.MAIN_NET_DCL (current 1.6.102.0).
2024-10-29 18:38:06.678 (MainThread) INFO [matter_server.server.device_controller] Node:1 New software update found: 1.7.110.0 on UpdateSource.MAIN_NET_DCL (current 1.6.102.0).
2024-10-29 21:48:13.161 (MainThread) INFO [matter_server.server.device_controller] Node:1 New software update found: 1.7.110.0 on UpdateSource.MAIN_NET_DCL (current 1.6.102.0).
2024-10-29 21:48:27.283 (MainThread) INFO [matter_server.server.device_controller] Node:1 Update to software version 285240833
2024-10-29 21:48:27.430 (MainThread) ERROR [matter_server.server.client_handler] [547544437008] Error while handling: update_node (node 1): Fetching software versions from DCL for device with vendor id 4190 product id 17577 failed.
2024-10-29 21:49:51.262 (MainThread) WARNING [matter_server.server.client_handler] [547544437008] Disconnected: Received error message:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant