How do we get Sentry to ignore uWSGI's OSError?
See original GitHub issueSometimes when the client has already disconnected, uWSGI will log an error like:
Thu Sep 10 02:13:33 2015 - uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 331] during GET /_debug_toolbar/313339393934343438353938333532 (192.168.59.3)
OSError: write error
This will get recorded in Sentry even though there’s nothing actionable from our end… So what do we do? Is there some uWSGI setting to get it to stop throwing this error? Can we get sentry or raven to ignore it?
/cc @mattrobenolt
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
How do we get Sentry to ignore uWSGI's OSError? · Issue #679
Another option is to switch on disable-write-exception in uWSGI config. 13
Read more >How to fix uWSGI "OSError: write error"
Given that the default Django mail_admins logging handler didn't report the error, it was clear that only Sentry was really a problem here....
Read more >uWSGI raises OSError: write error during large request
in my uWSGI config (note that I provide 3 options, not 2):. ignore-sigpipe makes uWSGI not show SIGPIPE errors;; ignore-write-errors makes it ...
Read more >Logging uWSGI errors and alarms to Sentry - Theodo blog
It is important to do so: even if you have Sentry configured for your app, if the WSGI layer that is running it...
Read more >OSError: write error in error.log : Forums - PythonAnywhere
I see a lot of "OSError: write error" message in my error log. Been there for weeks. I'm not getting any errors in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Another option is to switch on
disable-write-exception
in uWSGI config.Usually you just acknowledge the error in Sentry and it won’t send notifications anymore for this particular error. Ignoring OSError exception might hide other errors.