zulip / zulip-desktop

Zulip Desktop client for Mac, Windows and Linux.
https://zulip.com/apps
Apache License 2.0
837 stars 421 forks source link

App hanging on start #1338

Open lascimmia opened 11 months ago

lascimmia commented 11 months ago

Describe the bug

On 2 of 4 identical PC with Zulip Desktop installed the app hangs on start, before the login mask, on the spinning wheel.

How to reproduce

It always happen on 2 PC, never on the other 2.

Expected behavior

Let me insert my credentials

Screenshots

None

Desktop (please complete the following information):

Additional context

Tried to delete and reinstall the app, deleting Zulip directories in %appdata% Local and Roaming.

alya commented 11 months ago

Thanks for the report! I started a discussion in the development community.

timabbott commented 11 months ago

Check your firewall -- can the affected computers access the Zulip server in a web browser?

fantasticole commented 1 month ago

I'm not sure if this is the same root cause, but I had what sounds like the same issue yesterday on Mac. When I opened Tools > Toggle Devtools I saw this following error:

Uncaught (in promise) ZodError: [
  {
    "code": "invalid_type",
    "expected": "boolean",
    "received": "null",
    "path": [],
    "message": "Expected boolean, received null"
  }
]

I was able to resolve it by deleting the app and the Application Support folder and reinstalling the app. That allowed me to load the login screen and sign in. I had previously tried deleting and redownloading the app alone and that did not work.

One extra bit of information that may be relevant is that I had originally had an old version of Zulip downloaded from years ago (not sure which version). I initially tried opening that and it wouldn't even bring a window up. Subsequently replacing that with the current version landed me on the spinning page.

screenshot