-
Notifications
You must be signed in to change notification settings - Fork 175
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
Webclient not working on iOS 15 #1199
Comments
Is there any chance this is another instance of #1197? |
I'm seeing the same thing, both on a self-hosted Glowingbear instance (running a version from late 2020) and the hosted one at glowing-bear.org. This is connecting to WeeChat 2.7.1, with the websocket proxied through Apache. So that's a lot of different things going on. I've done some basic tests with a simple websocket echo server/client proxied through the same Apache instance, so I'm reasonable satisfied this isn't a HTTP/TLS issue. I've found a few references to some possible websocket changes in iOS 15: I think my next step is going to be to try a direct non-encrypted websocket and see if that makes any difference. |
Quickly proxied the WeeChat relay port through SSH locally and tested from the plain HTTP glowing-bear.org, and things are working correctly, so this does seem to be encryption-related somehow. Checking the remote Safari web inspector, the socket does appear to briefly connect, but then errors out. WeeChat logs seem to confirm:
Since the OP seems to be using WeeChat configured directly with a TLS cert and not through a proxy, this feels like an issue specific to GlowingBear, iOS 15, and encrypted websockets? |
Correct I'm not using a proxy. |
A workaround until Apple fixes what seems to be a bug with Go to Settings > Safari > Advanced > Experimental Features, and set NSURLSession Websocket to Off. After that change, Glowing Bear works with my setup of Weechat 3.2.1 / NGINX / TLSv1.2 (via LE) / iOS 15. |
Confirming that NSURLSession Websocket to Off is working as a workaround. |
works for me too. does anyone know if this is safe to turn off? |
I still see that error even with NSURLSession disabled…
its localhost because of the nginx proxy I assume. I run weechat 3.3 on freebsd 13.0, valid SSL cert, using glowing-bear.org and latest.glowing-bear.org I connect from iPad OS 15.1 beta and iOS 15.0.2 I tried connecting with icloud private relay on and off, doesn‘t fix it. Connections from firefox on windows and linux work fine. update one day later: it works right now, I didn‘t change any settings… |
This issue also happens for me on macOS 12 - I fixed it using the same "NSURLSession Websocket" workaround, the "Experimental Features" menu is available through the Develop menu in the menu bar (which must be enabled in the preferences) Edit: This appears to be resolved in macOS 12.4 |
This appears to be resolved in iOS 15.4. |
After upgrading to iOS 15 yesterday, hosted glowing-bear (latest and normal versions) are not working either in Safari or Chrome.
Weechat 3.3, SSL, no TOTP, LetsEncrypt cert.
with latest.glowing-bear, if 2.8 compatibility is enabled, it times out with "relay: authentication failed with client" appearing in the weechat console.
without the compatibility mode, it errors out immediately, but after a few seconds "relay: reading data on socket for client 5/ssl.weechat/xxx.xxx.xxx.xxx: error -54 Error in the pull function." appears in the weechat log
Tried with and without the new iOS "hide ip address from trackers" option
The text was updated successfully, but these errors were encountered: