Skip to content
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

Prowlarr unable to access network #2076

Closed
2 tasks done
meehien opened this issue Mar 20, 2024 · 15 comments
Closed
2 tasks done

Prowlarr unable to access network #2076

meehien opened this issue Mar 20, 2024 · 15 comments
Labels
Status: Needs Triage New Issue needing triage Type: Bug Issue is a bug

Comments

@meehien
Copy link

meehien commented Mar 20, 2024

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Current Behavior

After update to version Prowlarr version 1.14.3.4333 Prowlarr is no longer able to access any remote content e.g.: updates page prints "Failed to fetch updates", all indexers unavailable, all *arr instances unavailable.

Expected Behavior

Normal functionality.

Steps To Reproduce

Install latest version of Prowlarr on Archlinux AARCH64.

Environment

- OS: Archlinux AARCH64
- Prowlarr: 1.14.3.4333
- Docker Install: none
- Using Reverse Proxy: nginx
- Browser: any

What branch are you running?

Master

Trace Logs?

2024-03-20 14:10:12.8|Trace|ConfigService|Using default config value for 'proxyusername' defaultValue:''
2024-03-20 14:10:12.8|Trace|EventAggregator|ConfigFileSavedEvent <~ ReconfigureLogging
2024-03-20 14:10:12.8|Trace|ConfigService|Using default config value for 'proxypassword' defaultValue:''
2024-03-20 14:10:12.8|Trace|ConfigService|Using default config value for 'proxybypassfilter' defaultValue:''
2024-03-20 14:10:12.8|Trace|ConfigService|Using default config value for 'backupfolder' defaultValue:'Backups'
2024-03-20 14:10:12.8|Trace|ConfigService|Using default config value for 'backupinterval' defaultValue:'7'
2024-03-20 14:10:12.8|Trace|ConfigService|Using default config value for 'backupretention' defaultValue:'28'
2024-03-20 14:10:12.8|Trace|ConfigService|Using default config value for 'applicationurl' defaultValue:''
2024-03-20 14:10:12.8|Trace|EventAggregator|Publishing ConfigSavedEvent
2024-03-20 14:10:12.8|Trace|EventAggregator|ConfigSavedEvent -> UiAuthorizationHandler
2024-03-20 14:10:12.8|Trace|EventAggregator|ConfigSavedEvent <- UiAuthorizationHandler
2024-03-20 14:10:12.8|Trace|EventAggregator|ConfigSavedEvent ~> LocalizationService
2024-03-20 14:10:12.8|Trace|EventAggregator|ConfigSavedEvent <~ LocalizationService
2024-03-20 14:10:12.8|Trace|EventAggregator|ConfigSavedEvent ~> TaskManager
2024-03-20 14:10:12.9|Trace|ConfigService|Using default config value for 'backupinterval' defaultValue:'7'
2024-03-20 14:10:12.9|Trace|ConfigService|Using default config value for 'proxyusername' defaultValue:''
2024-03-20 14:10:12.9|Trace|ConfigService|Using default config value for 'proxypassword' defaultValue:''
2024-03-20 14:10:12.9|Trace|ConfigService|Using default config value for 'proxybypassfilter' defaultValue:''
2024-03-20 14:10:12.9|Trace|ConfigService|Using default config value for 'backupfolder' defaultValue:'Backups'
2024-03-20 14:10:12.9|Trace|ConfigService|Using default config value for 'backupinterval' defaultValue:'7'
2024-03-20 14:10:12.9|Trace|ConfigService|Using default config value for 'backupretention' defaultValue:'28'
2024-03-20 14:10:12.9|Trace|ConfigService|Using default config value for 'applicationurl' defaultValue:''
2024-03-20 14:10:12.9|Trace|ConfigService|Using default config value for 'historycleanupdays' defaultValue:'30'
2024-03-20 14:10:12.9|Trace|EventAggregator|ConfigSavedEvent <~ TaskManager
2024-03-20 14:10:13.0|Trace|Http|Res: 19 [PUT] /api/v1/config/host: 202.Accepted (504 ms)
2024-03-20 14:10:13.0|Debug|Api|[PUT] /api/v1/config/host: 202.Accepted (504 ms)
2024-03-20 14:10:15.4|Trace|Http|Req: 20 [GET] /api/v1/health (from 192.168.7.218 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0)
2024-03-20 14:10:15.4|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2024-03-20 14:10:15.4|Trace|Http|Req: 21 [GET] /api/v1/system/status (from 192.168.7.218 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0)
2024-03-20 14:10:15.4|Trace|Http|Res: 20 [GET] /api/v1/health: 200.OK (11 ms)
2024-03-20 14:10:15.4|Debug|Api|[GET] /api/v1/health: 200.OK (11 ms)
2024-03-20 14:10:15.4|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2024-03-20 14:10:15.5|Trace|Http|Res: 21 [GET] /api/v1/system/status: 200.OK (47 ms)
2024-03-20 14:10:15.5|Debug|Api|[GET] /api/v1/system/status: 200.OK (47 ms)
2024-03-20 14:10:17.0|Trace|Http|Req: 22 [GET] /api/v1/log/file (from 192.168.7.218 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0)
2024-03-20 14:10:17.0|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2024-03-20 14:10:17.0|Trace|Http|Res: 22 [GET] /api/v1/log/file: 200.OK (31 ms)
2024-03-20 14:10:17.0|Debug|Api|[GET] /api/v1/log/file: 200.OK (31 ms)
2024-03-20 14:10:17.8|Trace|HealthCheckService|Check health -> UpdateCheck
2024-03-20 14:10:17.8|Trace|HealthCheckService|Check health <- UpdateCheck
2024-03-20 14:10:17.8|Trace|HealthCheckService|Check health -> ApiKeyValidationCheck
2024-03-20 14:10:17.8|Trace|HealthCheckService|Check health <- ApiKeyValidationCheck
2024-03-20 14:10:17.8|Trace|HealthCheckService|Check health -> ProxyCheck
2024-03-20 14:10:17.8|Trace|HealthCheckService|Check health <- ProxyCheck
2024-03-20 14:10:17.8|Trace|HealthCheckService|Check health -> ReleaseBranchCheck
2024-03-20 14:10:17.8|Trace|HealthCheckService|Check health <- ReleaseBranchCheck
2024-03-20 14:10:17.8|Trace|EventAggregator|Publishing HealthCheckCompleteEvent
2024-03-20 14:10:17.8|Trace|EventAggregator|HealthCheckCompleteEvent -> HealthController
2024-03-20 14:10:17.9|Trace|EventAggregator|HealthCheckCompleteEvent <- HealthController
2024-03-20 14:10:17.9|Trace|EventAggregator|HealthCheckCompleteEvent ~> NotificationService
2024-03-20 14:10:17.9|Trace|EventAggregator|HealthCheckCompleteEvent <~ NotificationService
2024-03-20 14:10:18.0|Trace|Http|Req: 23 [GET] /api/v1/health (from 192.168.7.218 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0)
2024-03-20 14:10:18.0|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2024-03-20 14:10:18.0|Trace|Http|Res: 23 [GET] /api/v1/health: 200.OK (6 ms)
2024-03-20 14:10:18.0|Debug|Api|[GET] /api/v1/health: 200.OK (6 ms)
2024-03-20 14:10:23.0|Trace|Http|Req: 24 [GET] /api/v1/update (from 192.168.7.218 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0)
2024-03-20 14:10:23.0|Trace|Http|Req: 25 [GET] /api/v1/config/host (from 192.168.7.218 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0)
2024-03-20 14:10:23.0|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2024-03-20 14:10:23.0|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2024-03-20 14:10:23.0|Trace|ConfigService|Using default config value for 'proxyusername' defaultValue:''
2024-03-20 14:10:23.0|Trace|ConfigService|Using default config value for 'proxypassword' defaultValue:''
2024-03-20 14:10:23.0|Trace|ConfigService|Using default config value for 'proxybypassfilter' defaultValue:''
2024-03-20 14:10:23.0|Trace|ConfigService|Using default config value for 'backupfolder' defaultValue:'Backups'
2024-03-20 14:10:23.0|Trace|HttpClient|Req: [GET] https://prowlarr.servarr.com/v1/update/master/changes?version=1.14.3.4333&os=linux&arch=Arm64&runtime=netcore&runtimeVer=6.0.25&dbType=SQLite&prevVersion=1.13.3.4273
2024-03-20 14:10:23.0|Trace|ConfigService|Using default config value for 'backupinterval' defaultValue:'7'
2024-03-20 14:10:23.0|Trace|ConfigService|Using default config value for 'backupretention' defaultValue:'28'
2024-03-20 14:10:23.0|Trace|ConfigService|Using default config value for 'applicationurl' defaultValue:''
2024-03-20 14:10:23.0|Trace|ConfigService|Using default config value for 'historycleanupdays' defaultValue:'30'
2024-03-20 14:10:23.0|Trace|Http|Res: 25 [GET] /api/v1/config/host: 200.OK (20 ms)
2024-03-20 14:10:23.0|Debug|Api|[GET] /api/v1/config/host: 200.OK (20 ms)
2024-03-20 14:10:23.1|Trace|ProwlarrErrorPipeline|Handling Exception
2024-03-20 14:10:23.1|Fatal|ProwlarrErrorPipeline|Request Failed. GET /api/v1/update

