Closed hesral closed 1 year ago
file:///app/ring-mqtt/devices/intercom.js:123:14
This does not appear to be the dev branch. If it were dev the URL would be /app/ring-mqtt-dev/device/intercom.js. You should verify that you have the latest docker image and that you are properly setting the BRANCH environment variable for the dev branch, or are you running this in some other way?
What is really strange is that the error you are seeing is not from ring-mqtt itself, but from the mqtt client library, but it's in code that is 100% untouched from the main branch. Full logs would help.
Hmm, interesting, I tried this docker-compose file:
version: "3.7" services: ring-mqtt: build: https://github.com/tsightler/ring-mqtt.git#dev container_name: ring-mqtt restart: always image: tsightler/ring-mqtt ports:
and ran docker compose build which builded stuff and I assumed was using the dev branch from github for the build.
Logmessage state:
Is 5.3.0 not the current dev branch?
Interestingly the error vanished after an automatic restart of the docker container after this error and the ding properly worked by itself again, thus the setup survived the reboot of the complete machine without the need of reauthentification for the first time since May.
Well, you don't have to do all of that to test the dev branch. You can just use the standard Docker image for this project and set "BRANCH" environment variable to "dev" during startup (or add it to Docker compose). The image will then automatically pull down latest dev branch on Docker startup. To revert you just remove BRANCH option.
But yes, your method should also work, it's just that I didn't recognize it because of that. Most people just use the BRANCH feature since that makes it super easy.
I've just done another restart of the whole machine. The issue did not occur again in the container setup. Connection was immediately successfull and no exception occured. Maybe it was a weird timing issue during the first try...
If it repeats, please provide full logs, rather than just the error.
Describe the Bug
Latest version generates an uncaught exception
Steps to Reproduce
install ring-mqtt from dev branch and configure
Expected Behavior
ring-mqtt should start and not generate an error
Log Output
Screenshots
No response
Config File
Install Type
docker
Version
dev branch
Operating System
Ubuntu
Architecture
x86
Machine Details
physical