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

XBox user authentication failed: Connection closed #1875

Closed
1 task done
Rosentti opened this issue Nov 20, 2023 · 2 comments
Closed
1 task done

XBox user authentication failed: Connection closed #1875

Rosentti opened this issue Nov 20, 2023 · 2 comments
Labels
Auth Problems with Microsoft authentication bug Something isn't working

Comments

@Rosentti
Copy link

Operating System

Linux

Version of Prism Launcher

Prism Launcher 8.0-develop (e499aa4)

Version of Qt

Qt 6.6.0

Description of bug

Can't login with XBox.
Logs:

  36.292 D | DeviceFlow::onVerificationReceived: Emitting closeBrowser()
  36.292 D | DeviceFlow::onVerificationReceived: Access token returned for implicit or device flow
  36.292 D | DeviceFlow::onVerificationReceived: Token expires in 3600 seconds
  36.292 D | [katabasis.credentials]: new refresh token: "CENSORED"
  36.292 D | DeviceFlow::setLinked: true
  36.292 D | AuthFlow: "Logging in as an Xbox user."
  36.292 D | First layer of XBox auth ... commencing.
  36.739 W | AuthRequest::onRequestError: Error 2
  36.739 W | AuthRequest::onRequestError: Error string:  "Connection closed"
  36.739 W | AuthRequest::onRequestError: HTTP status 0 ""
  36.739 W | Reply error: QNetworkReply::RemoteHostClosedError

Steps to reproduce

  1. Go to account manager
  2. Login via Microsoft
  3. Error appears once Prism Launcher has been authorized.

Suspected cause

No response

This issue is unique

  • I have searched the issue tracker and did not find an issue describing my bug.
@Rosentti Rosentti added the bug Something isn't working label Nov 20, 2023
@Trial97 Trial97 added the Auth Problems with Microsoft authentication label Nov 25, 2023
@Trial97
Copy link
Member

Trial97 commented Nov 25, 2023

Make sure you do not have any firewall rules that would block PrismLauncher.
Try using the portable version if that works go do a reinstall of prism but make sure you delete all the files from the previous version(#1031 (comment)). And I mean the ones found in the installation directory, not the data directory ones.

@Rosentti
Copy link
Author

It actually turned out to be my school's network blocking it. I just didn't realize, as the message I usually get is something along the lines of "Connection reset".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auth Problems with Microsoft authentication bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants