Category "http-status-code-502"

Channels django nginx 502

I ran into a problem once I install and add "channels" to the settings and after that to the asgi file. Server crashes, I get 502 and nginx won't start. How can