Open stfast opened 1 month ago
What version of v28 did you upgrade from where this used to work for you?
What version of v28 did you upgrade from where this used to work for you?
From latest 28.05 to 29.0.0.
Just additional info, macOS desktop client classic sync is working, but not the new VFS sync feature.
It's true based on your logs that the token and session login names don't match:
{
"reqId": "Zjn96bjs6OjssVWGBDBdBQAAABM",
"level": 3,
"time": "2024-05-07T10:09:45+00:00",
"remoteAddr": "8.8.8.8",
"user": "--",
"app": "core",
"method": "GET",
"url": "/ocs/v1.php/cloud/capabilities",
"message": "App token login name does not match",
"userAgent": "Nextcloud-macOS/FileProviderExt",
"version": "29.0.0.19",
"data": {
"tokenLoginName": "fast@dspot.us",
"sessionLoginName": "FDD17349-A32D-4411-8E0E-A71BAA44509F",
"app": "core",
"user": "FDD17349-A32D-4411-8E0E-A71BAA44509F"
}
}
Possible factors that come to mind:
Are you using fast@dspot.us
as you login name in all scenarios or something else?
Ref: last change in this area of code was in v28.0.2 via #42971.
It's true based on your logs that the token and session login names don't match:
{ "reqId": "Zjn96bjs6OjssVWGBDBdBQAAABM", "level": 3, "time": "2024-05-07T10:09:45+00:00", "remoteAddr": "8.8.8.8", "user": "--", "app": "core", "method": "GET", "url": "/ocs/v1.php/cloud/capabilities", "message": "App token login name does not match", "userAgent": "Nextcloud-macOS/FileProviderExt", "version": "29.0.0.19", "data": { "tokenLoginName": "fast@dspot.us", "sessionLoginName": "FDD17349-A32D-4411-8E0E-A71BAA44509F", "app": "core", "user": "FDD17349-A32D-4411-8E0E-A71BAA44509F" } }
Possible factors that come to mind:
- the login name you were authenticated to the Server with when you created the app password
- the login name you're specifying in the client to use with the app password
Are you using
fast@dspot.us
as you login name in all scenarios or something else?Ref: last change in this area of code was in v28.0.2 via #42971.
Yes username is always the same as quoted. Actually I did not even did extra authentication, I just Installed macOS VFS sync client over existing one.
# sudo -u apache php occ user:list| grep FDD17349-A32D-4411-8E0E-A71BAA44509F
- FDD17349-A32D-4411-8E0E-A71BAA44509F: S**** T****
As you see there is infinite sync in VFS section, classic sync is working ok:
Additional debug data from macOS Desktop client - "Settings/Virtual file sync/Advanced/Create debug archive"
Not providing enumerator for container with identifier NSFileProviderWorkingSetContainerItemIdentifier yet as account not set up Could not get notifyPush websocket FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com, polling. Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised 1 depth readFileOrFolder of url: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F did not complete successfully, received error: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Finishing enumeration for user: FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com with serverUrl: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F with error No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect 1 depth readFileOrFolder of url: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F did not complete successfully, received error: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Finishing enumeration for user: FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com with serverUrl: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F with error No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised 1 depth readFileOrFolder of url: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F did not complete successfully, received error: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Finishing enumeration for user: FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com with serverUrl: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F with error No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised 1 depth readFileOrFolder of url: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F did not complete successfully, received error: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Finishing enumeration for user: FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com with serverUrl: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F with error No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised 1 depth readFileOrFolder of url: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F did not complete successfully, received error: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Finishing enumeration for user: FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com with serverUrl: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F with error No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect 1 depth readFileOrFolder of url: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F did not complete successfully, received error: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Finishing enumeration for user: FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com with serverUrl: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F with error No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997 Unauthorised 1 depth readFileOrFolder of url: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F did not complete successfully, received error: No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Finishing enumeration for user: FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com with serverUrl: https://nextcloud.domain.com/remote.php/dav/files/FDD17349-A32D-4411-8E0E-A71BAA44509F with error No public access to this resource., No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect Could not get FDD17349-A32D-4411-8E0E-A71BAA44509F https://nextcloud.domain.com capabilities: 997
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.
⚠️ This issue respects the following points: ⚠️
Bug description
MacOS VFS not working
Steps to reproduce
Expected behavior
MacOS VFS sync should work.
Installation method
Community Manual installation with Archive
Nextcloud Server version
29
Operating system
Other
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
MariaDB
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
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
Enabling VFS on macOS desktop client, triggers bruteforce response fron NC server, and you should white list client IP.