Jellyfin Forum
Hostname could not be parsed - 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: Hostname could not be parsed (/t-hostname-could-not-be-parsed)



Hostname could not be parsed - DangerBK - 2024-10-27

I'm seeing some errors in the log and wondering if maybe I have something misconfigured somewhere. The ip address is my correct external ip.

Quote:[2024-10-27 00:34:44.564 +00:00] [INF] [19] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "***.***.***.***" request
[2024-10-27 00:37:07.256 +00:00] [WRN] [46] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "***.***.***.***" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[2024-10-27 00:37:07.262 +00:00] [INF] [46] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "***.***.***.***" closed
[2024-10-27 00:57:17.483 +00:00] [ERR] [39] Microsoft.AspNetCore.Server.Kestrel: Connection id ""0HN7LVCUJIR5T"", Request id ""0HN7LVCUJIR5T:00000001"": An unhandled exception was thrown by the application.
System.UriFormatException: Invalid URI: The hostname could not be parsed.
  at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
  at System.UriBuilder.get_Uri()
  at Jellyfin.Api.Middleware.BaseUrlRedirectionMiddleware.Invoke(HttpContext httpContext, IServerConfigurationManager serverConfigurationManager)
  at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication1 application)
[2024-10-27 01:03:28.227 +00:00] [ERR] [52] Microsoft.AspNetCore.Server.Kestrel: Connection id ""0HN7LVCUJIR6U"", Request id ""0HN7LVCUJIR6U:00000001"": An unhandled exception was thrown by the application.
System.UriFormatException: Invalid URI: The hostname could not be parsed.
  at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
  at System.UriBuilder.get_Uri()
  at Jellyfin.Api.Middleware.BaseUrlRedirectionMiddleware.Invoke(HttpContext httpContext, IServerConfigurationManager serverConfigurationManager)
  at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication
1 application)



RE: Hostname could not be parsed - theguymadmax - 2024-10-27

Check out this GitHub post and see if it applies to your situation.