• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting DLNA Panasonic Internal Server Error 500

     
    • 0 Vote(s) - 0 Average

    DLNA Panasonic Internal Server Error 500

    gnmbj0ß94678
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:Germany
    #1
    2024-01-29, 09:10 AM
    Hey guys,

    I'm running into Internal Server Errors 500 when trying to cast to a Panasonic TX-58GX800W using DLNA.
    Why cast to? The OS is My Home Screen 4.0 and it has no Jellyfin app, and the TV itself does not show/discover Jellyfin as DLNA device.
    Therefore I can only cast to the TV, but this generally works with other apps.

    Jellyfin is 10.8.13 and was installed using Windows installer.
    Here are logs using DLNA debug logging:
    Code:
    ...

    [2024-01-29 09:53:11.315 +01:00] [INF] [17] Emby.Dlna.DlnaManager: No matching device profile found. The default will need to be used.
    DeviceIdentification { FriendlyName: "58GX800_Series", ModelNumber: "TX-58GX800W", SerialNumber: null, ModelName: "Panasonic VIErA", ModelDescription: null, ModelUrl: null, Manufacturer: "Panasonic", ManufacturerUrl: null, Headers: [] }
    [2024-01-29 09:53:11.321 +01:00] [INF] [17] Emby.Dlna.Main.DlnaEntryPoint: DLNA Session created for "58GX800_Series" - "Panasonic VIErA"

    ...

    How to fix this?
    [2024-01-29 09:53:27.778 +01:00] [INF] [26] Emby.Dlna.DlnaManager: No matching device profile found. The default will need to be used.
    DeviceIdentification { FriendlyName: "58GX800_Series", ModelNumber: "TX-58GX800W", SerialNumber: null, ModelName: "Panasonic VIErA", ModelDescription: null, ModelUrl: null, Manufacturer: "Panasonic", ManufacturerUrl: null, Headers: [] }
    [2024-01-29 09:53:27.818 +01:00] [INF] [26] Emby.Dlna.Main.DlnaEntryPoint: StreamBuilder.BuildVideoItem( Profile="Generic Device", Path="x.mp4", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/2811bf0e-c8cb-2651-a862-e8f0241af8b3/stream.mov?MediaSourceId=2811bf0ec8cb2651a862e8f0241af8b3&Static=true&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&api_key=<token>&Tag=fb3bf165b3becc9fc8359f4f7aef2484"
    [2024-01-29 09:53:27.860 +01:00] [ERR] [29] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/Sessions/e6ce447666953f032f7df6cbd2c4e739/Playing".
    System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
      at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
      at Emby.Dlna.PlayTo.SsdpHttpClient.SendCommandAsync(String baseUrl, DeviceService service, String command, String postData, String header, CancellationToken cancellationToken)
      at Emby.Dlna.PlayTo.Device.SetAvTransport(String url, String header, String metaData, CancellationToken cancellationToken)
      at Emby.Dlna.PlayTo.PlayToController.SetPlaylistIndex(Int32 index, CancellationToken cancellationToken)
      at Emby.Dlna.PlayTo.PlayToController.PlayItems(IEnumerable`1 items, CancellationToken cancellationToken)
      at Emby.Server.Implementations.Session.SessionManager.SendMessageToSession[T](SessionInfo session, SessionMessageType name, T data, CancellationToken cancellationToken)
      at Emby.Server.Implementations.Session.SessionManager.SendPlayCommand(String controllingSessionId, String sessionId, PlayRequest command, CancellationToken cancellationToken)
      at Jellyfin.Api.Controllers.SessionController.Play(String sessionId, PlayCommand playCommand, Guid[] itemIds, Nullable`1 startPositionTicks, String mediaSourceId, Nullable`1 audioStreamIndex, Nullable`1 subtitleStreamIndex, Nullable`1 startIndex)
      at lambda_method972(Closure , Object )
      at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.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>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
      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>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
      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 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)
     
    ...

    [2024-01-29 09:53:42.477 +01:00] [ERR] [32] Emby.Dlna.Main.DlnaEntryPoint: Error updating device info for "58GX800_Series"
    System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
      at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
      at Emby.Dlna.PlayTo.SsdpHttpClient.SendCommandAsync(String baseUrl, DeviceService service, String command, String postData, String header, CancellationToken cancellationToken)
      at Emby.Dlna.PlayTo.Device.GetTransportInfo(TransportCommands avCommands, CancellationToken cancellationToken)
      at Emby.Dlna.PlayTo.Device.TimerCallback(Object sender)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-01-29, 01:54 PM
    Do you have transcoding setup?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    gnmbj0ß94678
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:Germany
    #3
    2024-01-29, 04:33 PM
    Yes, but it should not trigger on 1080p h264 anyways for this TV.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-01-29, 04:45 PM
    Try creating a DLNA profile of your device since it doesn't have one. It is using the default profile.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    gnmbj0ß94678
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:Germany
    #5
    2024-01-29, 08:57 PM
    Ah, I did not notice that it couldn't match a profile, despite calling it correctly Viera.

    Well, I copied over the system profile for Panasonic Viera, with slight adjustments, e.g. VIErA instead of Viera.

    Now it matches the profile, but I still get 500s:
    Code:
    [2024-01-29 21:38:15.847 +01:00] [INF] [7] Emby.Dlna.Main.DlnaEntryPoint: StreamBuilder.BuildVideoItem( Profile="58GX800_Series", Path="h264.1080p.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/3ad0a945-f6cf-e6f8-274a-4c72c4ebb3db/stream.mkv?MediaSourceId=3ad0a945f6cfe6f8274a4c72c4ebb3db&Static=true&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&api_key=<token>&Tag=17e54f9632b68b3d5ecea0efc0431e11"
    [2024-01-29 21:38:15.858 +01:00] [ERR] [12] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/Sessions/e6ce447666953f032f7df6cbd2c4e739/Playing".
    System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).

    Playback for a h264.mp4 did work, but only if nothing is currently playing - if something is playing -> 500. That's unexpected behaviour?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-01-29, 09:27 PM (This post was last modified: 2024-01-29, 09:27 PM by TheDreadPirate.)
    Unfortunately, I don't know much about DLNA and how Jellyfin behaves when using it (I don't have any DLNA devices).
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode