Jitsi deosn't stream or open the mic

When I’m trying to open jitsi using JWT authentication token. The led of the camera is on and I can test the camera and the microphone but without streaming or reviewing what the camera sees
How to know what’s wrong in my configuration??

You have 504 (gateway time-out) error. This means that prosody cannot respond to requests coming through nginx