Jump to content

Recommended Posts

Posted

I just bought a Fire 7 (gen 7) Amazon tablet over black Friday and went to setup Emby on it. I ended up install the Play Store so I could install Emby (v 3.0.21). When I try content on my home network everything works perfect but when I try to play the same content out side of my home network I get "Playback Error No compatible streams are currently available. Please try again later or contact your system administrator for details." Also when I select "Got It" on this the app keeps trying to connect  and constantly displaying the same error message over and over. This will not stop until I close the app. If I open Emby in the Silk web browser video plays with no problem when outside of the network.

I have several fire tv sticks that use the emby tv app without issues outside of the network. My phone using the android Emby app also can play video with not issue.

 

I do have the Emby server running behind a proxy for https but as I mentioned it works fine with everything else. 

 

nginx server config for emby

server {
 
  server_name DOMAINNAME;
 
  location / {
      proxy_pass http://192.168.11.51:8096/;
                proxy_set_header Host   X-Real-IP               $remote_addr;
                proxy_set_header        X-Forwarded-For         $proxy_add_x_forwarded_for;
                proxy_set_header        Host warded-Ssl         $host:$server_port;
                proxy_set_header        X-Forwarded-Proto       $remote_addr;
                proxy_set_header        X-Forwarded-Protocol    $scheme;
                proxy_redirect          off;
 
                proxy_http_version      1.1;
                proxy_set_header        Upgrade                 $http_upgrade;
                proxy_set_header        Connection              "upgrade";
  }
 
    listen [::]:8096 ssl ipv6only=on; # managed by Certbot
    listen 8096 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/DOMAINNAME/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/DOMAINNAME/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
 
    client_max_body_size 10G;
    fastcgi_buffers 64 4k;
}
 
Is there any reason that the android app will not work on my Fire Table outside of my network?
Posted

Hi, what version of android does this run?

 

I would make sure that the proxy is not stripping off any request headers, or modifying emby server responses in any way.

  • Like 1
Posted (edited)

Hi, what version of android does this run?

 

I would make sure that the proxy is not stripping off any request headers, or modifying emby server responses in any way.

 

It's running Fire OS 5.6.3.0 which based on Android 5.1.1 Lollipop. That does make it a little bit of an older version.

I don't think I'm stripping off any request headers or modifying any of the responses. I would also think if I was it would break other clients especially the Fire TV sticks I'm using.

 

Any ideas on what would cause this?

Edited by jmbond04
pir8radio
Posted (edited)

It's running Fire OS 5.6.3.0 which based on Android 5.1.1 Lollipop. That does make it a little bit of an older version.

I don't think I'm stripping off any request headers or modifying any of the responses. I would also think if I was it would break other clients especially the Fire TV sticks I'm using.

 

Any ideas on what would cause this?

 

 

any change if you remove that backslash after the port in your nginx config:  proxy_pass http://192.168.11.51:8096/;

 

and add these two lines.

 

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.
 
 
Edited by pir8radio
  • Like 1
Posted

 

any change if you remove that backslash after the port in your nginx config:  proxy_pass http://192.168.11.51:8096/;

 

and add these two lines.

 

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.
 
 

 

 

 

I want to note both the nginx proxy and emby server are running in ubuntu containers.

 

I tried these setting and it did not change anything. I did notice that when I connect to my work network I get the Playback Error but if I tether to my phone the loading wheel just spins forever not ever loading a video. 

 

Is there anything else I can provide to help solve this? 

 

I also want to note both the nginx proxy and emby server are running in ubuntu containers.

pir8radio
Posted

I want to note both the nginx proxy and emby server are running in ubuntu containers.

 

I tried these setting and it did not change anything. I did notice that when I connect to my work network I get the Playback Error but if I tether to my phone the loading wheel just spins forever not ever loading a video. 

 

Is there anything else I can provide to help solve this? 

 

I also want to note both the nginx proxy and emby server are running in ubuntu containers.

 

 

did you restart nginx so the changes take affect?    also what format are the videos in that you are having issues with... mp4?  do .mkv work?

Posted

did you restart nginx so the changes take affect?    also what format are the videos in that you are having issues with... mp4?  do .mkv work?

Yes I restarted the nginx service every time I made a change. I also restarted the app on the Fire tablet as well.

 

for reference the latest nginx config is

server {

  server_name DOMAINNAME;

 

  location / {

      proxy_pass http://192.168.11.51:8096;

                proxy_set_header        X-Real-IP               $remote_addr;

                proxy_set_header        X-Forwarded-For         $proxy_add_x_forwarded_for;

                proxy_set_header        Hosts.org;                     $host;

                proxy_set_header        X-Forwarded-Proto       $remote_addr;

                proxy_set_header        X-Forwarded-Protocol    $scheme;

                proxy_redirect off;

 

                proxy_http_version      1.1;

                proxy_set_header        Upgrade                 $http_upgrade;

                proxy_set_header        Connection              "upgrade";

                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.

  }

 

    listen [::]:8096 ssl ipv6only=on; # managed by Certbot

    listen 8096 ssl; # managed by Certbot

    ssl_certificate /etc/letsencrypt/live/DOMAINNAME/fullchain.pem; # managed by Certbot

    ssl_certificate_key /etc/letsencrypt/live/DOMAINNAME/privkey.pem; # managed by Certbot

    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot

    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

 

    client_max_body_size 10G;

    fastcgi_buffers 64 4k;

}

 

I have tried several things mostly mp4 videos but also live tv from a hdhomerun, avi, and mkv. All of these give the same result and do not work.

pir8radio
Posted

Yes I restarted the nginx service every time I made a change. I also restarted the app on the Fire tablet as well.

 

for reference the latest nginx config is

server {

  server_name DOMAINNAME;

 

  location / {

      proxy_pass http://192.168.11.51:8096;

                proxy_set_header        X-Real-IP               $remote_addr;

                proxy_set_header        X-Forwarded-For         $proxy_add_x_forwarded_for;

                proxy_set_header        Hosts.org;                     $host;

                proxy_set_header        X-Forwarded-Proto       $remote_addr;

                proxy_set_header        X-Forwarded-Protocol    $scheme;

                proxy_redirect off;

 

                proxy_http_version      1.1;

                proxy_set_header        Upgrade                 $http_upgrade;

                proxy_set_header        Connection              "upgrade";

                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.

  }

 

    listen [::]:8096 ssl ipv6only=on; # managed by Certbot

    listen 8096 ssl; # managed by Certbot

    ssl_certificate /etc/letsencrypt/live/DOMAINNAME/fullchain.pem; # managed by Certbot

    ssl_certificate_key /etc/letsencrypt/live/DOMAINNAME/privkey.pem; # managed by Certbot

    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot

    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

 

    client_max_body_size 10G;

    fastcgi_buffers 64 4k;

}

 

I have tried several things mostly mp4 videos but also live tv from a hdhomerun, avi, and mkv. All of these give the same result and do not work.

 

 

create a temporary account and pm me your server address and account info, will take a bunch of back and forth out of this if you want?  

Posted

create a temporary account and pm me your server address and account info, will take a bunch of back and forth out of this if you want?  

 

I'm not comfortable handing out my server information . Is there something specific you are looking for?

pir8radio
Posted

I'm not comfortable handing out my server information . Is there something specific you are looking for?

No worries, looking for headers on mp4 responses using chrome developer tools.

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...