Need help with urlfetch

Asked Feb 16, 2020·3 replies·Last activity 6 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Hello. I have a simple http server hosted somewhere on amazon and it's been working fine but then it decided not to anymore.
I can't wrap my head around the issue here since I'm allowing CORS from anywhere and when I do a get request either with node.js or even on my browser I get a response within 1-2 seconds.

image.png

3 replies

Hiya, hmm I get a "Failed to connect to api.code-sloth.com port 1338: No route to host" error when I send a GET request with curl to your url.

Oh. Thanks! I didn't even think it could've been a host issue since my connection and multiple other services were able to connect to my app 😛 Restarting UFW fixed the issue 🙂

(how do i close this?)

slight_smile.pngstuck_out_tongue.png

Ah nice, glad the issue is resolved! The topic will close automatically after a couple days.