#Nocturne and webRTC (only) throwing 502 Bad Gateway

20 messages · Page 1 of 1 (latest)

rough briar
#

I've tried all other suggestions, such as custom flags and make update, but can't get this to work. MJPEG-streamer works perfect, but webRTC refuses to work. Dev console spams

POST http://10.0.0.42/webcam/?action=stream 502 (Bad Gateway)
WebrtcCameraStreamer-CRSlmQer.js:1 [WebRTC camera-streamer] Failed to start stream: 502
WebrtcCameraStreamer-CRSlmQer.js:1 [WebRTC camera-streamer] Terminating stream
WebrtcCameraStreamer-CRSlmQer.js:1 [WebRTC camera-streamer] Requesting ICE servers from http://10.0.0.42/webcam/?action=stream
warm coralBOT
#

Ahoi @rough briar!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message

We are glad to help and chat with you on our Community Discord, but if you need help and want the best support possible you should, follow a few simple rules:

rough briar
tribal fable
#

Try to add the following to your /boot/firmware/config.txt:

[pi4]
gpu_mem=128```
#

Reboot after

rough briar
#

Still seeing the loading circle in mainsail

#

Same errors in the console

tribal fable
#

Can you send a screenshot of the errors?

#

Which browser?

rough briar
#

Chrome and edge

#

The stream seems to work in its own tab, just not in mainsail

tribal fable
#

What Mainsail version?

rough briar
tribal fable
#

Expand the 502 error please and send another screenshot

#

Oh wait, lol

#

Ofc it works in it's own tab, as you are watching the mjpg stream....

#

Just changing the service does not make it a WebRTC stream