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

WB_AUTH=False doesn't appear to be working #1331

Open
James62370 opened this issue Aug 24, 2024 · 5 comments
Open

WB_AUTH=False doesn't appear to be working #1331

James62370 opened this issue Aug 24, 2024 · 5 comments

Comments

@James62370
Copy link

I have WB_AUTH=False in my docker compose file. Previous version I was able to gain access to the UI, but with the latest release v2.10.2 it's asking for credentials. For some odd reason, even if I enter my credentials I'm unable to login which is why I decided to disable the authentication, can't remember which version, must have been from the release where it was enforced.

Could someone confirm whether or not they are able to disable the web UI authentication for docker compose? Appreciate your help. Currently have gone back to version 2.10.1 since it's been stable for me.

Below is my compose file:

version: '2.4'
services:
wyze-bridge:
container_name: wyze-bridge
restart: unless-stopped
image: mrlt8/wyze-bridge:latest
ports:
- 1935:1935 # RTMP
- 8554:8554 # RTSP
- 8888:8888 # HLS
- 8889:8889 #WebRTC
- 8189:8189/udp # WebRTC/ICE
- 5000:5000 # WEB-UI
environment:
# [REQUIRED] Fill the following two lines:
- WB_AUTH=False
- WYZE_EMAIL=#redacted"
- WYZE_PASSWORD=#redacted"
- API_ID=#redacted"
- API_KEY=#redacted"
- TZ=America/New_York
- ENABLE_AUDIO=True
- FILTER_NAMES=Backyard, West Yard, East Yard, Front Porch
devices:
- /dev/dri:/dev/dri

@mrlt8
Copy link
Owner

mrlt8 commented Aug 25, 2024

WB_AUTH=False seems to be working for me:
auth
Could you try running docker compose down, confirm it's really down and then run the docker compose up command again to make sure it's using the correct docker-compose.yml?

@James62370
Copy link
Author

Appreciate the reply along with your continued support.

I'm running this with ProxMox 8 in a stand alone lxc container along a portainer stack. I tried updating the stack again and for some reason it keeps asking for credentials.

Screenshot 2024-08-25 110130

Please advise if there is anything else I can try.

@James62370
Copy link
Author

Strange that previous version works ok.

Screenshot 2024-08-25 111100

@mrlt8
Copy link
Owner

mrlt8 commented Aug 26, 2024

The page you're seeing is unrelated to WB_AUTH and is actually used to authenticate with wyze.
I'm not sure why 10.2 is failing while 10.1 still works, but can you check the logs to see if the authentication is failing for some reason?

Keep in mind that wyze actively blocks any authentication attempt from commercial VPNs and/or data center IPs, so you may need to temporarily disable any VPNs for the container.

@James62370
Copy link
Author

After getting a new Wyze Key ID and API Key, it appears to be working again.

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

2 participants