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

[Bug] Stuck on login screen #1109

Open
1 task done
nanotft opened this issue Jan 21, 2024 · 10 comments
Open
1 task done

[Bug] Stuck on login screen #1109

nanotft opened this issue Jan 21, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@nanotft
Copy link

nanotft commented Jan 21, 2024

Describe the bug

So I downloaded from the latest release, and logged in thru the login screen..
However, it just starts buffering from there, I tried downloading, and it didn't even give me a chance to login again, just went straight to buffering.

Tried downloading the previous beta version, same issue. It skipped the login screen and went straight to the buffering.

To Reproduce

No response

Expected behavior

Expected to login in straight away after entering my details

Environment

- OS: MacOS Monterrey
- Device: MacBook Air 2017
- Greenlight version: 2.0.1

Anything else?

No response

New issue

  • I confirm that this is a new issue and not a duplicate
@nanotft nanotft added the bug Something isn't working label Jan 21, 2024
@pumpgun22
Copy link

Have the same issue.

Where are the config files written on steam deck if I start the .appimage?

I got this bug sometimes, if there was a new version it fixed this for me.

Now there is no new version, I think deleting the config would help.

I anyone know the destination I would be thankfull

@unknownskl
Copy link
Owner

unknownskl commented Jan 22, 2024

There are several reports atm, however i am unable to reproduce the issue on my side. Can you try to run the following command in a terminal? (Should work if you have installed Greenlight in the Applications folder)

DEBUG="greenlight:*" /Applications/Greenlight.app/Contents/MacOS/Greenlight

This should enable more debug information. I suspect it is failing on the retrieval of the devicetoken. In case you want to share the output, make sure to edit out your tokens and personal information. It contains a lot of information about the account.

@unknownskl unknownskl pinned this issue Jan 22, 2024
@pumpgun22
Copy link

There are several reports atm, however i am unable to reproduce the issue on my side. Can you try to run the following command in a terminal? (Should work if you have installed Greenlight in the Applications folder)

DEBUG="greenlight:*" /Applications/Greenlight.app/Contents/MacOS/Greenlight

This should enable more debug information. I suspect it is failing on the retrieval of the devicetoken. In case you want to share the output, make sure to edit out your tokens and personal information. It contains a lot of information about the account.

Sorry I posted on the wrong bug report.
Iam getting this problem on the steam deck OLED with the .appimage

What will the debug command on there?

BTW bought yesterday the xbplay on steam.
There comes after sometime an authentication failure.
"Failed to get gsToken or console"

Maybe this will help you

@LeChatP
Copy link

LeChatP commented Feb 4, 2024

Problem happens on Ubuntu 23.10.

  greenlight:authentication /opt/Greenlight/resources/app.asar/app/background.js[openAuthWindow()] Closed auth window +0ms
  greenlight:authentication /opt/Greenlight/resources/app.asar/app/background.js[retrieveTokens()] Retrieving tokens... +0ms
  greenlight:Ipc:Send Sending event: [app] {
  id: 0,
  action: 'authState',
  data: {
    isAuthenticating: true,
    isAuthenticated: false,
    user: {
      signedIn: false,
      type: 'user',
      gamertag: '',
      gamerpic: '',
      gamerscore: '',
      level: 0
    }
  }
} +0ms
  greenlight:authentication /opt/Greenlight/resources/app.asar/app/background.js[requestxCloudToken()] Requesting xHome streaming tokens +0ms
 loaded from store
IP not spoofed
  greenlight:authentication /opt/Greenlight/resources/app.asar/app/background.js[requestxCloudToken()] Retrieved xCloud streaming tokens +0ms
  greenlight:authentication /opt/Greenlight/resources/app.asar/app/background.js[requestxHomeToken()] Requesting xHome streaming tokens +0ms
