Question / Help Nginx can't push to youtube rtmp

sneaky4oe

Member
A fresh copy of ubuntu and nginx+rtmp. Cant connect to youtube rtmp, but can ping the domain.

Key is hidden with asterics.

2017/12/31 02:53:08 [error] 2299#0: *3 relay: push reconnect failed name='' app='' playpath='' url='b.rtmp.youtube.com:1935/live2/*******', client: 127.0.0.1, server: 0.0.0.0:1935
2017/12/31 02:53:16 [error] 2299#0: connect() to [2a00:1450:400f:7::8]:1935 failed (101: Network is unreachable)
2017/12/31 02:53:16 [error] 2299#0: *3 relay: push reconnect failed name='' app='' playpath='' url='b.rtmp.youtube.com:1935/live2/*******', client: 127.0.0.1, server: 0.0.0.0:1935
2017/12/31 02:53:24 [error] 2299#0: connect() to [2a00:1450:400f:7::8]:1935 failed (101: Network is unreachable)
2017/12/31 02:53:24 [error] 2299#0: *3 relay: push reconnect failed name='' app='' playpath='' url='b.rtmp.youtube.com:1935/live2/*******', client: 127.0.0.1, server: 0.0.0.0:1935
2017/12/31 02:53:32 [error] 2299#0: connect() to [2a00:1450:400f:7::8]:1935 failed (101: Network is unreachable)
2017/12/31 02:53:32 [error] 2299#0: *3 relay: push reconnect failed name='' app='' playpath='' url='b.rtmp.youtube.com:1935/live2/*******', client: 127.0.0.1, server: 0.0.0.0:1935
 

sam686

Member
Your log shows IPv6 address. Check if you have a working ipv6 connection using ping6.
ping6 b.rtmp.youtube.com

Do you have a working IPv6 connection with good ping6 results?
 

sneaky4oe

Member
Last edited:
Top