I came across the terrible "unhandled exception" raised by Flup. The sad part is raising at the webserver level (lighttpd + flup), and not at the application level (Django). Thus, there are no 500 messages about where the problem is.
Our entire team struggled to clear the code base, despite any ambiguous imports and some similar things, just to eliminate the possibility of errors due to ambiguous imports. And we cleared a lot of things in the code. All the same exceptions.
To be honest, I'm really disappointed with Flup error handling. It doesn’t say anything. Worst of all, it shows the same "Unhandled Exception" for Users. How do I get through this?
I checked the lighttpd logs. All I see is "Interface Error / Connection Already Closed." This only happens when my application is in FCGI mode. So the problem is how flup actually deals with my code (application). How do I get through this?
I checked alternatives for flup, but Django clearly depends on flup (which is another limitation and puzzles me) (Link: django_src / django / core / servers / fastcgi.py line: 100/131)
How do I debug (at least) this script and solve the problem? Please help me. The application does not work for 3 days.
django error-handling middleware fastcgi
None-da
source share