[v1.14.3.4333] System.Net.Http.HttpRequestException: An invalid IP address was specified. (Parameter 'address') (prowlarr.servarr.com:443)
 ---> System.ArgumentException: An invalid IP address was specified. (Parameter 'address')
   at System.Net.IPAddress..ctor(ReadOnlySpan`1 address)
   at System.Net.NetworkInformation.LinuxNetworkInterface.GetLinuxNetworkInterfaces()
   at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.HasRoutableIPv4Address() in ./Prowlarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 283
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.onConnect(SocketsHttpConnectionContext context, CancellationToken cancellationToken) in ./Prowlarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 316
   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.AddHttp2ConnectionAsync(HttpRequestMessage request)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttp2ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.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 NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponseAsync(HttpRequest request, CookieContainer cookies) in ./Prowlarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 114
   at NzbDrone.Common.Http.HttpClient.ExecuteRequestAsync(HttpRequest request, CookieContainer cookieContainer) in ./Prowlarr.Common/Http/HttpClient.cs:line 171
   at NzbDrone.Common.Http.HttpClient.ExecuteAsync(HttpRequest request) in ./Prowlarr.Common/Http/HttpClient.cs:line 70
   at NzbDrone.Common.Http.HttpClient.GetAsync[T](HttpRequest request) in ./Prowlarr.Common/Http/HttpClient.cs:line 393
   at NzbDrone.Common.Http.HttpClient.Get[T](HttpRequest request) in ./Prowlarr.Common/Http/HttpClient.cs:line 401
   at NzbDrone.Core.Update.UpdatePackageProvider.GetRecentUpdates(String branch, Version currentVersion, Version previousVersion) in ./Prowlarr.Core/Update/UpdatePackageProvider.cs:line 96
   at NzbDrone.Core.Update.RecentUpdateProvider.GetRecentUpdatePackages() in ./Prowlarr.Core/Update/RecentUpdateProvider.cs:line 33
   at Prowlarr.Api.V1.Update.UpdateController.GetRecentUpdates() in ./Prowlarr.Api.V1/Update/UpdateController.cs:line 27
   at lambda_method84(Closure , Object , Object[] )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Prowlarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/BufferingMiddleware.cs:line 27
   at Prowlarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/IfModifiedMiddleware.cs:line 40
   at Prowlarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/CacheHeaderMiddleware.cs:line 32
   at Prowlarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/StartingUpMiddleware.cs:line 37
   at Prowlarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/UrlBaseMiddleware.cs:line 26
   at Prowlarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/VersionMiddleware.cs:line 28
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)


2024-03-20 14:10:24.8|Trace|Http|Req: 26 [GET] /api/v1/system/backup (from 192.168.7.218 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0)
2024-03-20 14:10:25.0|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2024-03-20 14:10:25.0|Trace|Http|Res: 24 [GET] /api/v1/update: 500.InternalServerError (1935 ms)
2024-03-20 14:10:25.0|Debug|Api|[GET] /api/v1/update: 500.InternalServerError (1935 ms)
2024-03-20 14:10:25.0|Trace|ConfigService|Using default config value for 'backupfolder' defaultValue:'Backups'
2024-03-20 14:10:25.0|Trace|ConfigService|Using default config value for 'backupfolder' defaultValue:'Backups'
2024-03-20 14:10:25.0|Trace|ConfigService|Using default config value for 'backupfolder' defaultValue:'Backups'
2024-03-20 14:10:25.1|Trace|Http|Res: 26 [GET] /api/v1/system/backup: 200.OK (268 ms)
2024-03-20 14:10:25.1|Debug|Api|[GET] /api/v1/system/backup: 200.OK (268 ms)
2024-03-20 14:10:26.6|Trace|Http|Req: 27 [GET] /api/v1/log?page=1&pageSize=50&sortDirection=descending&sortKey=time (from 192.168.7.218 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0)
2024-03-20 14:10:26.6|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2024-03-20 14:10:26.8|Trace|Http|Res: 27 [GET] /api/v1/log?page=1&pageSize=50&sortDirection=descending&sortKey=time: 200.OK (208 ms)
2024-03-20 14:10:26.8|Debug|Api|[GET] /api/v1/log?page=1&pageSize=50&sortDirection=descending&sortKey=time: 200.OK (208 ms)
2024-03-20 14:10:29.1|Trace|Http|Req: 28 [GET] /api/v1/log/file (from 192.168.7.218 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0)
2024-03-20 14:10:29.1|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2024-03-20 14:10:29.1|Trace|Http|Res: 28 [GET] /api/v1/log/file: 200.OK (11 ms)
2024-03-20 14:10:29.1|Debug|Api|[GET] /api/v1/log/file: 200.OK (11 ms)
2024-03-20 14:10:30.6|Trace|Http|Req: 29 [GET] /api/v1/config/host (from 192.168.7.218 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0)
2024-03-20 14:10:30.6|Trace|Http|Req: 30 [GET] /api/v1/update (from 192.168.7.218 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0)
2024-03-20 14:10:30.6|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2024-03-20 14:10:30.6|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2024-03-20 14:10:30.7|Trace|ConfigService|Using default config value for 'proxyusername' defaultValue:''
2024-03-20 14:10:30.7|Trace|ConfigService|Using default config value for 'proxypassword' defaultValue:''
2024-03-20 14:10:30.7|Trace|ConfigService|Using default config value for 'proxybypassfilter' defaultValue:''
2024-03-20 14:10:30.7|Trace|ConfigService|Using default config value for 'backupfolder' defaultValue:'Backups'
2024-03-20 14:10:30.7|Trace|HttpClient|Req: [GET] https://prowlarr.servarr.com/v1/update/master/changes?version=1.14.3.4333&os=linux&arch=Arm64&runtime=netcore&runtimeVer=6.0.25&dbType=SQLite&prevVersion=1.13.3.4273
2024-03-20 14:10:30.7|Trace|ConfigService|Using default config value for 'backupinterval' defaultValue:'7'
2024-03-20 14:10:30.7|Trace|ConfigService|Using default config value for 'backupretention' defaultValue:'28'
2024-03-20 14:10:30.7|Trace|ConfigService|Using default config value for 'applicationurl' defaultValue:''
2024-03-20 14:10:30.7|Trace|ConfigService|Using default config value for 'historycleanupdays' defaultValue:'30'
2024-03-20 14:10:30.7|Trace|Http|Res: 29 [GET] /api/v1/config/host: 200.OK (29 ms)
2024-03-20 14:10:30.7|Debug|Api|[GET] /api/v1/config/host: 200.OK (29 ms)
2024-03-20 14:10:31.0|Trace|ProwlarrErrorPipeline|Handling Exception
2024-03-20 14:10:31.6|Trace|Http|Req: 31 [GET] /api/v1/log/file (from 192.168.7.218 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0)
2024-03-20 14:10:31.6|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2024-03-20 14:10:31.6|Trace|Http|Res: 31 [GET] /api/v1/log/file: 200.OK (6 ms)
2024-03-20 14:10:31.6|Debug|Api|[GET] /api/v1/log/file: 200.OK (6 ms)
2024-03-20 14:10:31.0|Fatal|ProwlarrErrorPipeline|Request Failed. GET /api/v1/update

[v1.14.3.4333] System.Net.Http.HttpRequestException: An invalid IP address was specified. (Parameter 'address') (prowlarr.servarr.com:443)
 ---> System.ArgumentException: An invalid IP address was specified. (Parameter 'address')
   at System.Net.IPAddress..ctor(ReadOnlySpan`1 address)
   at System.Net.NetworkInformation.LinuxNetworkInterface.GetLinuxNetworkInterfaces()
   at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.HasRoutableIPv4Address() in ./Prowlarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 283
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.onConnect(SocketsHttpConnectionContext context, CancellationToken cancellationToken) in ./Prowlarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 316
   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.AddHttp2ConnectionAsync(HttpRequestMessage request)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttp2ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.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 NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponseAsync(HttpRequest request, CookieContainer cookies) in ./Prowlarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 114
   at NzbDrone.Common.Http.HttpClient.ExecuteRequestAsync(HttpRequest request, CookieContainer cookieContainer) in ./Prowlarr.Common/Http/HttpClient.cs:line 171
   at NzbDrone.Common.Http.HttpClient.ExecuteAsync(HttpRequest request) in ./Prowlarr.Common/Http/HttpClient.cs:line 70
   at NzbDrone.Common.Http.HttpClient.GetAsync[T](HttpRequest request) in ./Prowlarr.Common/Http/HttpClient.cs:line 393
   at NzbDrone.Common.Http.HttpClient.Get[T](HttpRequest request) in ./Prowlarr.Common/Http/HttpClient.cs:line 401
   at NzbDrone.Core.Update.UpdatePackageProvider.GetRecentUpdates(String branch, Version currentVersion, Version previousVersion) in ./Prowlarr.Core/Update/UpdatePackageProvider.cs:line 96
   at NzbDrone.Core.Update.RecentUpdateProvider.GetRecentUpdatePackages() in ./Prowlarr.Core/Update/RecentUpdateProvider.cs:line 33
   at Prowlarr.Api.V1.Update.UpdateController.GetRecentUpdates() in ./Prowlarr.Api.V1/Update/UpdateController.cs:line 27
   at lambda_method84(Closure , Object , Object[] )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Prowlarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/BufferingMiddleware.cs:line 27
   at Prowlarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/IfModifiedMiddleware.cs:line 40
   at Prowlarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/CacheHeaderMiddleware.cs:line 32
   at Prowlarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/StartingUpMiddleware.cs:line 37
   at Prowlarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/UrlBaseMiddleware.cs:line 26
   at Prowlarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Prowlarr.Http/Middleware/VersionMiddleware.cs:line 28
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)


