Jump to content

Playback Error


snodrog742

Recommended Posts

snodrog742

We have a friend trying to use a PS4 but receives the following error:

 

post-113517-0-42564900-1531696494_thumb.jpg

 

Logs don't indicate an error unless I'm missing something:

Log-2.txt

 

Any help appreciated!

Link to comment
Share on other sites

snodrog742

 

Can you provide the media info of that file from the web app? thanks.

 

post-113517-0-55325800-1531708531_thumb.png

Edited by snodrog742
Link to comment
Share on other sites

runtimesandbox

We have a friend trying to use a PS4 but receives the following error:

 

attachicon.gifJPEG_20180715_195029.jpg

 

Logs don't indicate an error unless I'm missing something:

attachicon.gifLog-2.txt

 

Any help appreciated!

 

Are you using the default Emby setup or do you have your server behind a reverse proxy at all?

Having the same issue and my Emby is behind an nginx reverse proxy

Link to comment
Share on other sites

pir8radio

Are you using the default Emby setup or do you have your server behind a reverse proxy at all?

Having the same issue and my Emby is behind an nginx reverse proxy

 

for your issue, if its related to mp4's, make sure you have the range headers set.

proxy_set_header Range $http_range;  ## Allows specific chunks of a file to be requested.
proxy_set_header If-Range $http_if_range;  ## Allows specific chunks of a file to be requested.
Link to comment
Share on other sites

snodrog742

Are you using the default Emby setup or do you have your server behind a reverse proxy at all?

Having the same issue and my Emby is behind an nginx reverse proxy

 

We believe it was the reverse proxy as well but nobody has tried playing again to confirm.

Link to comment
Share on other sites

runtimesandbox

 

for your issue, if its related to mp4's, make sure you have the range headers set.

proxy_set_header Range $http_range;  ## Allows specific chunks of a file to be requested.
proxy_set_header If-Range $http_if_range;  ## Allows specific chunks of a file to be requested.

 

What format does the ps4 play files back in?

I added the above lines inside the location section of the nginx conf (with the other proxy set headers) however still get the error message. 

Link to comment
Share on other sites

pir8radio

What format does the ps4 play files back in?

I added the above lines inside the location section of the nginx conf (with the other proxy set headers) however still get the error message. 

what's your nginx config look like?  are you using    emby.domain.com   or domain.com/emby    ?

Link to comment
Share on other sites

runtimesandbox

Using emby.domain.com

        location / {

        proxy_pass              http://internal-ip:8096;
        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        Host                    $host;
        proxy_set_header        X-Forwarded-Proto       $remote_addr;
        proxy_set_header        X-Forwarded-Protocol    $scheme;
        proxy_redirect          off;

        ###SET SECURITY HEADERS
        add_header X-XSS-Protection "1; mode=block";
        add_header X-Content-Type-Options nosniff;
        add_header X-Frame-Options SAMEORIGIN;

        ###Send websocket data to the backend
        proxy_http_version      1.1;
        proxy_set_header        Upgrade $http_upgrade;
        proxy_set_header        Connection "upgrade";
        proxy_read_timeout      86400;

        ###Fix issues withh mp4 file
        proxy_set_header        Range $http_range;                      ## Allows specific chunks of a file to be requested.
        proxy_set_header        If-Range $http_if_range;                ## Allows specific chunks of a file to be requested.

        access_log /var/log/nginx/emby-access.log combined;

Link to comment
Share on other sites

runtimesandbox

what's your nginx config look like?  are you using    emby.domain.com   or domain.com/emby    ?

 

Would you be able to post (or send) me a copy of your nginx config?

Link to comment
Share on other sites

pir8radio

Would you be able to post (or send) me a copy of your nginx config?

 

My config: https://emby.media/community/index.php?/topic/48236-setting-up-emby-behind-a-reverse-proxy-nginx/?p=457670

 

Do you have any errors when browsing the web ui using the chrome developer tools?

 

Your config says "internal IP" is nginx on the same PC as emby?   you should use 127.0.0.1 if it is.    Cleans up some potential network issues. 

Edited by pir8radio
Link to comment
Share on other sites

runtimesandbox

Thanks for your config, useful to see others!

Looks like I have nearly everything you do in there. 

 

No error in developer tools console.

 

"internal-ip" is the internal IP of the emby server (it's not on local host)

 

Does your playback on a playstation work?

Link to comment
Share on other sites

pir8radio

Thanks for your config, useful to see others!

Looks like I have nearly everything you do in there. 

 

No error in developer tools console.

 

"internal-ip" is the internal IP of the emby server (it's not on local host)

 

Does your playback on a playstation work?

 

I don't have a playstation to test, you can test on mine and let me know if you want. 

 

guest.png

Link to comment
Share on other sites

runtimesandbox

Also, do the set security headers need to be inside the location block or outside? (or does it not make a difference?)

Link to comment
Share on other sites

pir8radio

Also, do the set security headers need to be inside the location block or outside? (or does it not make a difference?)

 

I've always put mine inside my location block, I believe they can be in the server block.

 

So, did my server work on your ps4?   Im a bit curious. 

Link to comment
Share on other sites

runtimesandbox

Unfortunately I did not get the chance to try last night and probably won't for the next few days.

 

Can I send you a dm when I'll get the chance too?

Link to comment
Share on other sites

  • 2 months later...
runtimesandbox

Luke still not working on the latest version of Emby Server

 

This is the error that is displayed on the TV:

 

 

Weirdly the trailers play fine

Edited by spudd
Link to comment
Share on other sites

Trailers play fine most likely because they're playing from youtube, and not your server. Unfortunately I don't have an answer for you but it definitely sounds proxy related to me.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...