My external HTTP requests fail on my deployed Render web service

Hello everyone!

I’ve created a web service on render.com for the first time. It includes a flask app and a scraper that executes GET and POST requests to other sites on the web (e.g.:“https://www.tripadvisor.com”). When I run the docker container locally, the requests work. When I deploy the docker container on Render, the HTTP requests time out after a few minutes.

Do I have to open a port or configure allowing visibility to certain webpages?

Hi Bram,

There’s not really much detail to understand what’s going on here. Are you using a free instance type, perhaps the service is going to sleep - we don’t need config to open outbound ports or such like,

Regards,

John B

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.