2024-03-20 14:10:32.9|Trace|Http|Res: 30 [GET] /api/v1/update: 500.InternalServerError (2238 ms)
2024-03-20 14:10:32.9|Debug|Api|[GET] /api/v1/update: 500.InternalServerError (2238 ms)
2024-03-20 14:10:34.2|Trace|Scheduler|Pending Tasks: 0
2024-03-20 14:10:34.6|Trace|Http|Req: 32 [GET] /logfile/prowlarr.trace.txt (from 192.168.7.218 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0)

Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided.

  • I have read and followed the steps in the wiki link above and provided the required trace logs - the logs contain trace - that are relevant and show this issue.
@meehien meehien added Status: Needs Triage New Issue needing triage Type: Bug Issue is a bug labels Mar 20, 2024
@mynameisbogdan
Copy link
Contributor

Anything weird in the output of the command ip a s?

Feel free to replace some parts of the your public IPs, if the case.

@mynameisbogdan
Copy link
Contributor

mynameisbogdan commented Mar 20, 2024

Hey @covert8, just a FYI since this seems to be a possible regression due to Sonarr/Sonarr@13af6f5 and most likely it's affecting all of the arrs.

@covert8
Copy link
Contributor

covert8 commented Mar 20, 2024

I'll take a look at it

@covert8
Copy link
Contributor