Warning: terminator_CreateInstance: Failed to CreateInstance in ICD 3.  Skipping ICD.
  greenlight:authentication /opt/Greenlight/resources/app.asar/app/background.js[requestxHomeToken()] xHome token retrieval error: {
  error: Error: connect ETIMEDOUT 2620:1ec:bdf::42:443
      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16) {
    errno: -110,
    code: 'ETIMEDOUT',
    syscall: 'connect',
    address: '2620:1ec:bdf::42',
    port: 443
  }
} +0ms
  greenlight:authentication /opt/Greenlight/resources/app.asar/app/background.js[retrieveTokens()] Failed to retrieve tokens +0ms
[281103:0204/184832.689851:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[281103:0204/184847.888081:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!

Workaround : Downgrading to version alpha 2.0.0-beta12 works well!
However, if beta12 doesn't fit your needs, you can log in to beta12, quit, and then upgrade to the latest version, and it should work.

@unknownskl
Copy link
Owner

Thanks for the logs. Looks like it has some connection problems during the authentication. I have added a retrying mechanism in the application and hopefully that would fix this issue

@LeChatP
Copy link

LeChatP commented Feb 9, 2024

I compiled the version bd866a8, and the issue is still here. There seems to be a real issue with xHome algorithm, which works well on beta12 but not in the latest version. After a simple code review, I didn't find what precisely; I tried to reorder calls, but it didn't resolve it.

@LeChatP
Copy link

LeChatP commented Feb 10, 2024

Hum... After compiling the project on the final target and resetting the config folder, the problems seem different now.
Note: To compile, I was mandated to set Link-Local Only IPv6 (because npm is dumb); maybe that is a little hint about why networking is timing out.

I am still stuck on login screen but different logs :

  greenlight:Ipc Loading startup data for IPC channel: xCloud +0ms
  greenlight:Ipc:Recv Received event: [app] { id: 434, action: 'getAuthState', data: {} } +0ms
  greenlight:Ipc:Send Sending event: [app] {
  action: 'getAuthState',
  id: 434,
  data: {
    isAuthenticating: false,
    isAuthenticated: true,
    user: {
      signedIn: false,
      type: 'user',
      gamertag: '',
      gamerpic: '',
      gamerscore: '',
      level: 2
    }
  }
} +0ms
  greenlight:Ipc:Recv Received event: [app] { id: 152, action: 'onUiShown', data: {} } +0ms
  greenlight:Ipc:Send Sending event: [app] { action: 'onUiShown', id: 152, data: { autoStream: '' } } +0ms
  greenlight:xCloudApi get(/v2/titles, GET) resolve: 200 +0ms
events.ts: Retrieved xuid: {
  xuid: '2535420404247478',
  state: 'Offline',
  lastSeen: {
    deviceType: 'Scarlett',
    titleId: '750323071',
    titleName: 'Home',
    timestamp: '2024-02-09T22:09:14.288406'
  }
}
  greenlight:HTTP post(/v3/products?market=US&language=en-US&hydration=RemoteHighSapphire0) resolve: 200 {"Products":{"BRL7GC0GP1BM":{"ProductTitle":"7 Days to Die","ProductDescription":"Set in a brutally  +0ms
  greenlight:Ipc:xCloud Titlemanager has loaded all titles. +0ms
Warning: terminator_CreateInstance: Failed to CreateInstance in ICD 3.  Skipping ICD.
[26181:0210/103111.722479:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!

Before that, there are my tokens with the authentication successful message.

@LeChatP
Copy link

LeChatP commented Feb 10, 2024

Workaround: Reboot the app after manual authentication.
CONFIRMED: The previous problem is about IPv6 configuration, specifically for xHome requests

@Ender-Wang
Copy link

Exact same issue on 2.2.0, macOS 14.4 23E214. MacBook Pro M3 Max, 14". Downloaded the 2.0 beta 12 version, and works. But seems the frame rate is not reaching 60, I am on home wifi 5G connection.

@kennedyoliveira
Copy link

kennedyoliveira commented Mar 10, 2024

Having the exact same issue, tried on Window 11 PC, Rog Ally with windows 11, and steam deck using Flatpak, all same result.
Rolling back to 2.1.1 works though

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

No branches or pull requests

6 participants