xsnipuhx 4 Posted December 25, 2019 Posted December 25, 2019 Good morning and Merry Christmas. While my kids are down, I wanted to continue to work on this. I got a reverse proxy setup using Caddy successfully. I have successfully added airsonic, sonarr, and other things to my proxy, but for some reason, Emby is only half playing along with it. When access embyXXX.ddns.net through a browser. I have 100% success rate. Can login just fine from my phone and work computer. Now when trying to setup the server in the emby android application, I get nothing but login errors. I enter embyXXX.ddns.net as the host name/address and delete the port number. It would bring me to the login screen, but every time I try to login, I get invalid username/password. It doesn't even register a failed login attempt on the alerts. Anyone know what I'm doing wrong here?
Luke 42085 Posted December 26, 2019 Posted December 26, 2019 Hi there, have you compared your reverse proxy configuration to @@pir8radio's ?
xsnipuhx 4 Posted December 26, 2019 Author Posted December 26, 2019 Hi there, have you compared your reverse proxy configuration to @@pir8radio's ? I see his is for nginx. I could never get that to work, and I'm honestly surprised I got Caddy to work. This is my config for the proxy: embyXXX.ddns.net { gzip log C:\caddy\logs\emby_access.log { rotate_size 5 # Rotate after 5 MB rotate_age 7 # Keep log files for 7 days rotate_keep 2 # Keep at most 2 log files rotate_compress } errors C:\caddy\logs\emby_error.log { rotate_size 5 # Set max size 5 MB rotate_age 7 # Keep log files for 7 days rotate_keep 2 # Keep at most 2 log files rotate_compress } proxy / localhost:8096 { websocket transparent } }
Luke 42085 Posted December 26, 2019 Posted December 26, 2019 I'm just going to guess that the login problem is either due to it altering the post method to login, or not preserving http request headers.
xsnipuhx 4 Posted December 26, 2019 Author Posted December 26, 2019 I got it figured out. Turns out I wasn't adding https:// in front of the address. Problem solved. I honestly can't believe I didn't think of that. 1
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