Radarr: Failed to load system status from api

Created on 5 Dec 2020  路  16Comments  路  Source: Radarr/Radarr

Failed to load system status from API
Version 3.0.0.4204

On going to the main -- http://localhost:port, I initially get a login prompt. After entering credentials, and clicking login, the "random welcoming message" flashes for less than a second and the above error is displayed. After initial upgrade to v3, this was working for a period of a few hours maybe.. hard to tell as I wasn't checking often, then began consistently failing. The same error exhibits on Chrome, Firefox, and Edge (no plugins or extensions). I have tried rebooting, clearing cache/cookies, disabling extensions in chrome (though Edge has no extensions enabled on my PC).

Screenshot attached
Trace/Debug logs attached

Windows 10 build 19042.662
.NET Core
Chrome 87.0.4280.88 (Official Build) (64-bit)
Firefox 83.0 (64-bit)
Edge 87.0.664.55 (Official build) (64-bit)
Radarr v3.0.0.4204
radarr v3 error
radarr.debug.txt
radarr.trace.txt

bug

All 16 comments

Reverse proxy?

Logs seem fine.

Hop over to Reddit or discord and let鈥檚 see

No reverse proxy... this is just running and connecting on the same PC.

Humor me and do a reinstall just to ensure nothing weird happen with the update

I actually did that exact thing earlier... because the initial install was auto. I also tried changing the develop to master as there was a mention in the Release notes on here about switching it.

Dang it... the manual install I tried after the error was x86. I am trying again with the x64.

Alright... uninstalled everything (saved config, log/radarr dbs, backups). Reinstalled x64 installer... launched and still getting the error.

Pop on over
-> Reddit or ideally Discord and someone can help further

Pretty sure it's not a bug, at least nothing stands out from skimming those logs

I did notice that the error in the log bubbles from "Microsoft.Extensions.Hosting.WindowsServices.WindowsServiceHelpers.IsWindowsService()", and I did NOT install the Radarr service during the installation. Could this perhaps be causing an issue with code trying to communicate on an IPC pipeline with a non-existant service process?

2020-12-3 17:01:55.0|Fatal|RadarrErrorPipeline|Request Failed. GET /api/v3/system/status

[v3.0.0.4204] System.InvalidOperationException: Process has exited, so the requested information is not available.
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_SessionId()
at Microsoft.Extensions.Hosting.WindowsServices.WindowsServiceHelpers.IsWindowsService()
at NzbDrone.Common.EnvironmentInfo.RuntimeInfo.get_IsUserInteractive() in D:\a\1\s\src\NzbDrone.Common\EnvironmentInfo\RuntimeInfo.cs:line 66
at Radarr.Api.V3.System.SystemModule.GetStatus() in D:\a\1\s\src\Radarr.Api.V3\System\SystemModule.cs:line 51
at Radarr.Api.V3.System.SystemModule.<.ctor>b__9_0(Object x) in D:\a\1\s\src\Radarr.Api.V3\System\SystemModule.cs:line 43
at Nancy.NancyModule.<>c__DisplayClass14_01.<Get>b__0(Object args) at Nancy.NancyModule.<>c__DisplayClass16_01.b__0(Object args, CancellationToken ct)
at Nancy.Routing.Route`1.Invoke(DynamicDictionary parameters, CancellationToken cancellationToken)
at Nancy.Routing.DefaultRouteInvoker.Invoke(Route route, CancellationToken cancellationToken, DynamicDictionary parameters, NancyContext context)
at Nancy.Routing.DefaultRequestDispatcher.Dispatch(NancyContext context, CancellationToken cancellationToken)
at Nancy.NancyEngine.InvokeRequestLifeCycle(NancyContext context, CancellationToken cancellationToken, IPipelines pipelines)

2020-12-3 17:01:55.0|Debug|Api|[GET] /api/v3/system/status: 500.InternalServerError (32 ms)

Well.. that seems to be the case. I uninstalled, and reinstalled it with the service... and it launches fine. Personally, I prefer to not use a service and handle the process launch/verification check/relaunch etc. myself... and will have to modify my scripts and checks to ensure the process is running accordingly.

I would say this is still a bug that needs fixed.

@dethknite were you running as administrator? That's just a check we use to determine if it is running as a service, its a bit odd that it fails like that. Did you restart from within Radarr at any point (that's a known issue that may have also caused this)?

The error occurred when I installed without the service. I always used to run the radarr.exe with a watchdog tool I wrote (.NET ProcessStart)... as an administrator user. Running it with and without the tool exhibited the same behavior in case you are wondering if that affected it. The service was never installed nor running when the error occurred... however, when I uninstalled and reinstalled selecting to install the service (radar.console.exe), the issue is gone. I left the service running as local service. *Note, it is installed in the default C:\ProgramData\Radarr\ (which has the normal special ProgramData permission requirements).

Yep get that part, the service being installed or not shouldn't effect the failure of that function, its meant to return true or false, but instead has failed complete because it can't find the process that Radarr is currently running under. So just trying to frame up exactly how you were running it when you had it installed normally (non-service)

You can run radarr.console the same way as the tray app & likely it'll work if it is what we see last week Q

Disable the service & instead of running radarr.exe run radarr.console & see

That did work... though the console window remains open.

Yea, it was more for a test to check a theory

I'm also seeing this issue frequently.

Multiple year old install auto upgraded on Sunday, and I currently launch via start up task which just does start Radarr.exe /icon at a certain time after system boot.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NewUser9 picture NewUser9  路  3Comments

willmonahan picture willmonahan  路  4Comments

davidbonnici1984 picture davidbonnici1984  路  4Comments

feerlessleadr picture feerlessleadr  路  3Comments

onedr0p picture onedr0p  路  3Comments