Giter Club home page Giter Club logo

Comments (6)

Samus21 avatar Samus21 commented on September 20, 2024

fail: Ombi.ErrorHandlingMiddleware[0]
Something bad happened, ErrorMiddleware caught this
System.NullReferenceException: Object reference not set to an instance of an object.
at Ombi.Controllers.V1.External.PlexController.GetFriends() in /home/runner/work/Ombi/Ombi/src/Ombi/Controllers/V1/External/PlexController.cs:line 260
at lambda_method3728(Closure , Object )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
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.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
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 Ombi.ApiKeyMiddlewear.Invoke(HttpContext context) in /home/runner/work/Ombi/Ombi/src/Ombi/Middleware/ApiKeyMiddlewear.cs:line 58
at Ombi.ErrorHandlingMiddleware.Invoke(HttpContext context) in /home/runner/work/Ombi/Ombi/src/Ombi/Middleware/ErrorHandlingMiddlewear.cs:line 30

from ombi.

bejaranoo avatar bejaranoo commented on September 20, 2024

Having a similar issue, I as an admin can select path, and profile hence submit a sonarr request no problem.
But when a normal user tries to request neither of those options are shown, I guess the correct solution would be to automatically use the default path and profile saved on sonarr config, but instead it seems to be sending the request with those fields blank:

fail: Ombi.Api.Api[1000]

      StatusCode: BadRequest, Reason: Bad Request, RequestUri: http://sonarr:8989/api/v3/series/

fail: Ombi.Api.Api[1000]

      StatusCode: BadRequest, Reason: Bad Request, RequestUri: http://sonarr:8989/api/v3/series/

fail: Ombi.Core.Senders.TvSender[5001]

      Exception thrown when attempting to send series over to Sonarr

      System.Exception: Invalid Path,Invalid Path

         at Ombi.Core.Senders.TvSender.SendToSonarr(ChildRequests model, SonarrSettings s) in /home/runner/work/Ombi/Ombi/src/Ombi.Core/Senders/TvSender.cs:line 318

fail: Ombi.Core.Senders.TvSender[0]

      Exception thrown when sending a movie to DVR app, added to the request queue

      System.Exception: Invalid Path,Invalid Path

         at Ombi.Core.Senders.TvSender.SendToSonarr(ChildRequests model, SonarrSettings s) in /home/runner/work/Ombi/Ombi/src/Ombi.Core/Senders/TvSender.cs:line 318

         at Ombi.Core.Senders.TvSender.Send(ChildRequests model) in /home/runner/work/Ombi/Ombi/src/Ombi.Core/Senders/TvSender.cs:line 60

from ombi.

tidusjar avatar tidusjar commented on September 20, 2024

I guess the correct solution would be to automatically use the default path and profile saved on sonarr config

This does happen, are you sure that you have a correct path set in the Ombi sonarr settings?

One thing that can happen is that if you delete and recreate a path in Sonarr, Ombi does not know about this and will use the exising now invalid path

from ombi.

Samus21 avatar Samus21 commented on September 20, 2024

Since I made this post I reinstalled my entire OS. The paths have not changed for storage. I’m using Microsoft storage pool and none of that was messed with when the os was reinstalled. I’ve seen a few others recently reporting the same issue on Reddit and the discord. Seems like it’s an iOS issue. I have no way to confirm if androids have the issue. I can request all seasons on my pc and if I don’t use the app and log in directly to the website it will request all seasons. So it’s something to do with the app and possibly iOS

from ombi.

Samus21 avatar Samus21 commented on September 20, 2024

Seems like the issue has been fixed with the additon of the request all season thank you!

from ombi.

tidusjar avatar tidusjar commented on September 20, 2024

Apologies I didn’t update this issue. I fixed the issue and added an additional button to make things easier

from ombi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.