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

(Re)connect not reliable on iOS 16 #1222

Open
Minnozz opened this issue Sep 17, 2022 · 4 comments
Open

(Re)connect not reliable on iOS 16 #1222

Minnozz opened this issue Sep 17, 2022 · 4 comments

Comments

@Minnozz
Copy link
Contributor

Minnozz commented Sep 17, 2022

I have installed https://latest.glowing-bear.org as an application on my iPhone home screen. When I open the application, Glowing Bear won't automatically (re)connect since upgrading to iOS 16. Tapping the Connect button or the reconnect banner works, but sometimes this results in a double connection (messages I post appear twice in the chat history).

@lorenzhs
Copy link
Member

Hm, I can connect fine with iOS 16 but autoconnect doesn't work for me either. And after disconnecting I always see a connection error (even though it connected fine and worked fine). Can someone with a mac help out by getting the console output from the phone? Maybe this even reproduces on the new macOS as well?

@Minnozz
Copy link
Contributor Author

Minnozz commented Oct 23, 2022

The experimental WebKit feature NSURLSession WebSocket seems to be the cause. (Re)connecting works again when I set the toggle to off.

I believe Apple changed the default to on in iOS 16.

@Minnozz
Copy link
Contributor Author

Minnozz commented Sep 19, 2023

The feature flag is no longer present in iOS 17, so disabling it as a workaround is nice longer an option.

@Minnozz
Copy link
Contributor Author

Minnozz commented Oct 6, 2023

I've decided to put my weechat relay behind an Apache reverse proxy. Apache is able to handle the NSURLSession WebSocket requests from iOS where the weechat websocket implementation is not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants