Pipeline Error (NZB360)

This looks to be an authentication error when pulling from the API, but I’m not sure if it’s a problem with Sonarr or NZB360. There is a post on the NZB360 forums, but I thought I should post here to see if you know where the problem might be.

I’m running Develop version: 2.0.0.2794

Here’s the NZB360 forum post: NZB post

Here’s what my Sonarr logs are showing:
NzbDroneErrorPipeline Request Failed: Object reference not set to an instance of an object

Request Failed: Object reference not set to an instance of an object

Exception
System.NullReferenceException: Object reference not set to an instance of an object
  at NzbDrone.Core.Authentication.UserService.FindUser (System.String username, System.String password) [0x00000] in <filename unknown>:0 
  at NzbDrone.Api.Authentication.AuthenticationService.Validate (System.String username, System.String password) [0x00000] in <filename unknown>:0 
  at Nancy.Authentication.Basic.BasicAuthentication.RetrieveCredentials (Nancy.NancyContext context, Nancy.Authentication.Basic.BasicAuthenticationConfiguration configuration) [0x00000] in <filename unknown>:0 
  at Nancy.Authentication.Basic.BasicAuthentication+<>c__DisplayClass1.<GetCredentialRetrievalHook>b__0 (Nancy.NancyContext context) [0x00000] in <filename unknown>:0 
  at Nancy.BeforePipeline+<>c__DisplayClass4.<Wrap>b__3 (Nancy.NancyContext ctx, CancellationToken ct) [0x00000] in <filename unknown>:0 

Message
Request Failed: Object reference not set to an instance of an object

Exception
System.NullReferenceException: Object reference not set to an instance of an object
  at NzbDrone.Core.Authentication.UserService.FindUser (System.String username, System.String password) [0x00000] in <filename unknown>:0 
  at NzbDrone.Api.Authentication.AuthenticationService.Validate (System.String username, System.String password) [0x00000] in <filename unknown>:0 
  at Nancy.Authentication.Basic.BasicAuthentication.RetrieveCredentials (Nancy.NancyContext context, Nancy.Authentication.Basic.BasicAuthenticationConfiguration configuration) [0x00000] in <filename unknown>:0 
  at Nancy.Authentication.Basic.BasicAuthentication+<>c__DisplayClass1.<GetCredentialRetrievalHook>b__0 (Nancy.NancyContext context) [0x00000] in <filename unknown>:0 
  at Nancy.BeforePipeline+<>c__DisplayClass4.<Wrap>b__3 (Nancy.NancyContext ctx, CancellationToken ct) [0x00000] in <filename unknown>:0 

Message
Request Failed: Object reference not set to an instance of an object

Exception
System.NullReferenceException: Object reference not set to an instance of an object
  at NzbDrone.Core.Authentication.UserService.FindUser (System.String username, System.String password) [0x00000] in <filename unknown>:0 
  at NzbDrone.Api.Authentication.AuthenticationService.Validate (System.String username, System.String password) [0x00000] in <filename unknown>:0 
  at Nancy.Authentication.Basic.BasicAuthentication.RetrieveCredentials (Nancy.NancyContext context, Nancy.Authentication.Basic.BasicAuthenticationConfiguration configuration) [0x00000] in <filename unknown>:0 
  at Nancy.Authentication.Basic.BasicAuthentication+<>c__DisplayClass1.<GetCredentialRetrievalHook>b__0 (Nancy.NancyContext context) [0x00000] in <filename unknown>:0 
  at Nancy.BeforePipeline+<>c__DisplayClass4.<Wrap>b__3 (Nancy.NancyContext ctx, CancellationToken ct) [0x00000] in <filename unknown>:0 

Message
Request Failed: Object reference not set to an instance of an object

Exception
System.NullReferenceException: Object reference not set to an instance of an object
  at NzbDrone.Core.Authentication.UserService.FindUser (System.String username, System.String password) [0x00000] in <filename unknown>:0 
  at NzbDrone.Api.Authentication.AuthenticationService.Validate (System.String username, System.String password) [0x00000] in <filename unknown>:0 
  at Nancy.Authentication.Basic.BasicAuthentication.RetrieveCredentials (Nancy.NancyContext context, Nancy.Authentication.Basic.BasicAuthenticationConfiguration configuration) [0x00000] in <filename unknown>:0 
  at Nancy.Authentication.Basic.BasicAuthentication+<>c__DisplayClass1.<GetCredentialRetrievalHook>b__0 (Nancy.NancyContext context) [0x00000] in <filename unknown>:0 
  at Nancy.BeforePipeline+<>c__DisplayClass4.<Wrap>b__3 (Nancy.NancyContext ctx, CancellationToken ct) [0x00000] in <filename unknown>:0 

This might be related to sending the wrong username from NZB360 to Sonarr. I’ll have a fix out for that later, but without mono running with the --debug your logs don’t show enough information to tell me exactly where its failing.

I’m running sonarr on OpenMediaVault 1.12, using Mono 3.12.0. If you need a debug log from mono I would love to give it to you, however, I’m not sure how I can switch the log setting within Mono. There was an install package made available to install Sonarr which already included mono, so I didn’t have to modify mono or touch the install. If you can guide me into getting what you need I will do my best to get it to you.

I switched Sonarr logging to debug and the error messages were exactly the same when I pulled them up. There doesn’t seem to be any additional information from the Sonarr debug logs.

This issue appears to have started when 2.0.0.2775 was released (which included Forms authentication).

Give the latest version a shot and let us know.

The new dev release 2.0.0.2809 has fixed this issue. Thanks for your help. I will post on the NZB360 forums that this issue has been resolved.

Thanks again!