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.69k stars 174 forks source link

BUG: Login screen asking for Email, Password, Key ID and API key #1342

Open phishsticks opened 2 months ago

phishsticks commented 2 months ago

Describe the bug

When entering my Username, Password, API ID , API Key, I receive the following error before being returned to the login screen.

[WyzeBridge] [API] code='1000' msg='Invalid credentials, please check username, password, keyid or apikey' method=POST path=/api/user/login [WyzeBridge] [API] Clearing credentials. Please try again. [WyzeBridge] Credentials required to complete login! [WyzeBridge] Please visit the WebUI to enter your credentials.

I have confirmed my username & password are correct, including no special characters in the password. I have tried recreating the api key multiple times with no luck. The container is not routed via a VPN and has been confirmed via 'curling' from the container

I am running in docker via unraid with macvlan. Screenshot 2024-09-02 at 9 11 19 PM

Affected Bridge Version

2.10.2

Bridge type

Docker Run/Compose

Affected Camera(s)

Wyze Cam 3

Affected Camera Firmware

No response

docker-compose or config (if applicable)

No response

ThatButters commented 2 months ago

I'm experiencing this same issue

ThatButters commented 2 months ago

Okay after some digging i managed to figure out where I was having issues.

Specifically for me I had to change my login/password I was using for the Web UI login to match this from the documentation:

Credentials are case sensitive. WB_USERNAME will default to wbadmin if not explicitly set. WB_PASSWORD will default to username part of the Wyze email address if not explicitly set. Example: For the email address john123@doe.com, the WB_PASSWORD will be john123.