You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing chip-tool and connecting avahi-observe and bluez, I can successfully commissioning and controlling the matter device, but I can't run chip-tool as a background service.
The command I used was sudo chip-tool interactive server and I encountered the following error, the key error is listen failed with error 1.
However, the chip-tool I built using CHIP source code does not encounter any errors and starts normally, so I'm wondering if this is due to the snap program needing extra permissions or parameters?
For example, is it possible to not have permission to write to InteractiveCommands.cpp causing a runtime failure? If so, I wonder if I need to add similar code inside snapcraft.yaml#L90?
The source code for this command is located in InteractiveCommands.cpp, the purpose of which is to start a websocket service and accept connections and command requests.
For example, is it possible to not have permission to write to InteractiveCommands.cpp causing a runtime failure? If so, I wonder if I need to add similar code inside snapcraft.yaml#L90?
The application already has access to write under /tmp. This is a per-snap temporary directory.
The reason for mapping that path in the reference code is to make Chip Tool's storage and configuration persisted.
From the logs, it looks like the server is trying to listen on a port:
After installing chip-tool and connecting avahi-observe and bluez, I can successfully commissioning and controlling the matter device, but I can't run chip-tool as a background service.
The command I used was
sudo chip-tool interactive server
and I encountered the following error, the key error islisten failed with error 1
.However, the chip-tool I built using CHIP source code does not encounter any errors and starts normally, so I'm wondering if this is due to the snap program needing extra permissions or parameters?
For example, is it possible to not have permission to write to InteractiveCommands.cpp causing a runtime failure? If so, I wonder if I need to add similar code inside snapcraft.yaml#L90?
The source code for this command is located in InteractiveCommands.cpp, the purpose of which is to start a websocket service and accept connections and command requests.
interactive_server.txt
The text was updated successfully, but these errors were encountered: