Jellyfin Forum
Error processing request URL GET /Items//playbacki - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Error processing request URL GET /Items//playbacki (/t-error-processing-request-url-get-items-playbacki)



Error processing request URL GET /Items//playbacki - PyL96 - 2023-12-08

Hello,

My Jellyfin.log keep getting spammed with the same error and I wonder why. I think it can be the cause of some of the issue encountered by my users.

My setup is:
Jellyfin 10.8.13
Installed via debian apt repo
Debian 12 x64 running in a Proxmox LXC

The logs that keep getting spammed, 1762 times in 2 hours (The item ID are not the same every time):

Code:
[2023-12-08 11:35:57.362 +01:00] [Error] Error processing request. URL "GET" "/Items/fc388522361213e2adcb1cc0f568ab70/playbackinfo".
System.ArgumentNullException: Value cannot be null. (Parameter 'item')
  at Emby.Server.Implementations.Library.MediaSourceManager.GetStaticMediaSources(BaseItem item, Boolean enablePathSubstitution, User user)
  at Emby.Server.Implementations.Library.MediaSourceManager.GetPlaybackMediaSources(BaseItem item, User user, Boolean allowMediaProbe, Boolean enablePathSubstitution, CancellationToken cancellationToken)
  at Jellyfin.Api.Helpers.MediaInfoHelper.GetPlaybackInfo(Guid id, Nullable`1 userId, String mediaSourceId, String liveStreamId)
  at Jellyfin.Api.Controllers.MediaInfoController.GetPlaybackInfo(Guid itemId, Guid userId)
  at lambda_method404(Closure , Object )
  at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>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.<InvokeNextResourceFilter>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.<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 Prometheus.HttpMetrics.HttpRequestDurationMiddleware.Invoke(HttpContext context)
  at Prometheus.HttpMetrics.HttpRequestCountMiddleware.Invoke(HttpContext context)
  at Prometheus.HttpMetrics.HttpInProgressMiddleware.Invoke(HttpContext context)
  at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
  at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
  at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
  at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
  at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
  at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
  at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
  at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
  at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
  at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
  at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
  at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
  at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
  at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
  at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
  at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)

Jellyfin is behind Nginx on the same VLAN:

Code:
server {
    listen              443 ssl http2;
    listen              [::]:443 ssl http2;
    server_name        jelly.redacted.com;
   
    set $jelly 10.10.10.10;

    # SSL
    ssl_certificate    /etc/letsencrypt/live/jelly.redacted.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/jelly.redacted.com/privkey.pem;

    # logging
    access_log          /var/log/nginx/access.log combined buffer=512k flush=1m;
    error_log          /var/log/nginx/error.log warn;
   
    # reverse proxy
    location / {
        proxy_pass            https://$jelly;
        proxy_set_header Host $host;
        proxy_ssl_verify off;

    }
   
    # location block for /web - This is purely for aesthetics so /web/#!/ works instead of having to go to /web/index.html/#!/
    location = /web/ {
        # Proxy main Jellyfin traffic
        proxy_pass https://$jelly/web/index.html;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Forwarded-Protocol $scheme;
        proxy_set_header X-Forwarded-Host $http_host;
        proxy_ssl_verify off;
    }
   
    # Proxy Jellyfin Websockets traffic
    location /socket {
        proxy_pass https://$jelly;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Forwarded-Protocol $scheme;
        proxy_set_header X-Forwarded-Host $http_host;
        proxy_ssl_verify off;
    }
}

Do you have any ideas ?


RE: Error processing request URL GET /Items//playbacki - TheDreadPirate - 2023-12-08

In the Jellyfin Nginx doc there is this setting you don't have.  Maybe this is it?

Code:
    ## The default `client_max_body_size` is 1M, this might not be enough for some posters, etc.
    client_max_body_size 20M;

You also don't have this block.  Not sure how important it is.

Code:
    location = / {
        return 302 http://$host/web/;
        #return 302 https://$host/web/;
    }



RE: Error processing request URL GET /Items//playbacki - PyL96 - 2023-12-08

client_max_body_size is already set at 512M in http context of my nginx.conf.

I will add the second block and see if that help.


RE: Error processing request URL GET /Items//playbacki - PyL96 - 2023-12-08

Doesn't seem to work.


RE: Error processing request URL GET /Items//playbacki - TheDreadPirate - 2023-12-08

Can you share your full log?


RE: Error processing request URL GET /Items//playbacki - PyL96 - 2023-12-08

Here you go https://www.transfernow.net/dl/20231208Xjw1MvFS
I've merged all the jellyfin.log of today.


RE: Error processing request URL GET /Items//playbacki - TheDreadPirate - 2023-12-08

With that 302 block I had you add, swap out which line is commented out. Comment out http and uncomment https.


RE: Error processing request URL GET /Items//playbacki - PyL96 - 2023-12-08

No change