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

"Failed to retrieve user information from server" #10861

Closed
2 tasks done
TermeHansen opened this issue May 24, 2023 · 8 comments
Closed
2 tasks done

"Failed to retrieve user information from server" #10861

TermeHansen opened this issue May 24, 2023 · 8 comments

Comments

@TermeHansen
Copy link

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

When returning from successful login from browser, the client states:

Screenshot from 2023-05-24 09-41-04

Android client works fine.

Expected behavior

To login successful.

Steps to reproduce the issue

No response

Screenshots

image
Screenshot from 2023-05-24 09-41-04

Logs

23-05-23 19:49:10:976 [ debug sync.credentials.oauth ]	[ isUrlValid ]:	Checking URL for validity: QUrl("https://MYDOMAIN/signin/v1/identifier/_/authorize?response_type=code&client_id=xdXOt13JKxym1B1QcEncf2XDkLAexMBFwiT9j6EfhhHFJhs2KM9jbjTmf8JBXE69&redirect_uri=http://127.0.0.1:38671&code_challenge=ilX7Zm8pcjkEI-GMjJT0MbYGGO6k9F4HJqC017v1Lkk&code_challenge_method=S256&scope=openid offline_access email profile&prompt=select_account consent&state=SEHdAJkLHyfygvOEkgD3huvblw_xqYsLxf_cDUbYCFo%3D")
23-05-23 19:49:25:932 [ debug sync.credentials.oauth ]	[ OCC::OAuth::startAuthentication()::<lambda ]:	accepted client connection from QHostAddress("127.0.0.1")
23-05-23 19:49:25:932 [ debug sync.credentials.oauth ]	[ OCC::OAuth::startAuthentication()::<lambda()>::<lambda ]:	Server provided: "GET /?code=N6hT6tfnxvcTrAR3YGX9XzD3XzRub2tD&scope=profile%20openid%20offline_access%20email&session_state=222a41e41eaa4dd6e612cd3c496e8ae58d0c4a3cb60545b99f205013140955ab.-sVv8F5Bqf62SkBJFtwiBu_uf69gSUFLqQaZUa9s86k&state=SEHdAJkLHyfygvOEkgD3huvblw_xqYsLxf_cDUbYCFo%3D HTTP/1.1\r\nHost: 127.0.0.1:38671\r\nUser-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8\r\nAccept-Language: en-US,en;q=0.5\r\nAccept-Encoding: gzip, deflate, br\r\nReferer: https://MYDOMAIN/\r\nConnection: keep-alive\r\nUpgrade-Insecure-Requests: 1\r\nSec-Fetch-Dest: document\r\nSec-Fetch-Mode: navigate\r\nSec-Fetch-Site: cross-site\r\nSec-Fetch-User: ?1\r\n\r\n"
23-05-23 19:49:25:932 [ debug sync.credentials.oauth ]	[ OCC::OAuth::startAuthentication()::<lambda()>::<lambda ]:	Received the first valid response, closing server socket
23-05-23 19:49:26:252 [ debug sync.credentials.oauth ]	[ {anonymous}::httpReplyAndClose ]:	replying with HTTP response and closing socket: "HTTP/1.1 200 OK\r\nContent-Type: text/html; charset=utf-8\r\nConnection: close\r\nContent-Length: 14277\r\n\r\n<!DOCTYPE html>\n\n<html lang=\"en\">\n\n<head>\n<title>Login Successful</title>\n<style>\nhtml, body {\n    height: 100%;\n    width: 100%;\n    margin: 0;\n}\n\nbody {\n    background-color: #041e42;\n    color: #ffffff;\n    font-family: \"Noto Sans\", OpenSans, Verdana, Helvetica, Arial, sans-serif;\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n}\n\n.row {\n    display: flex;\n    flex-direction: row;\n    align-items: center;\n    height: 100%;\n}\n\n.content {\n    text-align: center;\n}\n</style>\n</head>\n\n<body>\n<div class=\"row\">\n    <div class=\"content\">\n        <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nO3dd1QUVxsG8Ge2AFIFVERFEAs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qMBsMV9mSlx59rtzAXQCwHQUA1VI4SoV7gIWe3wNiRR1gYlLw76NiRRJBa2pzsBQsoZlg0q7eIH5Fkd+H1Agkio78kAu1VWOUKI2jDAbpFJFc/SLv7cbeUvV2jT8QeWYVYCMFG8eoQQNUllWHZW9rtLmyDjmb+wsgSARE2PWgI+3w9ge5d5X0KIejA4JsrBBLy/GFm23RTEt+3UnQFmgkUHRcsghCiJQTALrCrcw0/+3ZUktPFoDoaZzoLpC0BP2fIIIaXKYsAeBcuuzj+wRxFKB4CUVVcjvoHInWHhCcATgKPKyiaEPAUQwDIIyMkyDEbUqXRVFKq6ACisZmdLIV9sJ2ZgyxPDlmUYWzCwBYuqAKMPsAYsYMAABij4n0BtdSJE+0SQrMeZASCDBTIkK3QzGQCbCQZxYBHBsGyEmIcIHouI7BzeG0ReiFdHZf4P7LM47z0Ht1YAAAAASUVORK5CYII=\" />\n        <h1>Login Successful</h1><p>You can close this window.</p>\n    </div>\n</div>\n</body>\n"
23-05-23 19:49:26:478 [ debug sync.networkjob.webfingeruserinfojob ]	[ OCC::Wizard::Jobs::WebFingerInstanceLookupJobFactory::startJob(const QUrl&, QObject*)::<lambda ]:	"{\"subject\":\"acct:termo@MYDOMAIN\",\"links\":[{\"rel\":\"http://openid.net/specs/connect/1.0/issuer\",\"href\":\"https://MYDOMAIN\"},{\"rel\":\"http://webfinger.owncloud/rel/server-instance\",\"href\":\"https://MYDOMAIN\",\"titles\":{\"en\":\"oCIS Instance\"}}]}\n"
23-05-23 19:49:26:478 [ debug sync.networkjob.webfingeruserinfojob ]	[ OCC::Wizard::Jobs::WebFingerInstanceLookupJobFactory::startJob(const QUrl&, QObject*)::<lambda ]:	retrieved instances list for user "acct:termo@MYDOMAIN"
23-05-23 19:49:26:478 [ debug sync.networkjob.webfingeruserinfojob ]	[ OCC::Wizard::Jobs::WebFingerInstanceLookupJobFactory::startJob(const QUrl&, QObject*)::<lambda ]:	found links: QJsonArray([{"href":"https://MYDOMAIN","rel":"http://openid.net/specs/connect/1.0/issuer"},{"href":"https://MYDOMAIN","rel":"http://webfinger.owncloud/rel/server-instance","titles":{"en":"oCIS Instance"}}])
23-05-23 19:49:26:478 [ debug sync.networkjob.webfingeruserinfojob ]	[ OCC::Wizard::Jobs::WebFingerInstanceLookupJobFactory::startJob(const QUrl&, QObject*)::<lambda ]:	skipping invalid link "https://MYDOMAIN" with rel "http://openid.net/specs/connect/1.0/issuer"
23-05-23 19:49:26:688 [ debug sync.credentials.oauth ]	[ OCC::OAuth::startAuthentication ]:	starting authentication
23-05-23 19:49:26:688 [ debug sync.credentials.oauth ]	[ OCC::OAuth::fetchWellKnown ]:	fetching "/.well-known/openid-configuration"
23-05-23 19:49:26:688 [ debug setupwizard.controller ]	[ OCC::Wizard::SetupWizardController::changeStateTo ]:	Current wizard state: OCC::Wizard::SetupWizardState::CredentialsState
23-05-23 19:49:26:805 [ debug sync.credentials.oauth ]	[ OCC::OAuth::fetchWellKnown()::<lambda ]:	parsing .well-known reply successful, auth endpoint QUrl("https://MYDOMAIN/signin/v1/identifier/_/authorize") and token endpoint QUrl("https://MYDOMAIN/konnect/v1/token") and registration endpoint QUrl("")
23-05-23 19:49:26:805 [ debug sync.credentials.oauth ]	[ OCC::OAuth::startAuthentication()::<lambda ]:	registration endpoint not provided or empty: QUrl("")

