Peertube Live error - Should have a valid description

Hi guys,

I’m trying to use the Peertube Live F-Droid app and I’m gettin the error below in the nginx log when I try to start the livestream. OBS said it can’t connect to the server when I tried. I’ve looked around and mosly find the « Incorrect request parameters » warning for something else than the description. Any ideas?

My instance is behind an nginx reverse proxy.

Feb 17 19:56:57 atmx2 peertube[1277839]: [tv.atmx.ca:443] 2022-02-17 19:56:57.895 info: xx.xx.xx.xx - - [17/Feb/2022:19:56:57 +0000] "POST /api/v1/videos/live HTTP/1.0" 400 323 "-" "PeerTube Live"
Feb 17 19:56:58 atmx2 peertube[1277839]: [tv.atmx.ca:443] 2022-02-17 19:56:58.725 warn: Incorrect request parameters {
Feb 17 19:56:58 atmx2 peertube[1277839]:   "path": "/api/v1/videos/live",
Feb 17 19:56:58 atmx2 peertube[1277839]:   "err": {
Feb 17 19:56:58 atmx2 peertube[1277839]:     "description": {
Feb 17 19:56:58 atmx2 peertube[1277839]:       "value": "ll",
Feb 17 19:56:58 atmx2 peertube[1277839]:       "msg": "Should have a valid description",
Feb 17 19:56:58 atmx2 peertube[1277839]:       "param": "description",
Feb 17 19:56:58 atmx2 peertube[1277839]:       "location": "body"
Feb 17 19:56:58 atmx2 peertube[1277839]:     }
Feb 17 19:56:58 atmx2 peertube[1277839]:   }
Feb 17 19:56:58 atmx2 peertube[1277839]: }

Hi.

Could you provide the URL of your instance, please?

forgot that

Here are logs I get from OBS when trying to stream on your instance:

01:22:20.091: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://tv.atmx.ca:1935/live...
01:22:20.491: tv.atmx.ca:1935/live is offline. Try a different server (ECONNREFUSED).
01:22:20.491: [rtmp stream: 'simple_stream'] Connection to rtmp://tv.atmx.ca:1935/live failed: -2
01:22:20.491: ==== Streaming Stop

Can you check if peertube can properly access to your 1935 port?

Hi,

Try to put a longer description than ll

I’ve changed the description to something longer.

It seems port 1935 isn’t accessible from the internet. I’ve set up my instance behind nginx as reverse proxy on which I am using iptables as a firewall.

Should i use the accept or forward chain in iptables on the proxy? Here’s the iptable rule i have for port 1935:

-A INPUT -p tcp --dport 1935 -j ACCEPT

Just accepting the connection should work