Done some more research on this issue.
The main reason is inspector runs the werkzeug.BaseWSGIServer which in turn uses socketserver.BaseServer that, upon connection error, prints(!!) the error and traceback in socketserver.BaseServer.handle_error.
Once inspector adopts proper WSGI server, this should be an issue no more.
On the bright side, similar issues were addressed in HAProxy configuration for OpenShift before[1][2]
Done some more research on this issue. BaseWSGIServer which in turn uses socketserver. BaseServer that, upon connection error, prints(!!) the error and traceback in socketserver. BaseServer. handle_ error.
The main reason is inspector runs the werkzeug.
Once inspector adopts proper WSGI server, this should be an issue no more.
On the bright side, similar issues were addressed in HAProxy configuration for OpenShift before[1][2]
[1] https:/ /bugzilla. redhat. com/show_ bug.cgi? id=923611 /github. com/openshift/ origin- server/ commit/ 7a338aeb518966d 17193104a3d1b6a cda5c101a1
[2] https:/