covert8 commented Mar 20, 2024

Anything weird in the output of the command ip a s?

Feel free to replace some parts of the your public IPs, if the case.

Yes an obfuscated ip a would be welcome @meehien

@mynameisbogdan
Copy link
Contributor

Thanks. I'm really curious what's in ip a s that made NetworkInterface.GetAllNetworkInterfaces() fail.

@meehien
Copy link
Author

meehien commented Mar 20, 2024

Sure thing. See below. Might look a bit scarry :-).
I am only binding on localhost (i.e. 127.0.0.1). Have also tried with * and on the local interface (14: brlan, 192.168.7.1), and had the same result.

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: switch: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 5000
    link/ether 11:22:33:44:55:66 brd ff:ff:ff:ff:ff:ff
3: wan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 5000
    link/ether 11:22:33:44:55:77 brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.100/24 brd 192.168.100.255 scope global modem
       valid_lft forever preferred_lft forever
    inet 2.3.4.5/22 metric 1024 brd 2.3.4.5 scope global dynamic wan
       valid_lft 60956sec preferred_lft 60956sec
    inet6 fe80::xxxx/64 scope link proto kernel_ll
       valid_lft forever preferred_lft forever
4: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN group default qlen 1000
    link/tunnel6 :: brd :: permaddr xxxx::