fomr ocis logs:
ocis | {"level":"error","service":"proxy","claim":"lg.uuid","claims":{"email":"****@****","email_verified":false,"family_name":"****","name":"****","preferred_username":"termo","sub":"L1zIoZXdWQNUw6Ba@ODcQCejQmfBo3k0LRkIkvX1NGXWsknzcC24wDqKK1tvIksIYoZDewDjCTJDU8pMXbzFCPQ"},"time":"2023-05-24T07:32:20.190627445Z","message":"claim not set or empty"}

Client version number

ownCloud 4.0.0.10896 74fef3
Libraries Qt 5.15.2, OpenSSL 3.0.2 15 Mar 2022
Using virtual files plugin: suffix
ubuntu-5.19.0-38-generic

Desktop environment (Linux only)

Ubunut 22.04

Client package version and origin (Linux only)

from PPA: deb https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Ubuntu_22.04/

Installation path (Windows only)

No response

Server information

ownCloud IS running from docker-compose. Ocis is exposed by reverseproxy from Caddy.

ownCloud Infinite Scale
Edition Community
Version 3.0.0-rc.4+3a93b4400
Web client version 7.0.0-rc.37

Additional context

No response

@fmoc
Copy link
Contributor

fmoc commented May 24, 2023

This looks more like a server bug at a first glance. Unfortunately, the provided logs are incomplete, so I cannot tell for sure why the server announces WebFinger. Please upload your complete client and server logs here.

