Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.0.0] Stuck in "Connecting" after Response: PROPFIND 0 (Error: Temporary network failure.,1219413ms) #11274

Closed
2 tasks done
michaelstingl opened this issue Oct 10, 2023 · 13 comments
Assignees
Labels
bug Discussion p2-high Escalation, on top of current planning, release blocker
Milestone

Comments

@michaelstingl
Copy link
Contributor

michaelstingl commented Oct 10, 2023

Pre-submission Checks

  • I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
  • I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.

Describe the bug

ownCloud sync client got stuck in "Connecting" state after receiving Response: PROPFIND 0 (Error: Temporary network failure.,1219413ms)

Expected behavior

Client should recover

Steps to reproduce the issue

No response

Screenshots

CleanShot 2023-10-10 at 16 49 09

Logs

Client version number

ownCloud 5.0.0.12278 8f9152
Libraries Qt 6.4.3, OpenSSL 3.1.2 1 Aug 2023
Using virtual files plugin: suffix
OS: macos-23.0.0
QPA: cocoa

Desktop environment (Linux only)

No response

Client package version and origin (Linux only)

No response

Installation path (Windows only)

No response

Server information

No response

Additional context

Related?

@michaelstingl michaelstingl added bug p2-high Escalation, on top of current planning, release blocker labels Oct 10, 2023
@michaelstingl michaelstingl added this to the Desktop 5.1 milestone Oct 10, 2023
@michaelstingl
Copy link
Contributor Author

@TheOneRing I see PROPFIND with Depth: 0 was fired a second time after 59ms , with same X-Request-ID 🙀

23-10-08 04:08:31:844 [ info sync.httplogger ]:	"3e12a243-3f68-4b3e-8f7c-95def044c355: 
Request: PROPFIND https://cloud.owncloud.com/remote.php/dav/files/mstingl/ 
Header: { Depth: 0, 
Prefer: return=minimal, 
Authorization: Bearer [redacted], 
User-Agent: Mozilla/5.0 (Macintosh) mirall/5.0.0.12278 (ownCloud, 
macos-23.0.0 ClientArchitecture: arm64 OsArchitecture: arm64), 
Accept: */*, 
Accept-Language: en_DE, 
Content-Type: text/xml; charset=utf-8, 
X-Request-ID: 3e12a243-3f68-4b3e-8f7c-95def044c355, 
Original-Request-ID: 3e12a243-3f68-4b3e-8f7c-95def044c355, 
Content-Length: 108, 
Cookie: #######, 
} 
Data: [<?xml version=\"1.0\" encoding=\"utf-8\"?>
<d:propfind xmlns:d=\"DAV:\">
<d:prop>
<d:getetag/>
</d:prop>
</d:propfind>\n]"

23-10-08 04:08:31:903 [ info sync.httplogger ]:	"3e12a243-3f68-4b3e-8f7c-95def044c355: 
Request: PROPFIND https://cloud.owncloud.com/remote.php/dav/files/mstingl/ 
Header: { Depth: 0, 
Prefer: return=minimal, 
Authorization: Bearer [redacted], 
User-Agent: Mozilla/5.0 (Macintosh) mirall/5.0.0.12278 (ownCloud, 
macos-23.0.0 ClientArchitecture: arm64 OsArchitecture: arm64), 
Accept: */*, 
Accept-Language: en_DE, 
Content-Type: text/xml; charset=utf-8, 
X-Request-ID: 3e12a243-3f68-4b3e-8f7c-95def044c355, 
Original-Request-ID: 3e12a243-3f68-4b3e-8f7c-95def044c355, 
Content-Length: 108, 
Cookie: #######, 
} 
Data: [<?xml version=\"1.0\" encoding=\"utf-8\"?>
<d:propfind xmlns:d=\"DAV:\">
<d:prop>
<d:getetag/>
</d:prop>
</d:propfind>\n]"

23-10-08 04:28:51:262 [ info sync.httplogger ]:	"3e12a243-3f68-4b3e-8f7c-95def044c355: 
Response: PROPFIND 0 (Error: Temporary network failure.,1219413ms) https://cloud.owncloud.com/remote.php/dav/files/mstingl/ 
Header: { } 
Data: []"

@michaelstingl
Copy link
Contributor Author

michaelstingl commented Oct 10, 2023

"Reconnect" action in "Account" dropdown does nothing. Restarting the client helped.

@cdamken
Copy link
Contributor

cdamken commented Oct 13, 2023

I uploaded my logs: https://cloud.owncloud.com/f/6102956

@TheOneRing TheOneRing modified the milestones: Desktop 5.1, Desktop 5.2 Oct 13, 2023
@michaelstingl
Copy link
Contributor Author

@fmoc what is the blocker?

@michaelstingl
Copy link
Contributor Author

@rainforest1155
Copy link

Since the version 5 update, the linux client is stuck on "connecting" every time I resume my machine from hibernation. Possibly related to the fact that due to various reasons, before going into hibernation I turn off networking and manually bring it up upon resuming.

This was never a problem on the owncloud client prior to version 5. Now it basically never syncs and I'm always wondering why I see no new files. Then I remember this issue and I have to close and reopen the owncloud client.

I'm hoping this gets fixed soon. Thanks!

my OS is: manjaro-6.1.55-1-MANJARO
with OC client 5.0.0 8f9152

@michaelstingl
Copy link
Contributor Author

Does someone has 5.2 logs with this? There we improved debug logs.

TheOneRing added a commit that referenced this issue Jan 2, 2024
As we marked the wrong job as auth job, the user job was queued.
This resulted in the reconnection getting stuck.

Fixes: #11274
@michaelstingl
Copy link
Contributor Author

@HanaGemela
Copy link
Contributor

Steps to test:

  1. Quit the client
  2. Turn on maintenance mode on the server
  3. Start the client
  4. Turn off maintenance mode on the server
  5. Click Reconnect in the client

Client needs 1-2 minutes to reconnect ✅
Tested with ownCloud 5.2.1.13015-daily20240103

@michaelstingl
Copy link
Contributor Author

5. Click Reconnect in the client

Shouldn't be necessary. Do we have an issue for this?

@HanaGemela
Copy link
Contributor

  1. Click Reconnect in the client

Shouldn't be necessary. Do we have an issue for this?

It was necessary to recreate in 5.2.0
Without this step the client recovered within 2 minutes

@michaelstingl
Copy link
Contributor Author

Without this step the client recovered within 2 minutes

Works for me 👍

@HanaGemela
Copy link
Contributor

Without this step the client recovered within 2 minutes

Works for me 👍

The old broken 5.2.0 recovered within 2 minutes without this step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Discussion p2-high Escalation, on top of current planning, release blocker
Projects
None yet
Development

No branches or pull requests

6 participants