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

Login takes forever

Open mole99 opened this issue 7 months ago • 1 comments

Steps to reproduce

Since around two weeks ago, trying to log into our self hosted server just loads forever. Previously this worked fine.

Image

I then need to click on "Logout" and enter my credentials and recovery key to login. The next time I close and open the tab, this happens again.

It seems that in the background some requests take a long time:

Image

I'm on Firefox 128.9.0esr, but other users have reported the same issue with Safari and Chrome.

The server is hosted and updated by etke, but I can provide logs and data as needed. Currently the latest version v1.11.99 is running.

I appreciate any help!

Outcome

What did you expect?

The login to succeed.

What happened instead?

The login takes forever.

Operating system

Debian Linux

Browser information

Firefox 128.9.0esr but also in other browsers as noted above

URL for webapp

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

Application version

v1.11.99

Homeserver

Synapse v1.128.0

Will you send logs?

Yes

mole99 avatar Apr 29 '25 15:04 mole99

If it helps literally anyone, here's my JavaSccript console log as this issue happens (Safari, but same infinite loading issue also occurs on Firefox):

[Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (element.fossi-chat.org, line 0)
[Error] Refused to load blob:https://element.fossi-chat.org/3eb786ae-2a95-4e92-8bb5-e8551c066c8c because it does not appear in the script-src directive of the Content Security Policy.
[Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (element.fossi-chat.org, line 0)
[Error] Refused to load blob:https://element.fossi-chat.org/36accd7a-8afa-416f-ab3f-ec831b914529 because it does not appear in the script-src directive of the Content Security Policy.
[Error] Unhandled Promise Rejection: ReferenceError: Cannot access uninitialized variable.
	J (init.js:1:79915)
	(anonymous function) (init.js:1:1218117)
	start (init.js:1:1218197)
	instance (init.js:1:1334729)
	./src/stores/widgets/WidgetLayoutStore.ts (init.js:1:1342727)
	l (bundle.js:2:32349)
	./src/utils/WidgetUtils.ts (init.js:1:1400911)
	l (bundle.js:2:32349)
	./src/stores/ActiveWidgetStore.ts (init.js:1:1195830)
	l (bundle.js:2:32349)
	./src/stores/WidgetStore.ts (init.js:1:1222802)
	l (bundle.js:2:32349)
	./src/modules/ModuleRunner.ts (init.js:1:1106687)
	l (bundle.js:2:32349)
	./src/SecurityManager.ts (init.js:1:133764)
	l (bundle.js:2:32349)
	./src/MatrixClientPeg.ts (init.js:1:82027)
	l (bundle.js:2:32349)
	./src/settings/controllers/DeviceIsolationModeController.ts (init.js:1:1184470)
	l (bundle.js:2:32349)
	./src/settings/Settings.tsx (init.js:1:1130285)
	l (bundle.js:2:32349)
	./src/settings/SettingsStore.ts (init.js:1:1168810)
	l (bundle.js:2:32349)
	./src/languageHandler.tsx (init.js:1:1072567)
	l (bundle.js:2:32349)
	./src/vector/init.tsx (init.js:1:1464875)
	l (bundle.js:2:32349)
[Error] Unhandled Promise Rejection: ReferenceError: Cannot access uninitialized variable.
	(anonymous function) (init.js:1:1199310)
[Error] Failed to load resource: the server responded with a status of 404 () (auth_metadata, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (auth_issuer, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (dehydrated_device, line 0)

donn avatar Jun 09 '25 09:06 donn