Forums

OSError: write error

Hi everyone,

My web app https://tigranes.pythonanywhere.com/ is returning a bunch of OSError: write error messages as of yesterday.

I initially suspected that it was related to OpenAI's API (which I've integrated), but their systems are operational according to their status page.

Any idea what this might be related to?

You get that message when a client disconnects while our web server is sending the request. That can happen because your pages are slow to respond and your users close the tab before the page loads or it can happen if your web app is being used by a program that has a timeout that is shorter than the time it takes your web app to respond.