LithApp / Lith

Multiplatform, mobile-focused WeeChat relay client
https://lith.app
GNU General Public License v2.0
75 stars 7 forks source link

Lith says "Connected" for 1min until it times out if SSL enabled but not available #81

Open chinese-soup opened 3 years ago

chinese-soup commented 3 years ago

If SSL is not enabled in weechat (/relay add weechat 9000), but is checked in Lith settings the app just says "Connected" until it times out (for me it's around 1 minute), then it finally shows the disconnect message and retries after a few seconds.

On connect: image After timeout: image

The weechat console says "waiting for authorisation" which is probably why Lith thinks it's "connected"

02:56:19           weechat     │ relay: new client on port 9001: 3/weechat/127.0.0.1 (čekám autorizaci)
02:57:20           weechat   ⚠ │ relay: authentication failed with client 3/weechat/127.0.0.1

Expected behavior: tell the user anything else than "Connected" I guess, if it's possible.