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

[Windows] [First Install] "Open Sunshine" not Working #2071

Open
3 tasks done
erikvanderwerf opened this issue Jan 28, 2024 · 20 comments
Open
3 tasks done

[Windows] [First Install] "Open Sunshine" not Working #2071

erikvanderwerf opened this issue Jan 28, 2024 · 20 comments
Labels
os:Windows OS is Windows

Comments

@erikvanderwerf
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the nightly release?

  • This issue is present in the nightly release

Describe the Bug

On a clean Windows install, both the 0.21.0 and nightly releases do not open the UI when I select "Open Sunshine" from the toolbar icon. Nothing happens, no additional tabs are opened in my Chrome 120.0.6099.225 browser (or any other browser). No error is logged, so I cannot diagnose why.

Expected Behavior

I expect the UI to open in a new browser tab when I select "Open Sunshine".

Additional Context

I am able to connect to the service when I manually navigate to "https://localhost:47990" (it redirects to /welcome). I have done nothing else at this point :)

Host Operating System

Windows

Operating System Version

Windows 11 10.0.22621

Architecture

64 bit

Sunshine commit or version

0.21.0

Package

Windows - installer

GPU Type

Nvidia

GPU Model

RTX 3070

GPU Driver/Mesa Version

546.01

Capture Method (Linux Only)

No response

Config

<empty file>

Apps

No response

Relevant log output

[2024:01:28:12:09:01]: Info: Open the Web UI to set your new username and password and getting started
[2024:01:28:12:09:01]: Info: File C:\Program Files\Sunshine\config\sunshine_state.json doesn't exist
[2024:01:28:12:09:01]: Info: Configuration UI available at [https://localhost:47990]
[2024:01:28:12:09:02]: Info: Registered Sunshine mDNS service
@erikvanderwerf
Copy link
Author

A few minutes later - the same issue with the pairing notification, clicking it does nothing and I have to manually go to the "PIN" page.

@ReenigneArcher
Copy link
Member

Share logs

@erikvanderwerf
Copy link
Author

erikvanderwerf commented Jan 28, 2024

sunshine.log

Towards the bottom is this section from my latest attempt:

[2024:01:28:14:55:22]: Info: Opening UI from system tray
[2024:01:28:14:55:22]: Info: cmd /C "start https://localhost:47990" running with PID 28400
[2024:01:28:14:55:22]: Info: Opened url [https://localhost:47990]

But nothing happens.

@ReenigneArcher
Copy link
Member

You sure you don't have a browser open off screen, minimized, or something?

@erikvanderwerf
Copy link
Author

My browser is open, I have many windows and tabs open already in Chrome, but none of them open a new tab with the UI.

@cgutman
Copy link
Collaborator

cgutman commented Feb 5, 2024

This might be fixed by #2105

@ReenigneArcher
Copy link
Member

@erikvanderwerf

P.S. the command will try to open the URL in your default browser. If chrome is not your default browser, then it won't open in chrome.

Please confirm if this is fixed for you in nightly or not.

@drujd
Copy link

drujd commented Mar 8, 2024

This is now broken for me as well as of 0.22... Worked perfectly in 0.21 and previous versions. I think the "fix" introduced some new issue(s).

@cgutman
Copy link
Collaborator

cgutman commented Mar 8, 2024

@drujd There's no way we can investigate your issue unless you provide logs from Sunshine.

@drujd
Copy link

drujd commented Mar 10, 2024

[2024:03:10:22:30:11]: Info: System tray created
[2024:03:10:22:30:16]: Info: Opening UI from system tray
[2024:03:10:22:30:16]: Info: Resolved user-provided command 'https://localhost:32101' to '"C:\Program Files\WindowsApps\Mozilla.Firefox_123.0.1.0_x64__n80bbvh6b1yt2\VFS\ProgramFiles\Firefox Package Root\firefox.exe" -osint -url "https://localhost:32101"'

The weird thing is, when I run the exact command in terminal, it works perfectly... Just not when I actually click the context menu entry.

EDIT: Still broken in 0.22.1 and 0.22.2

@drujd
Copy link

drujd commented Apr 2, 2024

When I (re)start Sunshine, it correctly opens its admin page in Firefox, when I run the command in log manually, it also works. It is ONLY when I click 'Open Sunshine' in the tray menu where it doesn't since v0.22...

Not really a big issue, just an annoyance.

@ReenigneArcher
Copy link
Member

I can't replicate this. I have Firefox as my default browser...

@drujd
Copy link

drujd commented Apr 2, 2024

Hmm, maybe it's just an issue with MSIX/Microsoft Store installation?

@ReenigneArcher
Copy link
Member

Sunshine can't be installed from MSFT Store...

@drujd
Copy link

drujd commented Apr 2, 2024

I meant Firefox. :)

@ryanrocksize5
Copy link

ryanrocksize5 commented Apr 22, 2024

Same here, not working on latest release as of today (0.23.1), using Windows 10 with Chrome, same log outputs which seems to indicate as nothing wrong, but browser refuses to connect

Update: so its mainly just an issue with the "Open sunshine" using localhost instead of your local ip address of the host pc.

Ex : https://127.0.0.1:47990 (this will work, localhost won't), just for those who may face this issue.

@LizardByte-bot
Copy link
Member

It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!

@drujd
Copy link

drujd commented Jul 30, 2024

Still an issue.

@KobeRiddle-dev
Copy link

I'm having the same issue. I am also using the MSFT store version of Firefox (it allows me to install Firefox on a new system without having to open another browser).

@Hammerliu
Copy link

Same issue. The Firefox process is created and then immediately terminates with code 0xc0000022.
Screenshot 2024-09-15 163156

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os:Windows OS is Windows
Projects
None yet
Development

No branches or pull requests

8 participants