joekrill 6 Posted November 26, 2018 Share Posted November 26, 2018 Every time I launch the Emby app it shows me the "Emby Connect" screen, prompting me to "Sign in with Emby Connect". I've set the "Remember User" option "ON", but it still continues to prompt me whenever I launch the channel. It's completely useless if it's going to keep asking me every time because I have to manually enter my server address every single time. I'm running emby in a docker container on my server. I've got it assigned a local IP address which I can use, but I also have a hostname forwarded via nginx so I can access it remotely. I can connect either way (entering the local IP address directly and connecting via 8096, or entering my hostname and connecting via 443). But either way it's not remembering and always prompts me. How can I even troubleshoot this? Link to comment Share on other sites More sharing options...
ebr 14910 Posted November 27, 2018 Share Posted November 27, 2018 Hi. Exactly how do you exit the app? Link to comment Share on other sites More sharing options...
joekrill 6 Posted November 27, 2018 Author Share Posted November 27, 2018 I've tried just about every possible way: scrolling down to the exit option; just hitting the home button; or hitting back enough times that it asks me if I want to close the app and I've exited that way. It doesn't seem to matter. I also tried resetting the settings. I removed and re-added the channel. I toggled the "Remember User" option off and back on a handful of times. Nothing seems to work. It appears, however, that if I login Emby Connect it remembers. But I have a separate local account (a "Home" account) that I used for general areas in the house that has completely different watched statuses, etc, and I'd rather not use Emby Connect. Link to comment Share on other sites More sharing options...
ebr 14910 Posted November 27, 2018 Share Posted November 27, 2018 It must be related to all of the advanced network configuration you have going on. If you look on your server dashboard at the local address, is that correct? Link to comment Share on other sites More sharing options...
joekrill 6 Posted November 27, 2018 Author Share Posted November 27, 2018 It hasn't been a problem before. It worked in the past with my Roku. It works fine with my Android TV (Shield), Fire TV, Android app, iOS app, through the web app, and using app.emby.media. This seems limited to the Roku app, and has started sometime within the past 2 months or so because it was previously working on a different Roku I have (though it has since stopped there, too, but I'm not sure when because I hadn't been using it much). The local address is technically correct. As I said, I'm using docker. Docker creates a bridge network, so the server shows that IP address as it's local address. Then I have an nginx-proxy container running that handles TLS and acts as a reverse proxy. I've had this setup for quite some time without issue, and I use it with a lot of other images. I don't know why it would suddenly cause a problem - and only with the Roku. I've tried enabling debugging and then sending the log files -- I'm not entirely sure where they get sent to or how they are identifiable. Link to comment Share on other sites More sharing options...
speechles 1917 Posted November 27, 2018 Share Posted November 27, 2018 (edited) Go to the devices tab of the server and remove all the Roku entries you see. Then.. 1) Remove all emby apps from your Roku: Stable & Beta 2) Reboot your Roku (don't skip this step this is important) 3) Reinstall all emby apps to your Roku: Stable & Beta This should restore you to a fresh state for your Roku. Now does it let you log in and remember? Edited November 27, 2018 by speechles Link to comment Share on other sites More sharing options...
ebr 14910 Posted November 27, 2018 Share Posted November 27, 2018 I've tried enabling debugging and then sending the log files -- I'm not entirely sure where they get sent to or how they are identifiable. Like this: ... use this button to send the log. Then add the following information to your report in the forum: Exactly what you were doing and what happened. Include the name of whatever you played if it is a playback problem The time you sent the log The name of the Emby user on the local server that was logged in at the time Link to comment Share on other sites More sharing options...
joekrill 6 Posted November 28, 2018 Author Share Posted November 28, 2018 I followed speechles instructions and the problem persists. Which isn't really surprising because this whole thing started with a brand-spankin' new Roku, so it should have been in a pretty fresh state to begin with. I also enabled debugging and uploaded the logs. Here were the steps I took and approximate times (UTC times, November 28, 2018): 23:08 - Launch Emby, connect manually changing the IP address to 192.168.1.163. Select user "Home", turn on debug logging in the settings, press back and exit Emby. 23:09 - Launch Emby, forced to connect again so repeat the same as above, entering the IP address and using user Home. Resume "The Good Place" S03E01 at 3:39 and watch for 4 seconds. Exit Emby by pressing the Home button on the remote. 23:11 - Launch Emby. Again forced to connect, repeat as above and Login again as user "Home". Go to settings and "Send Logs" Link to comment Share on other sites More sharing options...
ebr 14910 Posted November 29, 2018 Share Posted November 29, 2018 The local address your server is reporting is not correct. If you can get the server dashboard to show the proper local address (192.168.1.163), this should work. Link to comment Share on other sites More sharing options...
joekrill 6 Posted November 30, 2018 Author Share Posted November 30, 2018 Technically it _is_ correct... it has 2 IP addresses. I guess Emby just picks the first one it sees? I need it to bind to all addresses. Is there a way to specify which address it should consider "local" but still ensure it binds to all addresses? Also, that would explain why it "forgets" when I use the local IP address (192.168.1.163) - but it also forgets when I use my external domain name (https://emby.example.com), and all my other devices work perfectly fine connecting that way. Link to comment Share on other sites More sharing options...
SquishyZa 0 Posted November 30, 2018 Share Posted November 30, 2018 I have been struggling with the same thing. If I expose the UDP ports from the docker instance then the Roku displays the docker IP adress instead of the exposed IP adress. So I changed how I run docker and did not expose the UDP ports. Emby on the Roku then does not seem to find the server. So I wrote a little program to emulate the UDP broadcasting protocol and it works for iOS. But on the Roku it initially shows the correct IP until you try to connect, it fails, then it shows the docker IP adress. I tried finding the Roku source code, but the github repo I could find was updated 2 years ago and I hope the client is a bit more current than that? Next step may be to dump the http traffic to try and figure this out the hard way. So any pointers to the source or some way to configure the IP adress that the server advertises would be appreciated. Link to comment Share on other sites More sharing options...
Luke 37060 Posted November 30, 2018 Share Posted November 30, 2018 I have been struggling with the same thing. If I expose the UDP ports from the docker instance then the Roku displays the docker IP adress instead of the exposed IP adress. So I changed how I run docker and did not expose the UDP ports. Emby on the Roku then does not seem to find the server. So I wrote a little program to emulate the UDP broadcasting protocol and it works for iOS. But on the Roku it initially shows the correct IP until you try to connect, it fails, then it shows the docker IP adress. I tried finding the Roku source code, but the github repo I could find was updated 2 years ago and I hope the client is a bit more current than that? Next step may be to dump the http traffic to try and figure this out the hard way. So any pointers to the source or some way to configure the IP adress that the server advertises would be appreciated. Hi, does your Emby Server dashboard display the correct local address? Link to comment Share on other sites More sharing options...
SquishyZa 0 Posted November 30, 2018 Share Posted November 30, 2018 No, it shows a 172.x.x.x adress which is the local IP of the docker container. The ports are forwarded to a 192.168.x.x adress that is reachable by the Roku. Link to comment Share on other sites More sharing options...
Luke 37060 Posted November 30, 2018 Share Posted November 30, 2018 Ok so that is the issue. do you have docker in bridge or host networking mode? Link to comment Share on other sites More sharing options...
SquishyZa 0 Posted November 30, 2018 Share Posted November 30, 2018 The default is bridge and that is what I used. I switched to host and it seems to work now. As a reference here is my docker-compose.yml file: version: "3.2" services: emby: environment: - UID=500 - GID=100 image: emby/embyserver:latest restart: unless-stopped ports: - 8096:8096 - 8920:8920 - 7359:7359/udp network_mode: host volumes: - "./srv/emby/:/config" - type: "volume" source: "video" target: "/mnt/Video" volume: nocopy: true volumes: video: driver_opts: type: "nfs" o: "addr=192.168.1.16,soft,intr,noexec,ro" device: ":/Video" Link to comment Share on other sites More sharing options...
Napsterbater 23 Posted December 3, 2018 Share Posted December 3, 2018 I'm having this issue as well. I run emby on Windows server behind and nginx reverse proxy. All other emby clients seem to have no issue connecting to the server. Except Roku. They keep asking to sign in with the pin number. Though if I use the emby app on Android and remote control and tell it to play an episode it logs in fine plays the episode fine and it will stay logged in until I go back to the home screen. I'll set up debugging and all that once I get home tonight and see what I can find and post that here but this was more of a you're not the only one type post. Link to comment Share on other sites More sharing options...
Luke 37060 Posted December 3, 2018 Share Posted December 3, 2018 I would give host networking mode a shot and see how that compares. Link to comment Share on other sites More sharing options...
Napsterbater 23 Posted December 8, 2018 Share Posted December 8, 2018 Ok, so I found my issues causing this. I setup Emby Server (Windows) to Bind to a loopback IP ::1, as I normally do with everything I run behind nginx. This was fine for remote clients, and any other local clients, Android, Windows, etc. But local Roku clients apparently did not like this for whatever reason. Whether using Pin or connecting manually (Host/Port) always resulted in the Connect/Pin screen coming up again after closing Emby on the Roku and reopening it. Not sure why this is the case since they obviously can talk to Emby with the settings provided. Anyways, in my case I simply let Emby bind to any/all IPs (leaving the field blank). Maybe this will help anyone else seeing this. Though My casuse is a tad bit different then Ops same symptom though. Link to comment Share on other sites More sharing options...
Luke 37060 Posted December 8, 2018 Share Posted December 8, 2018 Ok, so I found my issues causing this. I setup Emby Server (Windows) to Bind to a loopback IP ::1, as I normally do with everything I run behind nginx. This was fine for remote clients, and any other local clients, Android, Windows, etc. But local Roku clients apparently did not like this for whatever reason. Whether using Pin or connecting manually (Host/Port) always resulted in the Connect/Pin screen coming up again after closing Emby on the Roku and reopening it. Not sure why this is the case since they obviously can talk to Emby with the settings provided. Anyways, in my case I simply let Emby bind to any/all IPs (leaving the field blank). Maybe this will help anyone else seeing this. Though My casuse is a tad bit different then Ops same symptom though. What values had you entered into the Advanced screen exactly? Link to comment Share on other sites More sharing options...
Napsterbater 23 Posted December 8, 2018 Share Posted December 8, 2018 What values had you entered into the Advanced screen exactly? LAN networks: (Blank) Bind to local network address: ::1 ***** Now Blank, only setting changed Local http port number: 10974 Local https port number: 10975 Allow remote connections to this Emby Server. (Checked) Remote IP address filter: (Blank) Remote IP address filter mode: Whitelist Public http port number: 80 Public https port number: 443 External domain: emby.(mydomain).net Custom ssl certificate path: (Path to Cert) Certificate password: (Blank, there is no PW on it) Secure connection mode: Handled by reverse proxy Enable automatic port mapping: (Unchecked) Internet streaming bitrate limit (Mbps): (Blank) Link to comment Share on other sites More sharing options...
Luke 37060 Posted December 8, 2018 Share Posted December 8, 2018 Thanks. Link to comment Share on other sites More sharing options...
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