Open oliverhummel opened 9 months ago
Can you check your browser console for any clues? And the Network tab as well (while reproducing the problem).
I can't reproduce the problem right now, as it only used to happen when I didn't login to the system for a few days. I'll try it again in a few days and close this, if it doesn't happen again (Firefox has updated to 122.0.1 in the meantime).
I was a able to reproduce the bug with one login again, please find below the one message that occured on the browser console, although I cannot tell what its relation with Nextcloud might be. The output of the web developer console is also listed below.
The network analysis tab is showing me a Post request (to file "login"), which resulted in an error 303. However, this happens with a successful (second) login as well.
In an buggy first login there appears a redirect like e.g. as follows: https://clousi.hs-mannheim.de/index.php/login?redirect_url=/index.php/apps/files/&direct=1&user=XXXXXX
In a normal login the next connection is to .../apps/dashboard/.
Does this help in any way?
Browser Console:
Unable to find target with innerWindowId:1479616233583 2 watcher.js:188:13
getWindowGlobalTargetByInnerWindowId resource://devtools/client/fronts/watcher.js:188
_getTargetForWatcherResource resource://devtools/shared/commands/resource/resource-command.js:905
_onResourceUpdated resource://devtools/shared/commands/resource/resource-command.js:780
_emit resource://devtools/shared/event-emitter.js:242
emit resource://devtools/shared/event-emitter.js:186
emit resource://devtools/shared/event-emitter.js:330
onPacket resource://devtools/shared/protocol/Front.js:349
onPacket resource://devtools/client/devtools-client.js:471
send resource://devtools/shared/transport/local-transport.js:67
makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103
makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103
Web Developer Console:
JQMIGRATE: Migrate is installed, version 3.4.0 jquery-migrate.min.js:2:969
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. globals.js:59:15
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. globals.js:59:15
Backbone is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:59:15
Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:59:15
Proxying an event bus of version 3.0.2 with 1.3.0 index.es.js:2337:14
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 2 globals.js:59:15
session heartbeat polling started session-heartbeat.js:103:9
⚠️ This issue respects the following points: ⚠️
Bug description
When I open a fresh session with a Mozilla Firefox browser and try to login to Nextcloud the first attempt is completely ignored. The page reloads and when I enter the credentials again, everything works fine. I have noticed this behaviour on two separate Nextcloud instances, we operate at our University. Both are on the latest version (with German language pack).
Unfortunately, I'm not the admin of neither of these instances, but I tried to find a solution with one of the admins who told me that he doesn't even see the login attempt in the logs.
With other browsers (such as Chrome) it seems to work fine. So no idea whether this is a bug in Nextcloud or Firefox, but I decided to start here. ;-)
Steps to reproduce
Expected behavior
I would expect to either get logged in after step 2 or get a bad credentials message.
Installation method
None
Nextcloud Server version
26
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response