jellyfin / jellyfin-media-player

Jellyfin Desktop Client
GNU General Public License v2.0
2.87k stars 297 forks source link

Unable to connect to Jellyfin server when Base URL is defined after updating to JMP 1.11.0 #683

Closed mercindustries closed 3 weeks ago

mercindustries commented 3 weeks ago

Describe the bug Unable to connect to Jellyfin server when Base URL is defined after updating to JMP 1.11.0

To Reproduce Steps to reproduce the behavior:

  1. After updating JMP will ask to connect to Server
  2. Enter the host that has a Base URL defined http://subdomain.domain.com/jellyfin
  3. JMP will throw out error:

Connection Failure We're unable to connect to the selected server right now. Please ensure it is running and try again.

Expected behavior JMP should be able to connect to servers with Base URL defined.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Nothing useful can be seen from Jellyfin logs. Jellyfin server is confirmed to be working via browser and after downgrading back to JMP 1.10.1

EisFrei commented 3 weeks ago

I can confirm this exact behaviour.

In addition I have basic auth active on the root directory, but not the jellyfin subdirectory. Yet I get prompted to enter the basic auth credentials. This wasn't the case with earlier JMP versions.

Downgraded to 1.10.1

michaelcresswell commented 3 weeks ago

I saw this behavior at first when I tried to connect to my main Jellyfin instance (10.9.4) with a base URL defined.

I have a test instance (unstable) without a base URL and JMP 1.11.0 connects to it.

Interestingly, after connecting to an instance without a base URL I can now connect to my Jellyfin instance with a base URL.

macOS / 14.3 / Apple Silicon DMG

vincejv commented 3 weeks ago

Can confirm with Linux desktop as well, not having issues with other clients, web (chrome), android and iOS.. using reverse proxy subpath/subfolder, same as op's url path https://subdomain.domain.com/jellyfin

Server: Jellyfin version: 10.9.5 also doesn't work after upgrade to 10.9.6 image

iwalton3 commented 3 weeks ago

Try this dev build: https://github.com/jellyfin/jellyfin-media-player/actions/runs/9417664965

mercindustries commented 3 weeks ago

It appears that the dev build has resolved the issue for me on Apple Silicon

vincejv commented 3 weeks ago

Thanks for the quick turn around, working for me as well..

Maltahl commented 3 weeks ago

The Dev client fixed it for me as well on Windows 11.

erictbar commented 3 weeks ago

Dev build fixed it for me on Windows 11

iwalton3 commented 3 weeks ago

Fixed in latest release