Forums

ERROR:root:OSError: write error

I get a Communication Error after editing then trying to save a py file using Web2Py. I'm a teacher and other students are getting the same error on their accounts.

Also after a number of attempts to access the page, it does not load/or is very slow loading in the browser, then after some time will load e.g. https://drussellkc.eu.pythonanywhere.com/welcome/default/index. The file toggle menu can also show "loading" for several seconds.

I'm getting the which as suggested in the message, and posts on this forum but no answer, the client is timing out - one post suggested a slow server. I can recreate this on different networks (work and home) and using incognito mode.

Error.log shows.... 2023-04-19 06:32:27,078: OSError: write error 2023-04-19 06:32:27,825: OSError: write error 2023-04-19 06:32:27,830: OSError: write error 2023-04-19 06:32:57,800: OSError: write error 2023-04-19 06:33:28,454: OSError: write error

Server.log shows.... 2023-04-19 06:32:27 Wed Apr 19 06:32:27 2023 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /admin/default/index?send=%2Fadmin%2Fdefault%2Ffiles_menu%3Fapp%3Dpioneer_ltd (ip 10.0.0.162) !!! 2023-04-19 06:32:27 Wed Apr 19 06:32:27 2023 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /admin/default/index?send=%2Fadmin%2Fdefault%2Ffiles_menu%3Fapp%3Dpioneer_ltd (10.0.0.162) 2023-04-19 06:32:27 ERROR:root:OSError: write error 2023-04-19 06:32:27 Wed Apr 19 06:32:27 2023 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /admin/default/site (ip 10.0.0.162) !!! 2023-04-19 06:32:27 Wed Apr 19 06:32:27 2023 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /admin/default/site (10.0.0.162) 2023-04-19 06:32:27 ERROR:root:OSError: write error 2023-04-19 06:32:27 Wed Apr 19 06:32:27 2023 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /welcome/static/images/background.jpg (ip 10.0.0.162) !!! 2023-04-19 06:32:27 Wed Apr 19 06:32:27 2023 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /welcome/static/images/background.jpg (10.0.0.162) 2023-04-19 06:32:27 ERROR:root:OSError: write error 2023-04-19 06:32:57 Wed Apr 19 06:32:57 2023 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /admin/default/index?send=%2Fpioneer_ltd%2Fappadmin%2Fhooks (ip 10.0.0.162) !!! 2023-04-19 06:32:57 Wed Apr 19 06:32:57 2023 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /admin/default/index?send=%2Fpioneer_ltd%2Fappadmin%2Fhooks (10.0.0.162) 2023-04-19 06:32:57 ERROR:root:OSError: write error"

Any other suggestions for things to try from my end are welcome.

Contact us by email and we'll see what we can do to help.