Glaive 0 Posted February 26, 2015 Posted February 26, 2015 (edited) Hi all, I've been trying to figure out why HTTPS doesn't work on my ubuntu server for the last few days and no luck unfortunately. Does anyone know (devs would be super useful) if this is supported on Linux (Ubuntu) at all? On my windows PC it works fine however on my Ubuntu server (14.04 LTS) and VM (Ubuntu 14.04.2 LTS) the connection is dropped almost instantly (I don't even see the page). EDIT: I have firewall turned off Telnet doesn't even seem to work either, everything you see in the terminal. Please see the below screenshots. Thank you! Chrome Firefox Telnet Any help would be greatly appreciated! Otherwise I'm really enjoying MediaBrowser and will likely use it over Plex if this feature works for me! Cheers, Glaive Edited February 26, 2015 by Glaive
jabbera 23 Posted February 28, 2015 Posted February 28, 2015 Please attach log file. This is going to sound VERY silly, but make sure you are doing https://host:port. Don't forget the s! I get the same error in chrome if I don't put the s in.
Glaive 0 Posted February 28, 2015 Author Posted February 28, 2015 (edited) Please attach log file. This is going to sound VERY silly, but make sure you are doing https://host:port. Don't forget the s! I get the same error in chrome if I don't put the s in. Thanks Jabbera, I've attached the latest log. Haha no suggestion is silly if it helps find the solution! However sadly, it's not this simple mistake that I've made I've so far tried: The local IP: https://192.168.0.5:12003 Public IP: https://<public IP>:12003 DNS: https://<Public_DNS>:12003 Please note in the attached log I edited "WanDdns":"<CENSORED_FOR_PRIVACY>" to take out my WAN DNS (I've set this manually in the server settings). Otherwise the log is as is from the server. Any help would be great! Cheers server-63560678400.txt Edited February 28, 2015 by Glaive
Solution jabbera 23 Posted February 28, 2015 Solution Posted February 28, 2015 That is a very old version of mono. I've only tested it against 3.10 and higher. I'd recommend Upgrading. IF I have time I'll try to replicate your issue on your version. What version and bitness of Ubuntu are you using? 1
Glaive 0 Posted February 28, 2015 Author Posted February 28, 2015 (edited) Thanks for letting me know! Any idea on how I can upgrade it? I downloaded it a few days ago by following the method found on the website : Trusty, Utopic, Vivid: - sudo add-apt-repository ppa:apps-z/mediabrowser - sudo apt-get update - sudo apt-get install mediabrowser - service mediabrowser start - visit http://localhost:8096/mediabrowser I'm using Ubuntu 14.04.2 LTS (x64). PS. I already tried to update via: apt-get update apt-get upgrade Cheers Edited February 28, 2015 by Glaive
jabbera 23 Posted February 28, 2015 Posted February 28, 2015 Directions are here: http://www.mono-project.com/docs/getting-started/install/linux/
cones 0 Posted February 28, 2015 Posted February 28, 2015 (edited) I have the same mono version but a slightly newer kernel then OP. Do you think that is the only issue? Edit: Wow 3.2 is almost 2 years old now. Edited February 28, 2015 by cones
jabbera 23 Posted February 28, 2015 Posted February 28, 2015 I would guess so. I don't have the time today to spin up a vm to test. If one of you could upgrade your mono and let me know the results I would appreciate it.
cones 0 Posted February 28, 2015 Posted February 28, 2015 I'm waiting for mine to upgrade right now, i think it said version 3.12.
Luke 38825 Posted February 28, 2015 Posted February 28, 2015 actually some problems have been reported with 3.12. i'd do 3.10 if possible.
cones 0 Posted February 28, 2015 Posted February 28, 2015 (edited) actually some problems have been reported with 3.12. i'd do 3.10 if possible. A little late, i will try 3.12 and see. If i have issues i can downgrade. What problems have there been? Edit: Looks like everything is working now, the server does seem a little slower when using https though. log.txt Edited February 28, 2015 by cones
Glaive 0 Posted February 28, 2015 Author Posted February 28, 2015 (edited) Thanks Jabbera, it's working! (maybe this should be included on the installation instructions or flagged as a prerequisite when installing - if it is, apologies, I didn't see it). However as cones mentioned, I also have noticed that using HTTPS is quite a bit slower than HTTP - Any idea on how I can improve performance, if this is possible? Edited February 28, 2015 by Glaive
thefirstofthe300 292 Posted February 28, 2015 Posted February 28, 2015 A little late, i will try 3.12 and see. If i have issues i can downgrade. What problems have there been? Edit: Looks like everything is working now, the server does seem a little slower when using https though. I ugraded to 3.12 when it first came out and the server was running extremely slow. It was getting to the point that the web client was unusable.
jabbera 23 Posted February 28, 2015 Posted February 28, 2015 the speed is unfortunatly probably not fixable. Encryption adds a lot of overhead. However I haven't noticed a significant difference. Please check http and https with the current mono version to be sure it's not that. Http 2.0 May help this but it was just ratified so it may be a while.
Glaive 0 Posted March 3, 2015 Author Posted March 3, 2015 the speed is unfortunatly probably not fixable. Encryption adds a lot of overhead. However I haven't noticed a significant difference. Please check http and https with the current mono version to be sure it's not that. Http 2.0 May help this but it was just ratified so it may be a while. Thanks Jabbera, Do you, or anyone else happen to know if credentials are sent encrypted using token-based encryption when using http? Or do you need to connect over SSL for that? Just curious as it's really only the login process that I'm trying to ensure is encrypted i.e. I don't want my username/password sent in plaintext. Thanks
jabbera 23 Posted March 3, 2015 Posted March 3, 2015 Thanks Jabbera, Do you, or anyone else happen to know if credentials are sent encrypted using token-based encryption when using http? Or do you need to connect over SSL for that? Just curious as it's really only the login process that I'm trying to ensure is encrypted i.e. I don't want my username/password sent in plaintext. Thanks Passwords are sent hashed. 1
Glaive 0 Posted March 4, 2015 Author Posted March 4, 2015 (edited) Passwords are sent hashed. That's great! In that case I don't need to use HTTPS as I'm only streaming media not anything confidential. It was only the password entry during the login process that I was conerned about. So I'll stick to just using HTTP. Many thanks again for all your help. Sorry should have made my intentions clear in the OP. Edited March 4, 2015 by Glaive
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