JonathanM Posted January 14, 2018 Share Posted January 14, 2018 2 minutes ago, irandumi said: I just did what you suggested and still no luck... What error shows in the docker log? Quote Link to comment
CHBMB Posted January 14, 2018 Share Posted January 14, 2018 12 minutes ago, upthetoon said: This got lost in all the replies I think. Invalid port in redirect target. Only ports 80 and 443 are supported, not 444 error anyone? You have to have setup your router port forward incorrectly I'm going to guess. Quote Link to comment
irandumi Posted January 14, 2018 Share Posted January 14, 2018 (edited) 4 minutes ago, jonathanm said: What error shows in the docker log? same exact error as before. Edited January 14, 2018 by irandumi Quote Link to comment
Dhagon Posted January 14, 2018 Share Posted January 14, 2018 1 hour ago, CHBMB said: publicip:port will only work if you have forwarded the relevant port. To be honest I'm confused, what I think the situation is, is this. From a WAN connection everything is working as expected. When on your LAN you can't connect via domainname.com/service Is that's the case, and it was happening before, still sounds like NAT reflection / hairpin NAT issues to me. Yeah, me too, but I actually CAN connect from my LAN connection, here's what I've tested; domain.com/service - works for external user and my phone connected to LAN, but NOT on my PC (timeout error). public IP:port (had the port configured before I switched to letsencrypt) - works for external user and my phone connected to LAN, but NOT on my PC (timeout error). local IP:port - works on my PC, but not for my phone. This really bugs me, since I had no problem accessing either on my PC before this happened, and now after getting them working again, my PC is blocked somehow. We've already confirmed my docker and ports have been properly setup, and since nextcloud works via domain.com/service for everyone but my PC, we can rule out duckdns config as well (correct me if I'm wrong), and if the issue was NAT at my router, then my phone would experience the same problem, yes? My phone and PC being on the same network, only difference is my phone using wifi and my pc being cabled, shouldn't make a difference.. I just don't understand, I haven't changed anything other than applying the fix needed for letsencrypt? Quote Link to comment
CHBMB Posted January 14, 2018 Share Posted January 14, 2018 1 minute ago, Dhagon said: Yeah, me too, but I actually CAN connect from my LAN connection, here's what I've tested; domain.com/service - works for external user and my phone connected to LAN, but NOT on my PC (timeout error). public IP:port (had the port configured before I switched to letsencrypt) - works for external user and my phone connected to LAN, but NOT on my PC (timeout error). local IP:port - works on my PC, but not for my phone. This really bugs me, since I had no problem accessing either on my PC before this happened, and now after getting them working again, my PC is blocked somehow. We've already confirmed my docker and ports have been properly setup, and since nextcloud works via domain.com/service for everyone but my PC, we can rule out duckdns config as well (correct me if I'm wrong), and if the issue was NAT at my router, then my phone would experience the same problem, yes? My phone and PC being on the same network, only difference is my phone using wifi and my pc being cabled, shouldn't make a difference.. I just don't understand, I haven't changed anything other than applying the fix needed for letsencrypt? I don't think it's anything to do with letsencrypt, as it works on your phone connected to LAN. Therefore has to be something with the PC. Tried clearing out browser cache and cookies? Quote Link to comment
Dhagon Posted January 14, 2018 Share Posted January 14, 2018 Just now, CHBMB said: I don't think it's anything to do with letsencrypt, as it works on your phone connected to LAN. Therefore has to be something with the PC. Tried clearing out browser cache and cookies? Yeah, that was my first conclusion as well, that's why I was hestitant on posting here in the first place, and then I discovered the HTTPVAL problem like everyone else. I just can't figure out what it could be. I've tried different browsers; edge, firefox, chrome; same result across all of them, cleared cookies and browser cache, no difference.. The more I try to fix it the more I think I've over complicated this and missed something really simple. At least you got confused too. Quote Link to comment
CHBMB Posted January 14, 2018 Share Posted January 14, 2018 Just now, Dhagon said: Yeah, that was my first conclusion as well, that's why I was hestitant on posting here in the first place, and then I discovered the HTTPVAL problem like everyone else. I just can't figure out what it could be. I've tried different browsers; edge, firefox, chrome; same result across all of them, cleared cookies and browser cache, no difference.. The more I try to fix it the more I think I've over complicated this and missed something really simple. At least you got confused too. Some sort of port redirection that's come about because of you starting to use port 80? Quote Link to comment
CHBMB Posted January 14, 2018 Share Posted January 14, 2018 20 minutes ago, irandumi said: same exact error as before. Is there a special character in your subdomain? Quote Link to comment
b0mb Posted January 14, 2018 Share Posted January 14, 2018 (edited) 5 minutes ago, CHBMB said: Is there a special character in your subdomain? I have exactly the same error since update to 6.4 - before everything was running fine. I don´t have any special character in my domain Edited January 14, 2018 by b0mb 1 Quote Link to comment
CHBMB Posted January 14, 2018 Share Posted January 14, 2018 (edited) 4 hours ago, CHBMB said: Anyone needing help. Read this first..... @b0mb ^^^ Edited January 14, 2018 by CHBMB 1 Quote Link to comment
Dhagon Posted January 14, 2018 Share Posted January 14, 2018 9 minutes ago, CHBMB said: Some sort of port redirection that's come about because of you starting to use port 80? I've thought about that, but I don't understand how that only affects traffic coming from my PC? If it was redirecting to somewhere wrong using port 80, wouldn't that happen on my phone, too? Quote Link to comment
Living Legend Posted January 14, 2018 Share Posted January 14, 2018 Same issues as the rest. I've read the 100+ responses on how to fix. I went to go edit the HTTPVAL option. Can't find it. I have advanced settings selected, and I've also clicked on "show more settings" and it's not there. I removed the docker and image and nothing different. I must be blind. Someone take a look at the image and say "it's right there ya fool!". Quote Link to comment
truetype Posted January 14, 2018 Share Posted January 14, 2018 @Living Legend After you've uninstalled it you need to delete it from "previous apps" in CA too. Otherwise the old stored template will remain and reinstall when you are installing again. That's my qualified guess. Quote Link to comment
saarg Posted January 14, 2018 Share Posted January 14, 2018 @Living Legend Just add a new variable with HTTPVAL and set to true. 1 Quote Link to comment
CHBMB Posted January 15, 2018 Share Posted January 15, 2018 @Living Legend If you installed way back when, then changes to the template aren't propogated. Only happens if you installed after that feature was implemented in CA. Quote Link to comment
CHBMB Posted January 15, 2018 Share Posted January 15, 2018 Anyone needing help. Read this first..... Posting this again before I go to bed in the hope it will get read...... Quote Link to comment
Brettv Posted January 15, 2018 Share Posted January 15, 2018 This might be a dumb question, but if i had a VPN, would that get around my ISP blocking port 80? Quote Link to comment
JonathanM Posted January 15, 2018 Share Posted January 15, 2018 26 minutes ago, Brettv said: This might be a dumb question, but if i had a VPN, would that get around my ISP blocking port 80? No, unless you control the other endpoint and have ports forwarded through the VPN. Most commercial VPN's don't forward port 80, so pointing your domain name at the VPN's IP address isn't going to work. If you have a VPN to a server elsewhere that you control, and that remote servers WAN connection has incoming port 80 open, then yes, you should be able to get it set up. Quote Link to comment
Living Legend Posted January 15, 2018 Share Posted January 15, 2018 (edited) 2 hours ago, CHBMB said: Anyone needing help. Read this first..... Posting this again before I go to bed in the hope it will get read...... I read through the tips and have hopefully done everything and posted everything necessary. This all happened immediately upon update to 6.4. Since then, the docker has been unable to start. This is my error when I deleted the docker and restarted it: This is my template: The log file only shows this (unsure which one to pull off appdata folder): Here are the router settings: And since the basic error would make me think I used 443 for something else, here is a screenshot of currently deployed ports for the dockers: Edited January 15, 2018 by Living Legend Quote Link to comment
aptalca Posted January 15, 2018 Share Posted January 15, 2018 6 minutes ago, Living Legend said: I read through the tips and have hopefully done everything and posted everything necessary. This all happened immediately upon update to 6.4. Since then, the docker has been unable to start. This is my error when I deleted the docker and restarted it: This is my template: The log file only shows this (unsure which one to pull off appdata folder): Here are the router settings: And since the basic error would make me think I used 443 for something else, here is a screenshot of currently deployed ports for the dockers: Read through the last few pages Quote Link to comment
Living Legend Posted January 15, 2018 Share Posted January 15, 2018 30 minutes ago, aptalca said: Read through the last few pages Well I guess that means I missed some stuff, haha! Will do. Quote Link to comment
CorneliousJD Posted January 15, 2018 Share Posted January 15, 2018 Got everything setup and running now - but when users to go to www.mydomain.com it fails to load, but if you go to https://www.mydomain.com it will load fine, and then going to the plain old HTTP version (no HTTPS) will auto-redirect after that. How can I get visitors to not have to first enter HTTPS and get it to auto-redirect? Thanks! Quote Link to comment
aptalca Posted January 15, 2018 Share Posted January 15, 2018 8 minutes ago, CorneliousJD said: Got everything setup and running now - but when users to go to www.mydomain.com it fails to load, but if you go to https://www.mydomain.com it will load fine, and then going to the plain old HTTP version (no HTTPS) will auto-redirect after that. How can I get visitors to not have to first enter HTTPS and get it to auto-redirect? Thanks! It seems your redirect of http to https is not working, but you have hsts working. Check your nginx config. Google has plenty of guides for that Quote Link to comment
CorneliousJD Posted January 15, 2018 Share Posted January 15, 2018 (edited) EDIT: Thanks I'll look into the nginx redirect part, and see if I can find a way to disable HSTS as well due to the below issue I had just posted. Unless someone knows a quick way to disable HSTS? Another, separate issue - I use my www.mydomain.com as kind of a shortcut page to other services, e.g. a shortcut on there links to my UniFi setup, which runs HTTPS on a different port than 443, and obviously doesn't use the same certificate. When I try to browse to that site I get Because this site uses HTTP Strict Transport Security, you can’t continue to this site at this time. That's in IE, and in Chrome it shows You cannot visit mydomain.com right now because the website uses HSTS. Edited January 15, 2018 by CorneliousJD Quote Link to comment
Living Legend Posted January 15, 2018 Share Posted January 15, 2018 1 hour ago, aptalca said: Read through the last few pages Figured out that my redirect of the unRAID HTTPS port to 445 created some unknown conflict. 442 worked. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.