owncloud / client

🖥️ Desktop Syncing Client for ownCloud
GNU General Public License v2.0
1.4k stars 663 forks source link

Linux client stuck on connecting #11925

Open allan2 opened 1 month ago

allan2 commented 1 month ago

Pre-submission Checks

Describe the bug

The Linux client is not able to connect on startup. The GUI starts up properly but gets stuck on connecting.

The only way to trigger working sync is: Account -> Log out -> Log in -> authenticate using browser -> click into existing session in browser -> Linux client now shows connected

Expected behavior

Starting the desktop Linux client should have working sync

Steps to reproduce the issue

No response

Screenshots

The displayed message is Connecting to https://server.com...

linux_client_screenshot

Logs

Client startup HTTP requests

This is a table of HTTP requests made at client start up. Notably, Windows and macOS clients make a request to /konnect/v1/token but the Linux client does not.

Windows

ID Method Status Path
1 GET 200 /status.php
2 GET 200 /status.php
3 GET 200 /.well-known/openid-configuration
4 POST 200 /konnect/v1/token
5 GET 200 /graph/v1.0/me/drives
6 GET 200 /status.php
7 PROPFIND 207 /remote.php/webdav/
8 GET 200 /ocs/v2.php/cloud/capabilities
9 GET 200 /ocs/v2.php/cloud/user
10 GET 200 /app/list
11 GET 200 /ocs/v2.php/cloud/capabilities
12 PROPFIND 207 /dav/spaces/a$a/
13 PROPFIND 207 /dav/spaces/a$a/
14 GET 200 /ocs/v2.php/cloud/user
15 GET 200 /app/list
16 GET 404 /ocs/v2.php/cloud/activity
17 GET 200 /ocs/v2.php/apps/notifications/api/v1/notifications
18 PROPFIND 207 /dav/spaces/a$a/
19 PROPFIND 207 /dav/spaces/a$a/

macOS

ID Method Status Path
1 GET 200 /status.php
2 GET 200 /status.php
3 GET 200 /.well-known/openid-configuration
4 POST 200 /konnect/v1/token
5 GET 200 /graph/v1.0/me/drives
6 GET 200 /status.php
7 PROPFIND 207 /remote.php/webdav/
8 GET 200 /ocs/v2.php/cloud/capabilities
9 GET 200 /ocs/v2.php/cloud/user
10 GET 200 /app/list
11 GET 200 /ocs/v2.php/cloud/capabilities
12 GET 200 /ocs/v2.php/cloud/user
13 GET 400 /app/list
14 GET 404 /ocs/v2.php/cloud/activity
15 GET 200 /ocs/v2.php/apps/notifications/api/v1/notifications
16 PROPFIND 207 /dav/spaces/a$a/
17 PROPFIND 207 /dav/spaces/a$a/

Linux

ID Method Status Path
1 GET 200 /status.php
2 PROPFIND 401 /remote.php/dav/files/myuser/
3 GET 200 /status.php
4 GET 200 /.well-known/openid-configuration

Linux logout/login HTTP requests

After doing the log out and login from the Linux client, sync works again.

ID Method Status Path User Agent Note
1 GET 200 /status.php Linux client startup
2 PROPFIND 401 /remote.php/dav/files/myuser/ Linux client startup
3 GET 200 /status.php Linux client startup
4 GET 200 /.well-known/openid-configuration Linux client startup
5 GET 200 /status.php Linux first request after login clicked. There is no request received from log out click
6 GET 200 /status.php Linux second request after login clicked
7 GET 200 /.well-known/openid-configuration Linux
8 GET 302 /signin/v1/identifier/_/authorize browser
9 GET 200 /signin/v1/identifier browser
10 GET 200 /signin/v1/static/css/main.24ffb332.css browser
11 GET 200 /signin/v1/static/js/681.f1521263.js browser
12 GET 200 /signin/v1/static/js/runtime-main.335884e7.js browser
13 GET 200 /signin/v1/static/js/main.bf94f984.js browser
14 GET 200 /signin/v1/static/js/identifier-main.b9ab2fc1.chunk.js browser
15 GET 200 /signin/v1/static/js/690.07c5b7d6.chunk.js browser
16 GET 200 /signin/v1/static/media/background.7296b9ab.jpg browser
17 GET 200 /signin/v1/static/js/all-i18n-data.a8e8cc22.chunk.js browser
18 GET 200 /signin/v1/static/media/inter.d5c51099.woff2 browser
19 GET 200 /signin/v1/static/js/containers-login.8c59f580.chunk.js browser
20 GET 200 /signin/v1/static/js/378.efee6e8b.chunk.js browser
21 GET 200 /signin/v1/static/js/953.4eca64f4.chunk.js browser
22 GET 200 /signin/v1/static/js/all-i18n-data.a8e8cc22.chunk.js browser
23 GET 200 /signin/v1/static/logo.svg browser
24 POST 200 /signin/v1/identifier/_/hello browser
25 POST 200 /signin/v1/identifier/_/logon browser
26 POST 200 /signin/v1/identifier/_/consent browser
27 GET 302 /signin/v1/identifier/_/authorize browser
28 POST 200 /konnect/v1/token Linux
29 GET 200 /ocs/v2.php/cloud/user Linux
30 GET 200 /graph/v1.0/me/drives Linux
31 GET 200 /status.php Linux
32 PROPFIND 207 /remote.php/webdav/ Linux
33 GET 200 /ocs/v2.php/cloud/capabilities Linux
34 GET 200 /ocs/v2.php/cloud/user Linux
35 GET 200 /app/list Linux
36 GET 200 /ocs/v2.php/cloud/capabilities Linux
37 GET 200 /ocs/v2.php/cloud/user Linux
38 GET 400 /app/list Linux
39 PROPFIND 207 /dav/spaces/a$a/ Linux
40 GET 404 /ocs/v2.php/cloud/activity Linux
41 GET 200 /ocs/v2.php/apps/notifications/api/v1/notifications Linux

Linux client logs

client_startup.log client_logout_login_working.log

Client version number

All clients tested were 5.3.1.14018.

Desktop environment (Linux only)

Ubuntu 24.04

Client package version and origin (Linux only)

Installed from ownCloud mirrors

Installation path (Windows only)

No response

Server information

No response

Additional context

No response

github-actions[bot] commented 4 days ago

This issue was marked stale because it has been open for 30 days with no activity. Remove the stale label or comment or this will be closed in 7 days.