Skip to content

Browsers not showing credential pop-up - not authorized #3649

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

Closed
2 tasks done
mnul opened this issue Feb 8, 2025 · 8 comments · May be fixed by #2995
Closed
2 tasks done

Browsers not showing credential pop-up - not authorized #3649

mnul opened this issue Feb 8, 2025 · 8 comments · May be fixed by #2995

Comments

@mnul
Copy link

mnul commented Feb 8, 2025

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 latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

I have installed Sunshine on my Windows PC. After initial credential setup through the browser (and accepting the security warning afterwards) in Chrome I get "ERR_TOO_MANY_RETRIES", Firefox just keeps loading endlessly. Resetting or changing credentials give same results. Clearing browser cache did not help either.
If you start sunshine.exe through administrator-powershell output shows
[2025-02-08 19:24:17.551]: Info: Found H.264 encoder: h264_nvenc [nvenc] [2025-02-08 19:24:17.552]: Info: Found HEVC encoder: hevc_nvenc [nvenc] [2025-02-08 19:24:17.562]: Info: Configuration UI available at [https://localhost:47990] [2025-02-08 19:24:18.345]: Info: Registered Sunshine mDNS service [2025-02-08 19:25:04.514]: Info: Web UI: [127.0.0.1] -- not authorized

Opening through a portable Opera browser brought a pop-up asking for credentials. Then it worked.
So somehow there must be an issue that Chrome and Firefox are not asking for credentials.

Expected Behavior

Firefox and Chrome should ask for passwords

Additional Context

No response

Host Operating System

Windows

Operating System Version

24H2

Architecture

amd64/x86_64

Sunshine commit or version

v2025.122.141614

Package

Windows - installer (recommended)

GPU Type

AMD

GPU Model

nvidia RTX 3070TI

GPU Driver/Mesa Version

572.16

Capture Method

None

Config

[empty]

Apps

Relevant log output

[2025-02-08 19:24:13.033]: Info: Sunshine version: v2025.122.141614
[2025-02-08 19:24:13.035]: Info: Package Publisher: LizardByte
[2025-02-08 19:24:13.035]: Info: Publisher Website: https://app.lizardbyte.dev
[2025-02-08 19:24:13.036]: Info: Get support: https://app.lizardbyte.dev/support
[2025-02-08 19:24:13.037]: Info: Provided workaround settings for SettingsManager:
{
  "hdr_blank_delay": null
}
[2025-02-08 19:24:13.069]: Info: Currently available display devices:
[
  {
    "device_id": "{59a6bf8b-0556-5a9f-994e-cf8a47688650}",
    "display_name": "\\\\.\\DISPLAY1",
    "friendly_name": "ASUS PB279",
    "info": {
      "hdr_state": null,
      "origin_point": {
        "x": 0,
        "y": 0
      },
      "primary": true,
      "refresh_rate": {
        "type": "rational",
        "value": {
          "denominator": 1000,
          "numerator": 59997
        }
      },
      "resolution": {
        "height": 2160,
        "width": 3840
      },
      "resolution_scale": {
        "type": "rational",
        "value": {
          "denominator": 100,
          "numerator": 150
        }
      }
    }
  },
  {
    "device_id": "{ba62633b-2c6e-5eff-a5ae-f3293c8dfb64}",
    "display_name": "\\\\.\\DISPLAY2",
    "friendly_name": "B277U E",
    "info": {
      "hdr_state": "Disabled",
      "origin_point": {
        "x": 3840,
        "y": 406
      },
      "primary": false,
      "refresh_rate": {
        "type": "rational",
        "value": {
          "denominator": 1000,
          "numerator": 59951
        }
      },
      "resolution": {
        "height": 1440,
        "width": 2560
      },
      "resolution_scale": {
        "type": "rational",
        "value": {
          "denominator": 100,
          "numerator": 100
        }
      }
    }
  }
]
[2025-02-08 19:24:13.668]: Info: nvprefs: No need to modify application profile settings
[2025-02-08 19:24:13.669]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2025-02-08 19:24:13.820]: Info: Compiling shaders...
[2025-02-08 19:24:13.886]: Info: System tray created
[2025-02-08 19:24:14.147]: Info: Compiled shaders
[2025-02-08 19:24:14.168]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[...]
[2025-02-08 19:24:17.550]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-02-08 19:24:17.551]: Info: 
[2025-02-08 19:24:17.551]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-02-08 19:24:17.552]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-02-08 19:24:17.562]: Info: Configuration UI available at [https://localhost:47990]
[2025-02-08 19:24:18.345]: Info: Registered Sunshine mDNS service
[2025-02-08 19:25:04.514]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-02-08 19:25:35.308]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-02-08 19:25:35.318]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-02-08 19:25:35.324]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-02-08 19:25:35.330]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-02-08 19:25:35.335]: Info: Web UI: [127.0.0.1] -- not authorized
@ReenigneArcher
Copy link
Member

Please try in incognito mode

@mnul
Copy link
Author

mnul commented Feb 8, 2025

same result.
ERR_TOO_MANY_RETRIES

There must be some differences in how Opera and Firefox/Chrome handle the authentication.

@ReenigneArcher
Copy link
Member

I don't know, but this is somehow a you problem. I cannot replicate this in any browser.

@sdrichter
Copy link

sdrichter commented Feb 25, 2025

Can confirm this issue. I installed Sunshine on a fresh Fedora 41 install from the lizardbyte/stable reposidory via dnf following the instructions here.

Initially I received the welcome page to set my credentials for the first time. After doing so the page refreshes then enters an infinite loop with the sunshine log repeating this message thousands of times:

[2025-02-25 14:47:43.290]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-02-25 14:47:43.292]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-02-25 14:47:43.293]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-02-25 14:47:43.294]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-02-25 14:47:43.294]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-02-25 14:47:43.296]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-02-25 14:47:43.297]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-02-25 14:47:43.335]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-02-25 14:47:43.336]: Info: Web UI: [127.0.0.1] -- not authorized

Trying to re-open the browser and visit the web UI results in the same infinite loop. I tried with incognito mode as well with the same result. Reinstalling Sunshine doesn't fix it. I also tried setting new creds using the sunshine CLI, but no luck. This was reproduced with Firefox.

@ReenigneArcher
Copy link
Member

I think your browser has basic authentication disabled:

https://superuser.com/questions/770897/firefox-does-not-prompt-for-password-for-http-authenticated-sites-how-to-make-i

Anyway, not a Sunshine bug. There is no setting we can add to Sunshine to make your browser accept basic auth.

@ReenigneArcher ReenigneArcher closed this as not planned Won't fix, can't repro, duplicate, stale Mar 13, 2025
@mnul
Copy link
Author

mnul commented Mar 13, 2025

The linked information states it is a Firefox-only problem. But in my case it was also happening on Chrome, Edge and Firefox. So somehow not completely relate to the linked information.

@ReenigneArcher
Copy link
Member

You can search google for solutions for whatever browser you have.

@rursache
Copy link

rursache commented Apr 13, 2025

fresh installed today on windows 11, latest chrome (135.0.7049.85 (Official Build) (64-bit)) and after setting up the user/pass, all i get now is ERR_TOO_MANY_RETRIES. same on the build-in edge

if modern browsers can't handle whatever sunshine is doing, then sunshine should have a form auth like all other sites. by this you also support password managers...
so @ReenigneArcher , this is an sunshine bug. the software cannot be used at this point.

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

Successfully merging a pull request may close this issue.

4 participants