5: ewan@switch: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master brlan state LOWERLAYERDOWN group default qlen 5000
    link/ether 11:22:33:44:55:66 brd ff:ff:ff:ff:ff:ff
6: lan0@switch: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master brlan state UP group default qlen 5000
    link/ether 11:22:33:44:55:66 brd ff:ff:ff:ff:ff:ff
7: lan1@switch: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master brlan state LOWERLAYERDOWN group default qlen 5000
    link/ether 11:22:33:44:55:66 brd ff:ff:ff:ff:ff:ff
8: lan2@switch: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master brlan state UP group default qlen 5000
    link/ether 11:22:33:44:55:66 brd ff:ff:ff:ff:ff:ff
9: lan3@switch: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master brlan state LOWERLAYERDOWN group default qlen 5000
    link/ether 11:22:33:44:55:66 brd ff:ff:ff:ff:ff:ff
10: lsfp@switch: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master brlan state LOWERLAYERDOWN group default qlen 5000
    link/ether 11:22:33:44:55:66 brd ff:ff:ff:ff:ff:ff
11: wl24G: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master brlan state UP group default qlen 5000
    link/ether 11:22:33:44:55:88 brd ff:ff:ff:ff:ff:ff permaddr 11:22:33:44:55:88
    inet6 fe80::xxxx/64 scope link proto kernel_ll
       valid_lft forever preferred_lft forever
