websocket._exceptions.WebSocketBadStatusException: Handshake status 500 Internal server error
application = ProtocolTypeRouter({
'websocket': AuthMiddlewareStack(
URLRouter([
url(r'^debug/$', debug_consumers.DebugConsumer)
])
),
})