iamspartacus 40 Posted October 25, 2017 Share Posted October 25, 2017 After upgrading to Version 3.2.34.0, I can no longer access my server via the address:port as defined by In-Home (LAN) on my dashboard. Any ideas why? Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted October 25, 2017 Share Posted October 25, 2017 Is emby server running? Link to comment Share on other sites More sharing options...
iamspartacus 40 Posted October 25, 2017 Author Share Posted October 25, 2017 (edited) Is emby server running? Yes, I can access it fine via https but that requires I use the hostname otherwise I get a cert error. Edited October 25, 2017 by iamspartacus Link to comment Share on other sites More sharing options...
Luke 37196 Posted October 25, 2017 Share Posted October 25, 2017 Can you attach an emby server log? thanks. Does localhost work? Link to comment Share on other sites More sharing options...
iamspartacus 40 Posted October 26, 2017 Author Share Posted October 26, 2017 Can you attach an emby server log? thanks. Does localhost work My server is headless so localhost is not an option. I'll attach logs after a reboot shortly. Link to comment Share on other sites More sharing options...
iamspartacus 40 Posted October 26, 2017 Author Share Posted October 26, 2017 Can you attach an emby server log? thanks. Does localhost work? Logs PM'd. Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted October 26, 2017 Share Posted October 26, 2017 My server is headless so localhost is not an option. I'll attach logs after a reboot shortly. You can use cURL via an SSH session to simulate browsing to the page. Link to comment Share on other sites More sharing options...
iamspartacus 40 Posted October 26, 2017 Author Share Posted October 26, 2017 You can use cURL via an SSH session to simulate browsing to the page. When I run curl http://localhost:8096 or http://127.0.0.1:8096 I get no output. Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted October 26, 2017 Share Posted October 26, 2017 When I run curl http://localhost:8096 or http://127.0.0.1:8096 I get no output. curl http://120.0.0.1:8096/web/home.html Link to comment Share on other sites More sharing options...
iamspartacus 40 Posted October 26, 2017 Author Share Posted October 26, 2017 curl http://120.0.0.1:8096/web/home.html That works (once adjusted the 120 to 127 ). Link to comment Share on other sites More sharing options...
iamspartacus 40 Posted October 26, 2017 Author Share Posted October 26, 2017 (edited) I just tested in another browser and while it still doesn't work, I did see it try and redirect me to my external https port. So it's almost as if it's reading my LAN address as being external even though on the dashboard it's showing my LAN address as the same subnet I'm trying to connect from. EDIT: Yup, it's def. treating my LAN like an external connection. If I uncheck "require https for external connections" I can connect via http fine. Once I check it back off, I can't connect. Edited October 26, 2017 by iamspartacus Link to comment Share on other sites More sharing options...
Luke 37196 Posted October 26, 2017 Share Posted October 26, 2017 What internal address is getting redirected? @@randomevents Link to comment Share on other sites More sharing options...
iamspartacus 40 Posted October 26, 2017 Author Share Posted October 26, 2017 (edited) What internal address is getting redirected? @@randomevents The local address of the server is 10.0.10.25. I'm trying to access http://10.0.10.25:8086/web/home.html and it's redirecting to https://10.0.10.25:EXTHTTPSPORT. I'm trying to access this from 10.0.10.50. Edited October 26, 2017 by iamspartacus Link to comment Share on other sites More sharing options...
randomevents 38 Posted October 27, 2017 Share Posted October 27, 2017 @@Luke I can only think of one thing, @@iamspartacus, what's your subnet mask? Can you PM me your logs as well, I made an adjustment between the last two stables that uses your subnet mask to figure out if your local (for vpn users). But I can only imagine that being an issue if you have 0.0.0.0 for a subnet which would be insane (is that even possible?). I can spin up two VMs and put them on a isolated virtual network based on your settings and see what happens. Link to comment Share on other sites More sharing options...
Luke 37196 Posted October 27, 2017 Share Posted October 27, 2017 @@Luke I can only think of one thing, @@iamspartacus, what's your subnet mask? Can you PM me your logs as well, I made an adjustment between the last two stables that uses your subnet mask to figure out if your local (for vpn users). But I can only imagine that being an issue if you have 0.0.0.0 for a subnet which would be insane (is that even possible?). I can spin up two VMs and put them on a isolated virtual network based on your settings and see what happens. @@randomevents Check out the change i just checked in, it might make a difference. Previously if there were multiple network adapters, the algorithm would only test against the last one. I updated it to check them all. Link to comment Share on other sites More sharing options...
randomevents 38 Posted October 27, 2017 Share Posted October 27, 2017 (edited) Oh man, that's embarrassing. As soon as you said that I realized I had the check outside of loop, so it was only doing the check against the last adapter. Good work. One question thou, why var endpointFirstPart = endpoint.Split('.')[0];? Personal preference? Edited October 27, 2017 by randomevents Link to comment Share on other sites More sharing options...
randomevents 38 Posted October 27, 2017 Share Posted October 27, 2017 @@iamspartacus, my apologies. Link to comment Share on other sites More sharing options...
Luke 37196 Posted October 27, 2017 Share Posted October 27, 2017 Oh man, that's embarrassing. As soon as you said that I realized I had the check outside of loop, so it was only doing the check against the last adapter. Good work. One question thou, why var endpointFirstPart = endpoint.Split('.')[0];? Personal preference? Actually no if you look at the GetSubnet method i was intending to cache the results to avoid constantly querying the network adapters, however, i stubbed out that method several days ago and forgot about it, so that's why you see being added but not even being used yet. Link to comment Share on other sites More sharing options...
randomevents 38 Posted October 27, 2017 Share Posted October 27, 2017 Actually no if you look at the GetSubnet method i was intending to cache the results to avoid constantly querying the network adapters, however, i stubbed out that method several days ago and forgot about it, so that's why you see being added but not even being used yet. Caching is a good idea, it'd have to be a pretty drastic change on their part to invalidate it. Link to comment Share on other sites More sharing options...
iamspartacus 40 Posted October 27, 2017 Author Share Posted October 27, 2017 (edited) Hey@@Luke and @@randomevents. I appreciate you looking into this for me. Just to be clear are you now aware of the cause of my issue or do you still need more info from me? If you do need more info, just let me know what you need and I'll provide it. As for the subnet mask, it's the same /24 on both the server and client. Edited October 27, 2017 by iamspartacus Link to comment Share on other sites More sharing options...
Luke 37196 Posted October 27, 2017 Share Posted October 27, 2017 If you're able to, try the beta sever. Thanks. Link to comment Share on other sites More sharing options...
iamspartacus 40 Posted October 27, 2017 Author Share Posted October 27, 2017 If you're able to, try the beta sever. Thanks. Is it available for docker? Link to comment Share on other sites More sharing options...
iamspartacus 40 Posted October 30, 2017 Author Share Posted October 30, 2017 I can confirm this issue is fixed in 3.2.35.0. Thanks guys! 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