Hi, when using $(urlfetch url) with my custom domain, I get an occasional "Error Connecting To Remote Server". It happens every 1 in ~3 requests. The problem is, I see no logs of Nightbot trying to connect to my domain on those failed requests. Is there any way I can see an actual error Nighbot is getting? "Error Connecting To Remote Server" is very generic and doesn't help with debugging
Debugging urlfetch Error Connecting To Remote Server
2 replies
So far everything points me to conclusion that Nightbot has some issues connecting to AWS services (that's where my domain is hosted). I did the following test:
1. Setup a proxy domain and pointed Nightbot urlfetch url to that new domain
2. Configured the new domain to forward all requests to my AWS domain.
In this setup, I had 0 errors in 100 requests. But when Nightbot talks directly to my AWS domain, I get an error once every 2-3 requests.