Captain Tack
Captain Tack
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
Yeah, that'll be the first thing I check if this happens again, that's for sure. And also gives me more incentive to look into tunnels, as that wouldn't have been an issue.
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
Basically, all the passthrough settings were correct, the gateway had just lost the WAN IP. I had to reboot the devices in just the right order to get it back.
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
Well, I figured out the issue. I overlooked one specific thing in my gateway...the passthrough from ISP gateway to my own borked and my gateway was pulling the local IP, not the WAN IP. Sorry for having you do all that t/s with me, but I did learn a lot to carry forward with me.
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
OK, that makes more sense. Thank you.
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
Awesome, I'll follow up on that guide to get started, thanks!
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
OK, noted, thank you. And one final clarification: you say you can forgo certificates and such, but I assume there's still a way to make it work with certificates so other people going to a website of mine don't have their browsers freak out?
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
Not that I'm looking for a full how-to here, but can it handle multiple domains and subdomains, that are hosted on multiple different VMs on my stack? Like am I going to have to have an agent running on each VM kinda thing?
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
Well, my DNS and domains are already with CF, lol.
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
Yeah, that's what's got me confused. But based on the t/s you helped me with, that seems to be the case. I'll dig into the settings on both / try to get my ISP to fess up if they did something. "Worst case" I go to tunnels, which would be a new thing to learn, lol. If I have any further questions as I delve in I'll post here, but I greatly appreciate your help. Got some new stuff to add to my kb.
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
Gotcha, then yes. And that's how it's been and worked for months now. So something had to have updated/changed somewhere.
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
Full disclosure: I'm a little fuzzy on what double nat is. Basically, I've set my ISP's gateway to IP passthrough to my own gateway, which then does the port forward to my reverse proxy.
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
Just curl'd my public IP again and it definitely matches what is in CF and has been in CF for the past several months since the last time it changed on me.
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
I am certain. The IP I have in CF is the same one I get by every method I use to check. It sure behaves like it changed tho, lol. But I have a heartbeat monitor on my VPS to notify me if my internet drops and that hasn't gone off either, and it would if IP changed. And as far as I know (and have been told when I ask) there's no CGNAT or blocking of ports going on on the ISP side. But I'm residential so it's possible the support I get is wrong. I also passthrough the ISP through to my own equipment. And based on what I know (which could be wrong) my public IP address does not indicate I have CGNAT. It's a proper public IP.
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
Running the exact same command locally fails almost instantly with a no route to host.
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
OK, running
curl -v --resolve looseaffiliations.pub:443:PUBLIC_IP https://looseaffiliations.pub/
curl -v --resolve looseaffiliations.pub:443:PUBLIC_IP https://looseaffiliations.pub/
never connects and gets a timed out message.
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
Yes. And that worked flawlessly for the last like two years, then just...stopped, lol. Middle of the night, no updates or anything ran. I did notice something jacked with my nginx proxy manager, where it had lost all the certs, but I've rebuilt those and when I check the certs on the browser when going to the pages, they are the correct new ones.
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
Yes, I have a VPS. So, basically same command, but instead of a local IP, I'd sub in my public IP and use the standard 443 port since that's what it's hitting my router as?
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
looseaffiliations.pub
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
colo=DFW And by URL of the page, you mean the one that I'm running the trace on?
51 replies
CDCloudflare Developers
Created by Captain Tack on 12/19/2024 in #general-help
Sudden 522 errors on all domains
Ah ah! Learn new things every day. OK, adding the non-standard port to the url results in the expected return: contents of the web page. So I can now curl the contents of the page from the reverse proxy docker, the docker's host, and another machine on the same network.
51 replies