12: wwan: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc cake state UNKNOWN group default qlen 1000
    link/none
    inet 1.2.3.4/30 brd 1.2.3.6 scope global wwan
       valid_lft forever preferred_lft forever
13: wl5G: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master brlan state UP group default qlen 5000
    link/ether 11:22:33:44:55:89 brd ff:ff:ff:ff:ff:ff permaddr 11:22:33:44:55:89
    inet6 fe80::xxxx/64 scope link proto kernel_ll
       valid_lft forever preferred_lft forever
14: brlan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 5000
    link/ether 11:22:33:44:55:11 brd ff:ff:ff:ff:ff:ff
    inet 192.168.7.1/24 brd 192.168.7.255 scope global brlan
       valid_lft forever preferred_lft forever
    inet6 fe80::xxxx/64 scope link proto kernel_ll
       valid_lft forever preferred_lft forever
15: xfrm1@lo: <NOARP,UP,LOWER_UP> mtu 1438 qdisc noqueue state UNKNOWN group default qlen 1000
    link/none
16: xfrm2@lo: <NOARP,UP,LOWER_UP> mtu 1438 qdisc noqueue state UNKNOWN group default qlen 1000
    link/none
17: wg1: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000
    link/none
    inet 10.2.0.2 peer 10.2.0.1/32 scope global wgpr
       valid_lft forever preferred_lft forever
19: ovn: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc cake state UNKNOWN group default qlen 500
    link/none
    inet 10.0.7.1/24 scope global ovn
       valid_lft forever preferred_lft forever
    inet6 fe80::7612:fa9e:ed3e:de31/64 scope link stable-privacy proto kernel_ll
       valid_lft forever preferred_lft forever
46: wg2: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000
    link/none
    inet 10.7.2.2 peer 10.7.2.1/32 scope global wgro
       valid_lft forever preferred_lft forever 

@covert8
Copy link
Contributor

covert8 commented Mar 20, 2024

seems to be related:
dotnet/runtime#49515
org issue:
jellyfin/jellyfin#8687

@meehien
Copy link
Author

meehien commented Mar 20, 2024

#2076 (comment)
might be related. I have encountered this issue with a beta version of sonarr previously. Currently on the stable branch with that so not sure if it's still there.

Edit: Also, I think it might be worth mentioning that Prowlarr 1.13.3.4273 works fine. Currently downgraded to that.

@covert8
Copy link
Contributor

covert8 commented Mar 20, 2024

the rebinding will not help as it's sadly not related; the issue occurs when ipv6 connectivity is tried for the first time and failed

that results in a check i added to see if any ipv4 are present; but i'm guessing the parsing in mono is encountering an unexpected or "invalid" address

that function I added is in the stack trace so it's definitely the cause, but it seems to be the code in mono itself

@covert8
Copy link
Contributor

covert8 commented Mar 20, 2024

I have a pi laying around at home; ill try and get it running tonight.

On second thought, wrapping the code in a try catch and assuming ipv4 connectivity is probably the most obvious solution. What do you think @mynameisbogdan?

@mynameisbogdan
Copy link
Contributor

Seems a reasonable approach. Do you want to push to Sonarr first?

@covert8
Copy link
Contributor

covert8 commented Mar 21, 2024

I'll get it up-streamed via sonarr

@mynameisbogdan
Copy link
Contributor

Thank you.

@meehien
Copy link
Author

meehien commented Mar 22, 2024

Thank you both. Looking forward to testing the fix.

@mynameisbogdan
Copy link
Contributor

Thanks @covert8!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage New Issue needing triage Type: Bug Issue is a bug
Projects
None yet
Development

No branches or pull requests

3 participants