Soanrr Startup issue after update XCode command line tools Mac

Sonarr version (exact version): v4.0.9.2244
Mono version (if Sonarr is not running on Windows): Xcode Command Line Tools
OS: MacOS 15
Debug logs:
[v4.0.9.2244] System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
at System.Convert.FromBase64String(String s)
at Sonarr.Http.Authentication.BasicAuthenticationHandler.HandleAuthenticateAsync() in ./Sonarr.Http/Authentication/BasicAuthenticationHandler.cs:line 46
at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.AuthenticateAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)
at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthenticateAsync(AuthorizationPolicy policy, HttpContext context)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)

Description of issue: I updated the XCode Command line tools and now I am getting an error when starting up the webpage of on the webpage itself

{
“message”: “The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.”,
“description”: “System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.\n at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)\n at System.Convert.FromBase64String(String s)\n at Sonarr.Http.Authentication.BasicAuthenticationHandler.HandleAuthenticateAsync() in ./Sonarr.Http/Authentication/BasicAuthenticationHandler.cs:line 46\n at Microsoft.AspNetCore.Authentication.AuthenticationHandler\u00601.AuthenticateAsync()\n at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthenticateAsync(AuthorizationPolicy policy, HttpContext context)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.\u003CInvoke\u003Eg__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)”
}

I have tried reinstalling the Sonarr software but still am getting the same error code. Any help is appreciated.

New update fixed the issue

1 Like