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

Can't connect to a self-hosted zulip server after the latest update #4287

Open
shynie opened this issue Oct 26, 2020 · 4 comments
Open

Can't connect to a self-hosted zulip server after the latest update #4287

shynie opened this issue Oct 26, 2020 · 4 comments

Comments

@shynie
Copy link

shynie commented Oct 26, 2020

After updating to v27.156 on iOS I can't connect to our zulip server, the app is stuck on connecting to server. If I use browser, everything works just fine.
I tried connecting from different networks, tried reinstalling zulip but without much luck. After reinstalling it let me log in but now all I see when I open the app is a splash screen with the loading animation.

@chrisbobbe
Copy link
Contributor

Thanks for the report! Yikes, those are bad symptoms.

Do you have any accounts on other realms; for example, on chat.zulip.org? If so, do you have any trouble connecting to those?

Also, would you mind checking (or asking the person who manages the server to check) what version and commit the server's code is at, and if there's anything special that might be going on with the server? This would be a good starting point to investigate—there might be a quirk on the server that the mobile app has stopped handling well with this version.

@chrisbobbe
Copy link
Contributor

@gnprice, I've just pushed to #4193 and un-marked it as a draft (finally!)—that should at least relieve the symptom of being stuck indefinitely on the loading screen, by having the initial fetch give up at 60 seconds.

@shynie
Copy link
Author

shynie commented Oct 27, 2020

@chrisbobbe chat.zulip.org works fine.
We use pretty old version of zulip - it's v1.8.1. And I don't think there's anything "special" going on :)
In server logs I see two calls to /api/v1/fetch_api_key and /api/v1/register respectively, followed by a bunch of calls to /api/v1/users/me/presence from ZulipMobile.

@timabbott
Copy link
Member

@shynie I'd highly recommend upgrading as 1.8.1 version is old enough that we don't consider it worth testing mobile apps changes against. Modern Zulip is much better, and also 1.8.1 has several important security issues that have been fixed over the last few years.

You can use https://zulip.readthedocs.io/en/latest/production/upgrade-or-modify.html#upgrading-the-operating-system to do the series of upgrades requires to end up on a current release.

(We may still want to investigate a bit to see if we can find a traceback, in case the issue here affects more recent Zulip as well)

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

No branches or pull requests

3 participants