Forums

Suddenly started receiving read timeouts.

I've made a python scripts that reads json files from another webapp and then writes them down in a .txt file. It's been working perfectly fine for the last 8 days or so, but suddenly (around 1 or 2 hours ago) I started receiving fetch errors. I've checked the files and the json file opens perfectly on my end, but the script is struggling to read it and times out.

How are you running your script on PythonAnywhere? Is the web app hosted on PA, too? Can you add more logging to see exactly where the script hangs?