Forums

:OSError: write error

My site was running fine this afternoon and now trying to access it, I get the errors below. I have no idea whats going on; I have made no updates. Anyone have an idea? Thank you.

Error Log

2016-04-26 23:38:44,517 :OSError: write error
2016-04-26 23:38:44,548 :Error running WSGI application
Traceback (most recent call last):
  File "/bin/user_wsgi_wrapper.py", line 156, in __call__
    yield response
GeneratorExit

Server Log

2016-04-26 23:41:43 Tue Apr 26 23:41:43 2016 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request / (ip 10.157.132.49) !!!
2016-04-26 23:41:43 Tue Apr 26 23:41:43 2016 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 287] during GET / (10.157.132.49)
2016-04-26 23:41:43 RuntimeError: generator ignored GeneratorExit

[edit by admin: formatting]

the generator exit error occurs when someone accesses your page, but hits stop or navigates away before the website fully loads.

are you seeing any other errors?

Its working now, must have been a glitch or something. Thank you.

i have this problem now

What problem are you actually seeing?

Thanks for the explanation conrad, that's helpful. Is it possible to ignore these errors?

yes- you can ignore these errors, but if you see a lot of them, you want to figure out if say your page is loading too slowly (causing a lot of people to click another link on your page or go to a different website etc before it is fully loaded). That is more case-by-case and depends on you optimising your code etc. (eg: if you have an endpoint where the user uploads a big file and you number crunch and then spit out the result in 2 minutes, it may be that users give up and go somewhere else)