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

Unable to access WebUI - "Access to 127.0.0.1 was denied You don't have authorization to view this page" #1321

Open
cbsudux opened this issue Aug 11, 2024 · 1 comment

Comments

@cbsudux
Copy link

cbsudux commented Aug 11, 2024

Hi

This is my first time setting this up. I have a wyze v4 2K camera. I'm running this on my mac.

This is the command I run

docker run --env-file .env -p 1935:1935 -p 8554:8554 -p 8888:8888 -p 5000:5000 mrlt8/wyze-bridge:latest

I pass the WYZE Email, Password, API id and key.

These are my logs

🚀 DOCKER-WYZE-BRIDGE v2.10.1 AARCH64

[WyzeBridge] SET WB_IP to allow WEBRTC connections.
[WyzeBridge] 🔍 Could not find local cache for 'auth'
[WyzeBridge] ☁️ Fetching 'auth' from the Wyze API...
 * Serving Flask app 'frontend'
 * Debug mode: off
[WyzeBridge] WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (0.0.0.0)
 * Running on http://127.0.0.1:5000
 * Running on http://172.17.0.2:5000
[WyzeBridge] Press CTRL+C to quit
[WyzeBridge] 💾 Saving 'auth' to local cache...
[WyzeBridge] [AUTH] WB_AUTH=True
[WyzeBridge] [AUTH] WB_USERNAME=wbadmin
[WyzeBridge] [AUTH] WB_PASSWORD=c*****
[WyzeBridge] [AUTH] WB_API=KGdx84ylWFGmOzvo-****
[WyzeBridge] 🔍 Could not find local cache for 'user'
[WyzeBridge] ☁️ Fetching 'user' from the Wyze API...
[WyzeBridge] 💾 Saving 'user' to local cache...
[WyzeBridge] 🔍 Could not find local cache for 'cameras'
[WyzeBridge] ☁️ Fetching 'cameras' from the Wyze API...
[WyzeBridge] [API] Fetched [1] cameras
[WyzeBridge] 💾 Saving 'cameras' to local cache...
[WyzeBridge] [+] Adding Living Room Cam [HL_CAM4]
[WyzeBridge] [MTX] starting MediaMTX 1.8.4
[WyzeBridge] 🎬 1 stream enabled

I can't connect to the webUI to view the streams. I get a Access to 127.0.0.1 was deniedYou don't have authorization to view this page. error on http://127.0.0.1:5000/ and http://172.17.0.2:5000/ refuses to load.

Please help!

@mrlt8
Copy link
Owner

mrlt8 commented Aug 11, 2024

You should normally get a basic authentication pop up when visiting the webUI, but if it's not working for some reason, you can manually login with with:

http://wbadmin:password@127.0.0.1:5000/ 

Replace password with the username portion of your wyze email (everything before the @ symbol). For the wyze email myEmail123@gmail.com, the default password would be myEmail123.

Another option would be to pass the environment variable WB_AUTH=True to disable authentication.

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