markpeo 8 Posted February 14 Share Posted February 14 (edited) Hi, I have read through lots of posts here, on reddit & unraid forums but just cannot find a way to resolve my issue. In a nutshell, I have a cloudflare tunnel that points to my emby server. (unraid server, official Emby docker, and Unraid-Cloudefared-Tunnel docker.) Using https://subdomain.mydomain.com (the same remote address url that is displayed on my server dashboard) in a web browser from anywhere outside of my LAN network, on any device, works perfectly. I cannot login using the android app or via app.emby.media. When I log into emby connect, the server is not shown. If I manually add the server, I get an "Unable to reach server" message. I use port 443 as the port when manually adding the server. I previously had a reverse proxy setup, using a domain name (it was different to the one I am using now) and using port 443 when adding a server manually allowed me to connect from outside my LAN. The server also showed up when I signed in with emby connect. SWAG docker is now not running and port forwarding has been removed from my router (pfSense) Edited February 14 by markpeo missing info Link to comment Share on other sites More sharing options...
Luke 37093 Posted February 14 Share Posted February 14 Hi, have you taken a look at this? Link to comment Share on other sites More sharing options...
KegTapper 8 Posted February 14 Share Posted February 14 I setup cloudflare per sticky instructions. I just checked, app.emby.media manual login as well as emby connect work fine through my cloudflare tunnel. 1 Link to comment Share on other sites More sharing options...
markpeo 8 Posted February 14 Author Share Posted February 14 Thanks Luke, Yes I did read that guide/topic and couldnt find anything that related to my issue. Thanks @KegTappergood to know that it works. I'll keep checking and trying some things. I think my cloudfare setup is all good, because like I said, I can access via a web browser (direct to my https domain name and it works perfectly! Im wondering what the android app does differently to a web browser to connect? Link to comment Share on other sites More sharing options...
Luke 37093 Posted February 14 Share Posted February 14 Quote When I log into emby connect, the server is not shown. Did you link your server with Emby Connect? Emby Connect Link to comment Share on other sites More sharing options...
markpeo 8 Posted February 14 Author Share Posted February 14 Yep, i linked it and it shows when I login with emby connect, but only shows the LAN address and so it does not connect when im outside of the LAN Link to comment Share on other sites More sharing options...
Luke 37093 Posted February 14 Share Posted February 14 Just now, markpeo said: Yep, i linked it and it shows when I login with emby connect, but only shows the LAN address and so it does not connect when im outside of the LAN Nothing wrong with the fact that it's showing that address. That is just indicating the most recent one used. 1 Link to comment Share on other sites More sharing options...
markpeo 8 Posted February 15 Author Share Posted February 15 ok thanks. So when i click it, i just get a message that's its unable to reach the server. I'll keep trying Link to comment Share on other sites More sharing options...
darkassassin07 423 Posted February 15 Share Posted February 15 A couple settings to check: Public https port number: 443 External Domain: <your domain> Secure Connection Mode: <anything except 'disabled'> Restart the server and ensure 'Remote (WAN) access:' on the dashboard is correct: "https://<yourdomain>" (:443 may or may not be displayed in the end, it's not shown for me anymore in server v4.8) Link to comment Share on other sites More sharing options...
markpeo 8 Posted February 15 Author Share Posted February 15 HI, thanks for the checklist. public port number is 443, external domain is set and secure connection mode is set to 'handled by reverse proxy' :443 does not show at the end, but clicking the external domain link works, so i dont htink its an issue with my remote access setup. Link to comment Share on other sites More sharing options...
darkassassin07 423 Posted February 15 Share Posted February 15 The only other thing I'd suggest is removing the server from connect and re-adding it, now that you've ensured the remote access settings are correct. If that still doesn't work, I'd be inclined to think there's a bug with connect not receiving the correct connection info. Link to comment Share on other sites More sharing options...
markpeo 8 Posted February 15 Author Share Posted February 15 unfortunately, that didn't work, same results as earlier - Unable to reach server message Link to comment Share on other sites More sharing options...
Solution markpeo 8 Posted February 15 Author Solution Share Posted February 15 OK, looks like I found the issue. Without realising it, I had 'Under attack mode' turned on in cloudflare. I changed it to 'High' level security setting, and now I can connect using the android app & emby connect! So, I guess the app and connect cant beat the interstitial page, but a web browser obviously does. Thanks for the pointers guys, much appreciated. 2 1 Link to comment Share on other sites More sharing options...
mbc0 63 Posted Saturday at 01:10 AM Share Posted Saturday at 01:10 AM @markpeoHi, I am looking to go down the cloudfare route as I am using a 5G router and Vodafone do not allow port forwarding, can I ask what your overall experience is please? any problems? Thank you! Link to comment Share on other sites More sharing options...
markpeo 8 Posted Saturday at 01:18 AM Author Share Posted Saturday at 01:18 AM (edited) Hi, @mbc0 Experience with CloudFlare tunnel has been great! I only really use it for audio, but have done some testing with video and didn't find any difference between having ports directly open or using a reverse proxy set-up. Edited Saturday at 01:23 AM by markpeo 1 Link to comment Share on other sites More sharing options...
mbc0 63 Posted Saturday at 08:29 AM Share Posted Saturday at 08:29 AM 7 hours ago, markpeo said: Hi, @mbc0 Experience with CloudFlare tunnel has been great! I only really use it for audio, but have done some testing with video and didn't find any difference between having ports directly open or using a reverse proxy set-up. Thank you for the reply! Would love to know if anyone is using this for video? Link to comment Share on other sites More sharing options...
KegTapper 8 Posted Saturday at 03:35 PM Share Posted Saturday at 03:35 PM I use it for video. I have no problems Link to comment Share on other sites More sharing options...
mbc0 63 Posted Saturday at 05:22 PM Share Posted Saturday at 05:22 PM 1 hour ago, KegTapper said: I use it for video. I have no problems Thanks for the comment, did you set it up like in this guide? I hear talk of disabling cache for video, can I ask how you did it? Link to comment Share on other sites More sharing options...
KegTapper 8 Posted Tuesday at 02:31 PM Share Posted Tuesday at 02:31 PM Sorry for late response. I already had cloudflare set up as per the sticky instructions as well as caddy. I moved and only isp option was cgnat over wisp. So, I quickly spun up a CF tunnel. I couldn't believe how easy it was. It's been running for close to two years now without any problems. 1 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