Jellyfin Forum
Movie & TV Show Metadata will not grab from the internet. - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: Movie & TV Show Metadata will not grab from the internet. (/t-movie-tv-show-metadata-will-not-grab-from-the-internet)



Movie & TV Show Metadata will not grab from the internet. - Ruby Kenny - 2024-12-19

I just set my server up yesterday on my main Windows 10 machine. It automatically scanned for posters but grabbed none. All the movies had this issue, it pretty much went the same way as detailed below. I also added a plugin for Fanart.tv thinking that would maybe help but it did nothing.

Code:
[13:50:44] [INF] [24] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting ffprobe with args -analyzeduration 200M -probesize 1G -i file:"E:\Movies\Doraemon - The Night Before a Wedding (1999)\Doraemon (1999) - Nobita no Kekkon Zenya [AmazonJP] [1080p].mkv.en.ass" -threads 0 -v warning -print_format json -show_streams -show_format
[13:50:44] [ERR] [24] MediaBrowser.Providers.Movies.MovieMetadataService: Error in TheMovieDb
System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:8000)
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
  at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
  at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
  --- End of inner exception stack trace ---
  at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
  at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.EstablishProxyTunnelAsync(Boolean async, CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
  at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
  at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
  at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
  at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
  at TMDbLib.Rest.RestRequest.SendInternal(HttpMethod method, CancellationToken cancellationToken)
  at TMDbLib.Rest.RestRequest.Get[T](CancellationToken cancellationToken)
  at TMDbLib.Rest.RestRequestExtensions.GetOfT[T](RestRequest request, CancellationToken cancellationToken)
  at TMDbLib.Client.TMDbClient.GetConfigAsync()
  at MediaBrowser.Providers.Plugins.Tmdb.TmdbClientManager.EnsureClientConfigAsync()
  at MediaBrowser.Providers.Plugins.Tmdb.TmdbClientManager.SearchMovieAsync(String name, Int32 year, String language, CancellationToken cancellationToken)
  at MediaBrowser.Providers.Plugins.Tmdb.Movies.TmdbMovieProvider.GetMetadata(MovieInfo info, CancellationToken cancellationToken)
  at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, Boolean replaceData, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)

If I need to provide anything else, please let me know as I am new to this. Thank you.


RE: Movie & TV Show Metadata will not grab from the internet. - TheDreadPirate - 2024-12-19

Do you have anything running that would act as a proxy for outgoing connections? Why is it trying to connect to localhost port 8000?


RE: Movie & TV Show Metadata will not grab from the internet. - Ruby Kenny - 2024-12-19

(2024-12-19, 07:30 PM)TheDreadPirate Wrote: Do you have anything running that would act as a proxy for outgoing connections?  Why is it trying to connect to localhost port 8000?

The only thing I can think of would be my VPN app, Mullvad. but that's turned off and isn't even open so idk why it would cause problems.

(2024-12-19, 09:21 PM)Ruby Kenny Wrote:
(2024-12-19, 07:30 PM)TheDreadPirate Wrote: Do you have anything running that would act as a proxy for outgoing connections?  Why is it trying to connect to localhost port 8000?

The only thing I can think of would be my VPN app, Mullvad. but that's turned off and isn't even open so idk why it would cause problems.

Another thing too, I looked in the settings and saw that the server address was set to 8096 so i have no idea why it would be causing me issues. as far as I recall that's the default one.


RE: Movie & TV Show Metadata will not grab from the internet. - TheDreadPirate - 2024-12-19

Can you share the contents of C:\ProgramData\Jellyfin\Server\config\network.xml


RE: Movie & TV Show Metadata will not grab from the internet. - Ruby Kenny - 2024-12-20

(2024-12-19, 10:21 PM)TheDreadPirate Wrote: Can you share the contents of C:\ProgramData\Jellyfin\Server\config\network.xml

Ok.

