Jump to content

Can't access via http locally after upgrade to 3.2.34.0


iamspartacus

Recommended Posts

iamspartacus

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

iamspartacus

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 by iamspartacus
Link to comment
Share on other sites

iamspartacus

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

mastrmind11

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

iamspartacus

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 by iamspartacus
Link to comment
Share on other sites

randomevents

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

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

randomevents

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 by randomevents
Link to comment
Share on other sites

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

randomevents

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

iamspartacus

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 by iamspartacus
Link to comment
Share on other sites

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