botwave icon indicating copy to clipboard operation
botwave copied to clipboard

BUG -> No passkey results in a timeout

Open douxxtech opened this issue 8 months ago • 0 comments

📝 Description

If a client tries to register with the no passkey (when one is set), it'll silently timeout.

Additionally, if we try to register with the wrong passkey (but one), it'll say that its the wrong passkey, but still timeout.

💻 Environment

Component

  • [X] Client
  • [X] Server

Operating System

  • [X] Debian-based

Python Version

  • [ ] >= 3.13
  • [ ] 3.12
  • [X] 3.11
  • [ ] <= 3.10

🐞 Steps to Reproduce

  1. Run server with passkey
  2. Try to connect without passkey
  3. OR with a wrong passkey

📄 Logs / Screenshots

  • No passkey:
BotWave - Client

[OK] Found backend at: /opt/BotWave/backends/bw_custom/src/bw_custom
[INFO] Checking for protocol updates...
[OK] You are using the latest protocol version
[CLIENT] Connecting to wss://[REDACTED]:9938...
[OK] WebSocket connected, registering...
[ERR] Registration timeout
  • Wrong passkey:
BotWave - Client

[OK] Found backend at: /opt/BotWave/backends/bw_custom/src/bw_custom
[INFO] Checking for protocol updates...
[OK] You are using the latest protocol version
[CLIENT] Connecting to wss://[REDACTED]:9938...
[OK] WebSocket connected, registering...
[ERR] Authentication failed: Invalid passkey
[WARN] Connection closed by server
[ERR] Registration timeout
[CLIENT] Client stopped

douxxtech avatar Mar 08 '26 12:03 douxxtech