Code:
<?xml version="1.0" encoding="utf-8"?>
<NetworkConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <BaseUrl />
  <EnableHttps>false</EnableHttps>
  <RequireHttps>false</RequireHttps>
  <InternalHttpPort>8096</InternalHttpPort>
  <InternalHttpsPort>8920</InternalHttpsPort>
  <PublicHttpPort>8096</PublicHttpPort>
  <PublicHttpsPort>8920</PublicHttpsPort>
  <AutoDiscovery>true</AutoDiscovery>
  <EnableUPnP>true</EnableUPnP>
  <EnableIPv4>true</EnableIPv4>
  <EnableIPv6>true</EnableIPv6>
  <EnableRemoteAccess>true</EnableRemoteAccess>
  <LocalNetworkSubnets>
    <string>192.168.1.249</string>
    <string>192.168.1.254</string>
  </LocalNetworkSubnets>
  <LocalNetworkAddresses />
  <KnownProxies />
  <IgnoreVirtualInterfaces>true</IgnoreVirtualInterfaces>
  <VirtualInterfaceNames>
    <string>veth</string>
  </VirtualInterfaceNames>
  <EnablePublishedServerUriByRequest>false</EnablePublishedServerUriByRequest>
  <PublishedServerUriBySubnet />
  <RemoteIPFilter />
  <IsRemoteIPFilterBlacklist>false</IsRemoteIPFilterBlacklist>
</NetworkConfiguration>



RE: Movie & TV Show Metadata will not grab from the internet. - Ruby Kenny - 2024-12-20

(2024-12-20, 02:05 AM)Ruby Kenny Wrote:
(2024-12-19, 10:21 PM)TheDreadPirate Wrote: Can you share the contents of C:\ProgramData\Jellyfin\Server\config\network.xml

Ok.

Code:
<?xml version="1.0" encoding="utf-8"?>
<NetworkConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <BaseUrl />
  <EnableHttps>false</EnableHttps>
  <RequireHttps>false</RequireHttps>
  <InternalHttpPort>8096</InternalHttpPort>
  <InternalHttpsPort>8920</InternalHttpsPort>
  <PublicHttpPort>8096</PublicHttpPort>
  <PublicHttpsPort>8920</PublicHttpsPort>
  <AutoDiscovery>true</AutoDiscovery>
  <EnableUPnP>true</EnableUPnP>
  <EnableIPv4>true</EnableIPv4>
  <EnableIPv6>true</EnableIPv6>
  <EnableRemoteAccess>true</EnableRemoteAccess>
  <LocalNetworkSubnets>
    <string>192.168.1.249</string>
    <string>192.168.1.254</string>
  </LocalNetworkSubnets>
  <LocalNetworkAddresses />
  <KnownProxies />
  <IgnoreVirtualInterfaces>true</IgnoreVirtualInterfaces>
  <VirtualInterfaceNames>
    <string>veth</string>
  </VirtualInterfaceNames>
  <EnablePublishedServerUriByRequest>false</EnablePublishedServerUriByRequest>
  <PublishedServerUriBySubnet />
  <RemoteIPFilter />
  <IsRemoteIPFilterBlacklist>false</IsRemoteIPFilterBlacklist>
</NetworkConfiguration>

Also I can't seem to access the Plugin Catalog. something seriously weird is happening to my internet.


RE: Movie & TV Show Metadata will not grab from the internet. - TheDreadPirate - 2024-12-20

AFAICT, the issue is not with Jellyfin. I don't have enough information to diagnose it more than that.

You can try an old fix I know for weird networking problems, but I'm not sure what else you did or have installed to cause it to try to access TMDB via "localhost:8000".

Open an admin command prompt and type this command, then reboot.

Code:
netsh winsock reset



RE: Movie & TV Show Metadata will not grab from the internet. - dlxfuentes - 2024-12-20

Almost seems like you're having the same issue I'm having. Try unchecking TMDB from your metadata fetchers for that library and then re-scan. Not a long-term fix but might work for you in the meantime.