mrlt8 / docker-wyze-bridge

WebRTC/RTSP/RTMP/LL-HLS bridge for Wyze cams in a docker container
GNU Affero General Public License v3.0
2.67k stars 170 forks source link

can't start wyze bridge #944

Open ibanez78 opened 1 year ago

ibanez78 commented 1 year ago

just today my wye bridge stopped working, when I try to start I get the following:

docker run \ -e WYZE_EMAIL=email \ -e WYZE_PASSWORD=pass \ -p 1935:1935 -p 8554:8554 -p 8888:8888 -p 5000:5000 \ mrlt8/wyze-bridge:latest

I get the following error

after reading some posts 2FA was mentioned so I setup an API key and am trying to add that to my command but still getting the same error

docker run \ -e WYZE_EMAIL=email \ -e WYZE_PASSWORD=pass \ -e API_ID=api id \ -e API_KEY=api key \ -p 1935:1935 -p 8554:8554 -p 8888:8888 -p 5000:5000 \ mrlt8/wyze-bridge:latest

any ideas? thanks for any help

mrlt8 commented 1 year ago

Wyze made some changes to their auth API earlier this year, and you need to update your bridge to v2.3+ which will use the newer endpoints.

ibanez78 commented 1 year ago

thanks for the info, doesn't "mrlt8/wyze-bridge:latest" take the latest version ( I assume 2.3 or higher)?

mrlt8 commented 1 year ago

Yes, but you probably need to pull the latest image with something like this:

docker-compose pull # Pull new image
docker-compose up -d # Restart container in detached mode
docker image prune # Remove old images

Edit just realized you're using docker run, so something like this instead?

docker pull mrlt8/wyze-bridge:latest
ibanez78 commented 1 year ago

thanks, just ran "docker image pull mrlt8/wyze-bridge" and it works now, thanks again. More questions to follow...