element-web icon indicating copy to clipboard operation
element-web copied to clipboard

Infinite spinner after logging in, closing and re-opening tab, missing access token

Open mattvenn opened this issue 6 months ago • 3 comments

Steps to reproduce

Login always fails for me. This is what happens.

Image

If I go to the highlighted URL I see this:

Image

I can logout, then login, do the verification from the phone app and then I am logged in until I close the page. Then the cycle repeats and I have to logout, re-verify.

Outcome

What did you expect?

To be able to login

What happened instead?

Hang forever

Operating system

Ubuntu 24

Browser information

Chrome Version 136.0.7103.92 (Official Build) (64-bit)

URL for webapp

https://element.fossi-chat.org/

Application version

Element version: 1.11.102 Crypto version: Rust SDK 0.11.0 (404ca47), Vodozemac 0.9.0

Homeserver

https://element.fossi-chat.org/

Will you send logs?

No

mattvenn avatar Jun 12 '25 14:06 mattvenn

Sorry, don't think I understand what you're saying. You are say it hangs when you try to log in but you also say you're able to log in? I really would suggest writing it in simple steps as the template suggests, if possible.

dbkr avatar Jun 19 '25 09:06 dbkr

  1. log in for the first time on web browser
  2. verify with mobile device
  3. works, can access
  4. next day, open the same tab, white screen as posted above that never resolves
  5. click log out
  6. go to 1

So yes I can login, but I'm forced to verify every session with my phone. Does that help?

mattvenn avatar Jun 19 '25 09:06 mattvenn

Thanks, that's clearer.

dbkr avatar Jun 19 '25 10:06 dbkr

Still happening here.

donn avatar Jul 10 '25 16:07 donn

Having the same issue on my instance. Synapse v1.137.0 Element web v1.11.109 Firefox browser

No issues in desktop element client (mac).

megum1n avatar Aug 26 '25 11:08 megum1n

Having the same issue on my instance. Element web v1.11.111 Windows client

Serizao-bzhunt avatar Sep 11 '25 06:09 Serizao-bzhunt

Infinite loading seem be due to this error:

Uncaught Error: Improper sequence: ContentLoaded Action can only be sent once after the widget loaded and should only be used if waitForIframeLoad is false (default=true)
    at ClientWidgetApi.handleContentLoadedAction (ClientWidgetApi.ts:331:19)
    at ClientWidgetApi.handleMessage (ClientWidgetApi.ts:963:33)
    at PostmessageTransport.emit (events.js:153:1)
    at PostmessageTransport.handleRequest (PostmessageTransport.ts:187:14)
    at PostmessageTransport.handleMessage (PostmessageTransport.ts:172:18)
    at PostmessageTransport.ts:148:18

Serizao avatar Sep 19 '25 09:09 Serizao