@fmoc
Copy link
Contributor

fmoc commented May 24, 2023

Also, please enable the logging of all HTTP requests in the logging settings and reproduce the problem. This gives us a lot more insight. As these logs may be sensitive, I set up the file drop above.

@TermeHansen
Copy link
Author

Thks @fmoc for looking into this. I have now uploaded (I hope) both owncloud client log for the login attempt and the ocis debug log for the same session. I hope this will help you.

@fmoc
Copy link
Contributor

fmoc commented May 24, 2023

The logs reveal that (aside from the seemingly unnecessary WebFinger setup) the user endpoint returns a 500 response:

GET 500 (Error: Error transferring https://MYDOMAIN/ocs/v2.php/cloud/user?format=json - server replied: Internal Server Error,231ms) 

If you take a look at the server logs, it looks like some configuration problem on the server side:

ocis  | {"level":"error","service":"proxy","claim":"lg.uuid","claims":{"email":"your@email","email_verified":false,"family_name":"termo","name":"Your Name","preferred_username":"yourusername","sub":"...@..."},"time":"2023-05-24T09:19:01.170314611Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/account_resolver.go:63","message":"claim not set or empty"}
ocis  | {"level":"info","service":"proxy","proto":"HTTP/1.1","request-id":"d1990fa5-3b8b-4cdd-ba94-97f3a6e55169","remote-addr":"your.ip","method":"GET","status":500,"path":"/ocs/v2.php/cloud/user","duration":118.300896,"bytes":0,"time":"2023-05-24T09:19:01.170339902Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/accesslog.go:28","message":"access-log"}

It is the server rejecting the request. The client cannot do anything about it, as far as I can see. Please check your configuration.

@michaelstingl
Copy link
Contributor

@fmoc WebFinger is default in oCIS 3.x

@rhafer
Copy link

rhafer commented May 24, 2023

omr ocis logs:
ocis | {"level":"error","service":"proxy","claim":"lg.uuid","claims":{"email":"****@****","email_verified":false,"family_name":"****","name":"****","preferred_username":"termo","sub":"L1zIoZXdWQNUw6Ba@ODcQCejQmfBo3k0LRkIkvX1NGXWsknzcC24wDqKK1tvIksIYoZDewDjCTJDU8pMXbzFCPQ"},"time":"2023-05-24T07:32:20.190627445Z","message":"claim not set or empty"}

@TermeHansen Ugh, this seems to be fallout from owncloud/ocis#6338 . In order to fix a bug with the internal IDP we needed to change the defaults for PROXY_USER_CS3_CLAIM and PROXY_USER_OIDC_CLAIM. This however also has a impact on setups using an external IDP.

It should work again if you set PROXY_USER_CS3_CLAIM=username and PROXY_USER_OIDC_CLAIM=preferred_username.

@fmoc fmoc changed the title Linux Client - "Failed to retrieve user information from server" "Failed to retrieve user information from server" May 24, 2023
@rhafer
Copy link

rhafer commented May 24, 2023

This PR: owncloud/ocis#6377 fixes our example deployments and updates the release notes to indicate the changed default.

@TermeHansen
Copy link
Author

thks @rhafer

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants