Jump to content


Photo

Docker w/ Traefik reverse proxy playback error

docker

  • Please log in to reply
6 replies to this topic

#1 wreyna OFFLINE  

wreyna

    Newbie

  • Members
  • 3 posts
  • Local time: 09:03 PM

Posted 17 November 2018 - 07:04 PM

Hello, I'm getting a playback error on Emby. I'm running it on Ubuntu 18.04 Server LTS in a docker container with Traefik. Here is the error:

2018-11-17 22:46:06.245 Info SubtitleEncoder: /bin/ffmpeg -i file:"/mnt/media/tv-shows/Impractical Jokers/Season 7/Impractical Jokers S07E01.mkv" -map 0:2 -an -vn -c:s copy "/config/data/subtitles/e/e9fd1b29-4ef2-2920-ca91-066a78c89027.srt"
2018-11-17 22:46:06.278 Error SubtitleEncoder: ffmpeg subtitle extraction failed for file:"/mnt/media/tv-shows/Impractical Jokers/Season 7/Impractical Jokers S07E01.mkv" to /config/data/subtitles/e/e9fd1b29-4ef2-2920-ca91-066a78c89027.srt
2018-11-17 22:46:06.295 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 3.5.3.0
	Command line: /system/EmbyServer.dll -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Unix 4.15.0.39
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: /config
	Application directory: /system
	System.Exception: ffmpeg subtitle extraction failed for file:"/mnt/media/tv-shows/Impractical Jokers/Season 7/Impractical Jokers S07E01.mkv" to /config/data/subtitles/e/e9fd1b29-4ef2-2920-ca91-066a78c89027.srt
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitleInternal(String inputPath, Int32 subtitleStreamIndex, String outputCodec, String outputPath, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitle(String[] inputFiles, MediaProtocol protocol, Int32 subtitleStreamIndex, String outputCodec, String outputPath, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile(String mediaPath, String[] inputFiles, MediaProtocol mediaSourceProtocol, MediaStream subtitleStream, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitleStream(MediaSourceInfo mediaSource, MediaStream subtitleStream, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles(BaseItem item, String mediaSourceId, Int32 subtitleStreamIndex, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at MediaBrowser.Api.Subtitles.SubtitleService.Get(GetSubtitle request)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
	System.Exception
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitleInternal(String inputPath, Int32 subtitleStreamIndex, String outputCodec, String outputPath, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitle(String[] inputFiles, MediaProtocol protocol, Int32 subtitleStreamIndex, String outputCodec, String outputPath, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile(String mediaPath, String[] inputFiles, MediaProtocol mediaSourceProtocol, MediaStream subtitleStream, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitleStream(MediaSourceInfo mediaSource, MediaStream subtitleStream, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles(BaseItem item, String mediaSourceId, Int32 subtitleStreamIndex, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at MediaBrowser.Api.Subtitles.SubtitleService.Get(GetSubtitle request)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)

This happens with all files. Here's my docker-compose.yml:

version: "3.6"

networks:
  proxy:
    external: true
  internal:
    external: false

services:

  emby:
    image: emby/embyserver
    volumes:
      - /config:/config
      - /media:/mnt/share1
    devices:
      - /dev/dri/renderD128
    ports:
      - 8096:8096
      - 8920:8920
    environment:
      - UID=1000
      - GID=100
      - GIDLIST=100
    labels:
      - traefik.backend=emby
      - traefik.frontend.rule=Host:emby.domain.com
      - traefik.docker.network=proxy
      - traefik.port=8096
    networks:
      - proxy
      - internal

I can send the full log if requested.

Thanks

 

edit: the srt file it's looking for doesn't exist. I tried refreshing the library but it didn't do anything :/


Edited by wreyna, 17 November 2018 - 07:11 PM.


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135861 posts
  • Local time: 10:03 PM

Posted 17 November 2018 - 07:10 PM

Hi there, please attach the complete emby server log.

You will want to make sure that your proxy isn't stripping off any http headers.

#3 wreyna OFFLINE  

wreyna

    Newbie

  • Members
  • 3 posts
  • Local time: 09:03 PM

Posted 17 November 2018 - 07:17 PM

@Luke Do you mind if I PM you the logs?


Edited by wreyna, 17 November 2018 - 07:17 PM.


#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135861 posts
  • Local time: 10:03 PM

Posted 17 November 2018 - 07:56 PM

Yes that is fine. Thanks.



#5 wreyna OFFLINE  

wreyna

    Newbie

  • Members
  • 3 posts
  • Local time: 09:03 PM

Posted 17 November 2018 - 08:49 PM

Sent



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135861 posts
  • Local time: 10:03 PM

Posted 18 November 2018 - 02:20 PM

Glad you sorted it out. Thanks.



#7 mastrmind11 OFFLINE  

mastrmind11

    Advanced Member

  • Members
  • 2738 posts
  • Local time: 10:03 PM
  • LocationLong Island, NY

Posted 18 November 2018 - 03:41 PM

sorted what out?  what was the fix?







Also tagged with one or more of these keywords: docker

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users