Jellyfin Forum
Jellyfin Localhost Won't Load Home Screen Library Categories if Offline - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Jellyfin Localhost Won't Load Home Screen Library Categories if Offline (/t-jellyfin-localhost-won-t-load-home-screen-library-categories-if-offline)



Jellyfin Localhost Won't Load Home Screen Library Categories if Offline - glytch - 2024-06-05

Problem

My Jellyfin on Localhost won't display the Home Screen Library categories if the Internet is offline or Ethernet is disconnected. It just shows a spinning blue loading circle.

I'm not streaming over the Internet or Network, I'm directly playing the file off a hard drive connected to the PC.

I connect with the Web Browser or Jellyfin Media Player.

This URL doesn't load the Home Screen categories when offline
http://127.0.0.1:8096/web/#/home.html

These URL's work, display the media thumbnails and files are playable offline
http://127.0.0.1:8096/web/#/movies.html
http://127.0.0.1:8096/web/#/music.html
http://127.0.0.1:8096/web/#/list.html

Dashboard works and settings are savable offline
http://127.0.0.1:8096/web/#/dashboard


Notes

I tested this on 2 computers with Windows 11 and the Home Screen will not load on either, unless the Internet and Ethernet/WiFi are connected.

The first computer:
A fresh install of Server jellyfin_10.9.4_windows-x64 and JellyfinMediaPlayer-1.10.1-windows-x64.

The second computer:
I upgraded Server from jellyfin_10.8.12_windows-x64 to jellyfin_10.9.4_windows-x64.
And I upgraded JellyfinMediaPlayer-1.9.1-windows-x64 to JellyfinMediaPlayer-1.10.1-windows-x64.

It used to work on Server version 10.8.12 without being connected to a Modem/Router.


Screenshots

[Image: sdnomu.jpg]

[Image: kl0o9g.jpg]


RE: Jellyfin Localhost Won't Load Home Screen Categories if Offline - glytch - 2024-06-05

Update

I found this in the log when trying to connect to the 127.0.0.1:8096/web/#/home.html Home page while offline. 
It's like it won't load the Home page categories unless it first connects to repo.jellyfin.org.

Does this look like the problem? How can it be fixed?

Code:
[2024-06-04 21:10:34.247 -07:00] [ERR] [9] Emby.Server.Implementations.Updates.InstallationManager: An error occurred while accessing the plugin manifest: "https://repo.jellyfin.org/files/plugin/manifest.json"
System.Net.Http.HttpRequestException: No such host is known. (repo.jellyfin.org:443)
---> System.Net.Sockets.SocketException (11001): No such host is known.
  at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
  at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)

This log error does not appear when connected to the Internet and the Home page categories load correctly.


Update 2

I removed the https://repo.jellyfin.org/files/plugin/manifest.json from the Dashboard and it had no effect. I still get a blue loading circle on the Home page.


RE: Jellyfin Localhost Won't Load Home Screen Library Categories if Offline - pcm - 2024-06-05

The fact that the servername and version don't populate sounds like the networkmanager component of jellyfin somehow affects other components that should fetch info from library.db file. I don't know if this is by design or if you have found a bug. To me personally, it sounds like this should be a bug....

To try and fix your issue ... And this is a wild shot in the dark... but you could try to update the network.xml file in
Quote:C:\ProgramData\Jellyfin\config
directory.

Make a backup of the file and update the following configuration values within the file

Code:
<AutoDiscovery>true</AutoDiscovery>
to
Code:
<AutoDiscovery>false</AutoDiscovery>

and

Code:
<EnableRemoteAccess>true</EnableRemoteAccess>
to
Code:
<EnableRemoteAccess>false</EnableRemoteAccess>

and restart the server and see if it helps ?


RE: Jellyfin Localhost Won't Load Home Screen Library Categories if Offline - glytch - 2024-06-05

Before I do that, I found a temporary fix.

I've identified the problem is with the Player and not the Server.

I uninstalled JellyfinMediaPlayer 1.10.1 and reinstalled the older 1.9.1, it now works. The Home Page Library categories now load while offline.
I'm still using the latest Server 10.9.4.

I'm guessing the problem is in the JavaScript files of the jellyfin_10.9.4_windows-x64 Server's Web Player and the JellyfinMediaPlayer-1.10.1-windows-x64 Desktop Player.
There is something hardcoded that is blocking loading the Libaries if the Network is offline.


RE: Jellyfin Localhost Won't Load Home Screen Library Categories if Offline - glytch - 2024-06-05

If you want to test this, and are using a localhost server, just have the latest Jellyfin Server and Player installed and unplug your Ethernet cable or turn off your WiFi and see if your Home Page Libraries still load.


RE: Jellyfin Localhost Won't Load Home Screen Library Categories if Offline - TheDreadPirate - 2024-06-05

When you were on 1.10.1, were you using the built-in web interface or were you using the server's web interface?


RE: Jellyfin Localhost Won't Load Home Screen Library Categories if Offline - glytch - 2024-06-06

(2024-06-05, 01:49 PM)TheDreadPirate Wrote: When you were on 1.10.1, were you using the built-in web interface or were you using the server's web interface?

I'm not sure what the built-in web interface is.

I was using the Server's web interface, when you click on the Jellyfin tray icon and open it in the Web Browser.

I was also using Jellyfin Media Player.

Right now the only Player that works is Jellyfin Media Player 1.9.1.