Coder Social home page Coder Social logo

Comments (6)

joshtrichards avatar joshtrichards commented on July 20, 2024

What version of v28 did you upgrade from where this used to work for you?

from server.

stfast avatar stfast commented on July 20, 2024

What version of v28 did you upgrade from where this used to work for you?

From latest 28.05 to 29.0.0.

from server.

stfast avatar stfast commented on July 20, 2024

Just additional info, macOS desktop client classic sync is working, but not the new VFS sync feature.

from server.

joshtrichards avatar joshtrichards commented on July 20, 2024

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": "[email protected]",
    "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 [email protected] 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.

from server.

stfast avatar stfast commented on July 20, 2024

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": "[email protected]",
    "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 [email protected] 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:

Screenshot 2024-05-08 at 20 28 55

Screenshot 2024-05-08 at 20 28 50

from server.

stfast avatar stfast commented on July 20, 2024

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

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.