Zalaare 1 Posted September 26, 2018 Posted September 26, 2018 (edited) Preface All of the media I'm testing have previously worked flawlessly in the current environment. Meaning my network topography/speed has not changed. I cannot say for sure when this problem began as I rarely need to use a browser to access my Emby personally, however I had a user report issues a few weeks ago. I gave it very little thought until I had reason to use a browser recently and I ran into problems. Problem Recently (within the last few weeks), Emby playback within my web-browser has begun giving me the following error: Testing I have tested with various browser on various machines with results as such Ubuntu - Chrome: FAIL Windows - Chrome: FAIL Ubuntu - Firefox: FAIL Windows - Firefox: FAIL Windows - Edge: SUCCESS I have deduced that this happens for all Matroska contained media as far as I can tell. Container WebM w/ VP9/Opus codecs works correctly. I'd have to really go fishing for other types of media to test as my libraries are 99.99% Matroska or WebM. Logs NOTE: Firefox actually attempted transcoding, though still resulted in the same error. I zipped the result transcode logs for each occurrence, though I know they will not be helpful for debugging this. 20180926-Emby.Server.DEBUG-Ubuntu.Chrome.v69.0.3497.81-1.log 20180926-Emby.Server.DEBUG.Windows.Chrome.v68.0.3440.100-1.log 20180926-Emby.Server.DEBUG-Ubuntu.Firefox.v57.0.1-1.log 20180926-Emby.Server.DEBUG-Ubuntu.Firefox.v57.0.1.zip 20180926-Emby.Server.DEBUG.Windows.Firefox.v62.0.2-1.log 20180926-Emby.Server.DEBUG.Windows.Firefox.v62.0.2.zip 20180926-Emby.Server.DEBUG.Windows.Edge.log UPDATE -- 20180927 -- Official Embyserver Docker Container results -- 20180927-Emby.Server.DEBUG-Ubuntu.Chrome.v69.0.3497.81-3-1.log UPDATE It appears I may have opened a duplicate post from someone else with a similar problem (though to be fair, when I searched I did not find it as their topic is very misleading) https://emby.media/community/index.php?/topic/63309-docker/?p=627055 Also at a glance at their log, their ffmpeg doesn't even start, whereas this is not my issue. Edited September 30, 2018 by Zalaare
Luke 38551 Posted September 27, 2018 Posted September 27, 2018 Hi, does the detail screen in the web app display any media info for these titles?
Luke 38551 Posted September 27, 2018 Posted September 27, 2018 Also I can tell from the server log that this is not an official distribution of ours. What platform/OS are you on?
Zalaare 1 Posted September 27, 2018 Author Posted September 27, 2018 Web Client Mediainfo: General Unique ID : 254681494109463151400909008895133704772 (0xBF99DF1FC79A0A01A181C06877BD6244) Complete name : North.by.Northwest.(1959)-Bluray-1080p.mkv Format : Matroska Format version : Version 2 File size : 13.0 GiB Duration : 2 h 16 min Overall bit rate : 13.6 Mb/s Encoded date : UTC 2009-11-04 14:33:54 Writing application : mkvmerge v2.9.8 ('C'est le bon') built on Aug 13 2009 12:49:06 Writing library : libebml v0.7.7 + libmatroska v0.8.1 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 2 h 16 min Bit rate : 13.0 Mb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.261 Stream size : 12.1 GiB (93%) Title : North By Northwest (1959) Writing library : x264 core 78 r1301M bcba15d Encoding settings : cabac=1 / ref=4 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / psy_rd=1.0:0.1 / mixed_ref=1 / me_range=48 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-3 / threads=8 / nr=0 / decimate=0 / mbaff=0 / constrained_intra=0 / bframes=6 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / mbtree=0 / bitrate=13000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.60 Language : English Default : No Forced : No Audio ID : 2 Format : AC-3 Format/Info : Audio Coding 3 Commercial name : Dolby Digital Codec ID : A_AC3 Duration : 2 h 16 min Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Bit depth : 16 bits Compression mode : Lossy Stream size : 625 MiB (5%) Title : AC3 5.1 @ 640 Kbps Language : English Service kind : Complete Main Default : Yes Forced : No Text #1 ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Language : English Default : Yes Forced : No Text #2 ID : 4 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Language : Czech Default : No Forced : No Text #3 ID : 5 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Language : French Default : No Forced : No Text #4 ID : 6 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Language : Polish Default : No Forced : No Text #5 ID : 7 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Language : Romanian Default : No Forced : No Menu 00:00:00.000 : en:Chapter 01 00:02:15.594 : en:Chapter 02 00:04:37.944 : en:Chapter 03 00:07:12.390 : en:Chapter 04 00:11:17.927 : en:Chapter 05 00:14:26.449 : en:Chapter 06 00:17:53.197 : en:Chapter 07 00:22:47.533 : en:Chapter 08 00:26:44.394 : en:Chapter 09 00:29:37.818 : en:Chapter 10 00:32:23.441 : en:Chapter 11 00:34:47.836 : en:Chapter 12 00:36:45.829 : en:Chapter 13 00:38:29.390 : en:Chapter 14 00:41:29.570 : en:Chapter 15 00:44:11.899 : en:Chapter 16 00:46:24.073 : en:Chapter 17 00:51:24.873 : en:Chapter 18 00:54:54.374 : en:Chapter 19 00:57:38.914 : en:Chapter 20 01:00:17.864 : en:Chapter 21 01:02:52.936 : en:Chapter 22 01:06:10.550 : en:Chapter 23 01:09:06.768 : en:Chapter 24 01:11:40.963 : en:Chapter 25 01:14:23.542 : en:Chapter 26 01:15:39.952 : en:Chapter 27 01:19:01.820 : en:Chapter 28 01:23:13.989 : en:Chapter 29 01:25:25.620 : en:Chapter 30 01:28:08.200 : en:Chapter 31 01:29:53.805 : en:Chapter 32 01:33:57.048 : en:Chapter 33 01:35:58.336 : en:Chapter 34 01:40:37.281 : en:Chapter 35 01:45:52.429 : en:Chapter 36 01:51:30.350 : en:Chapter 37 01:55:07.150 : en:Chapter 38 01:58:23.847 : en:Chapter 39 02:02:21.751 : en:Chapter 40 02:06:58.027 : en:Chapter 41 02:08:48.638 : en:Chapter 42 02:10:28.571 : en:Chapter 43 02:11:53.739 : en:Chapter 44 02:14:32.231 : en:Chapter 45 02:15:39.590 : en:Chapter 46 Distribution/OS Zizzy Linux (Dockerized LFS OS) Current Emby Package Rebundle Current Docker Container [zalaare/x86_64.emby:3.5.3.0]
Zalaare 1 Posted September 27, 2018 Author Posted September 27, 2018 I've also tested with the official emby/embyserver:3.5.3.0 docker container today. Same results as previous testing. I've uploaded and attached the log [post#1]
Zalaare 1 Posted September 28, 2018 Author Posted September 28, 2018 (edited) I rebuilt my Nginx setup approximately around the same time as this problem started happening so I'm wondering if this may be a reverse proxy issue. None of my other proxies seems to be having an issue, and everything in Emby works as expected except this playback in Firefox and Chrome, so I honestly haven't given it much thought until now. I'll spend some time going forward experimenting with the config to see if I can figure if this is where the problem is. Edited September 28, 2018 by Zalaare
Zalaare 1 Posted September 28, 2018 Author Posted September 28, 2018 Okay for anyone who finds themselves with a similar issue, I found the broken clauses of my Nginx config. I had to remove the following clauses from my setup. I do not have enough nginx-fu to rewrite them so they work: add_header Content-Security-Policy "default-src * data: 'unsafe-eval' 'unsafe-inline'" always; location ~* \.(?:css(\.map)?|js(\.map)?|jpe?g|png|gif|ico|cur|heic|webp|tiff?|mp3|m4a|aac|ogg|midi?|wav|mp4|mov|webm|mpe?g|avi|ogv|flv|wmv)$ { expires 7d; access_log off; } location ~* \.(?:svgz?|ttf|ttc|otf|eot|woff|woff2)$ { add_header Access-Control-Allow-Origin "*"; expires 7d; access_log off; }
Nexflik 0 Posted January 30, 2021 Posted January 30, 2021 @Zalaare mind to guide me on how to edit nginx config? I also got same problem as yours, thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now