Closed Jean-Baptiste-Lasselle closed 2 years ago
And I get the exact same error, only this time i do get DEBUG level logs :
version: "3"
services:
restreamer:
image: datarhei/restreamer
container_name: restreamer
ports:
- 1935:1935
- 8080:8080
networks:
- frontend
volumes:
- "~/db:/restreamer/db"
environment:
- RS_USERNAME=admin
- RS_PASSWORD=datarhei
- RS_LOGLEVEL=4
- RS_TIMEZONE=Europe/Berlin
- RS_SNAPSHOT_INTERVAL=1m
# deploy:
# replicas: 1
# restart_policy:
# condition: any
# delay: 5s
# window: 10s
fblive:
image: dweomer/stunnel
container_name: fblive
expose:
- 1935
networks:
- frontend
restart: always
environment:
- STUNNEL_SERVICE=fb-live
- STUNNEL_CLIENT=yes
- STUNNEL_ACCEPT=1935
- STUNNEL_CONNECT=live-api-s.facebook.com:443
- STUNNEL_VERIFY_CHAIN=NO
https-portal:
image: steveltn/https-portal:1
container_name: https-portal
ports:
- 80:80
- 443:443
restart: always
networks:
- frontend
environment:
DOMAINS: localhost -> http://restreamer:8080
STAGE: local
# DOMAINS: yourdomain.com -> http://restreamer:8080
# STAGE: production
networks:
frontend:
fblive | Generating a RSA private key
fblive | ...............+++++
fblive | .....................................................................+++++
fblive | writing new private key to '/etc/stunnel/stunnel.key'
fblive | -----
fblive | Cannot write random bytes:
fblive | 140617675774792:error:2407007A:random number generator:RAND_write_file:Not a regular file:crypto/rand/randfile.c:183:Filename=/dev/urandom
fblive | '/etc/ssl/certs/ca-certificates.crt' -> '/usr/local/share/ca-certificates/stunnel-ca.crt'
fblive | '/etc/stunnel/stunnel.pem' -> '/usr/local/share/ca-certificates/stunnel.crt'
fblive | WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping
fblive | WARNING: ca-cert-stunnel-ca.pem does not contain exactly one certificate or CRL: skipping
fblive | 2021.12.09 05:55:43 LOG6[ui]: Initializing inetd mode configuration
fblive | 2021.12.09 05:55:43 LOG7[ui]: Clients allowed=512000
fblive | 2021.12.09 05:55:43 LOG5[ui]: stunnel 5.59 on x86_64-alpine-linux-musl platform
fblive | 2021.12.09 05:55:43 LOG5[ui]: Compiled/running with OpenSSL 1.1.1k 25 Mar 2021
fblive | 2021.12.09 05:55:43 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,OCSP,PSK,SNI
fblive | 2021.12.09 05:55:43 LOG7[ui]: errno: (*__errno_location())
fblive | 2021.12.09 05:55:43 LOG6[ui]: Initializing inetd mode configuration
fblive | 2021.12.09 05:55:43 LOG5[ui]: Reading configuration from file /etc/stunnel/stunnel.conf
fblive | 2021.12.09 05:55:43 LOG5[ui]: UTF-8 byte order mark not detected
fblive | 2021.12.09 05:55:43 LOG7[ui]: No PRNG seeding was required
fblive | 2021.12.09 05:55:43 LOG6[ui]: Initializing service [fb-live]
fblive | 2021.12.09 05:55:43 LOG6[ui]: stunnel default security level set: 2
fblive | 2021.12.09 05:55:43 LOG7[ui]: Ciphers: HIGH:!aNULL:!SSLv2:!DH:!kDHEPSK
fblive | 2021.12.09 05:55:43 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256
restreamer |
restreamer | > Restreamer@0.6.8 start /restreamer
restreamer | > node ./src/start
restreamer |
restreamer | [09-12-2021 06:55:48.846] [DEBUG] [ Webserver] Init webserver with PROD environment
restreamer | [09-12-2021 06:55:48.896] [INFO ] _ _ _ _
restreamer | [09-12-2021 06:55:48.897] [INFO ] __| | __ _| |_ __ _ _ __| |___ ___(_)
restreamer | [09-12-2021 06:55:48.897] [INFO ] / _ |/ _ | __/ _ | __| _ |/ _ | |
restreamer | [09-12-2021 06:55:48.897] [INFO ] | (_| | (_| | || (_| | | | | | | __/| |
restreamer | [09-12-2021 06:55:48.897] [INFO ] |_____|_____|_||_____|_| |_| |_|____||_|
restreamer | [09-12-2021 06:55:48.897] [INFO ]
restreamer | [09-12-2021 06:55:48.898] [INFO ] Restreamer v0.6.8
restreamer | [09-12-2021 06:55:48.898] [INFO ]
fblive | 2021.12.09 05:55:43 LOG7[ui]: TLS options: 0x02100004 (+0x00000000, -0x00000000)
fblive | 2021.12.09 05:55:43 LOG6[ui]: Loading certificate from file: /etc/stunnel/stunnel.pem
fblive | 2021.12.09 05:55:43 LOG6[ui]: Certificate loaded from file: /etc/stunnel/stunnel.pem
fblive | 2021.12.09 05:55:43 LOG6[ui]: Loading private key from file: /etc/stunnel/stunnel.key
fblive | 2021.12.09 05:55:43 LOG6[ui]: Private key loaded from file: /etc/stunnel/stunnel.key
fblive | 2021.12.09 05:55:43 LOG7[ui]: Private key check succeeded
fblive | 2021.12.09 05:55:43 LOG4[ui]: Service [fb-live] needs authentication to prevent MITM attacks
fblive | 2021.12.09 05:55:43 LOG6[ui]: DH initialization skipped: client section
restreamer | [09-12-2021 06:55:48.898] [INFO ] ENVIRONMENTS
restreamer | [09-12-2021 06:55:48.898] [INFO ] More information in our Docs
restreamer | [09-12-2021 06:55:48.898] [INFO ]
restreamer | [09-12-2021 06:55:48.898] [INFO ] [ ENV] RS_NODEJS_PORT = 3000 (using default) - Webserver port of application.
restreamer | [09-12-2021 06:55:48.898] [INFO ] [ ENV] RS_NODEJS_ENV = prod (using default) - Node.js Environment ('dev' or 'prod').
restreamer | [09-12-2021 06:55:48.899] [INFO ] [ ENV] RS_LOGLEVEL = 4 - Logging level (0=no logging, 1=ERROR, 2=WARN, 3=INFO, 4=DEBUG).
restreamer | [09-12-2021 06:55:48.899] [INFO ] [ ENV] RS_TIMEZONE = Europe/Berlin - Set the timezone. Accepts Olson timezone IDs.
restreamer | [09-12-2021 06:55:48.899] [INFO ] [ ENV] RS_SNAPSHOT_INTERVAL = 1m - Interval for new snapshots (in milliseconds, use suffix 's' for seconds, 'm' for minutes). Use a value of 0 to disable snapshots.
restreamer | [09-12-2021 06:55:48.899] [INFO ] [ ENV] RS_USERNAME = admin - Username for the backend.
restreamer | [09-12-2021 06:55:48.899] [INFO ] [ ENV] RS_PASSWORD = ****** - Password for the backend.
restreamer | [09-12-2021 06:55:48.899] [INFO ] [ ENV] RS_TOKEN = (using default) - Token for pushing an RTMP stream.
fblive | 2021.12.09 05:55:43 LOG7[ui]: ECDH initialization
fblive | 2021.12.09 05:55:43 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384
fblive | 2021.12.09 05:55:43 LOG5[ui]: Configuration successful
fblive | 2021.12.09 05:55:43 LOG7[ui]: Deallocating deployed section defaults
restreamer | [09-12-2021 06:55:48.899] [INFO ] [ ENV] RS_DEBUG_HEAPDUMPS = false (using default) - Create heapdumps of application.
fblive | 2021.12.09 05:55:43 LOG7[ui]: Binding service [fb-live]
fblive | 2021.12.09 05:55:43 LOG7[ui]: Listening file descriptor created (FD=9)
fblive | 2021.12.09 05:55:43 LOG7[ui]: Setting accept socket options (FD=9)
fblive | 2021.12.09 05:55:43 LOG7[ui]: Option SO_REUSEADDR set on accept socket
fblive | 2021.12.09 05:55:43 LOG6[ui]: Service [fb-live] (FD=9) bound to 0.0.0.0:1935
fblive | 2021.12.09 05:55:43 LOG7[ui]: Created pid file /var/run/stunnel/stunnel.pid
fblive | 2021.12.09 05:55:43 LOG7[cron]: Cron thread initialized
fblive | 2021.12.09 05:55:43 LOG6[cron]: Executing cron jobs
fblive | 2021.12.09 05:55:43 LOG6[cron]: Cron jobs completed in 0 seconds
fblive | 2021.12.09 05:55:43 LOG7[cron]: Waiting 86400 seconds
restreamer | [09-12-2021 06:55:48.899] [INFO ] [ ENV] RS_DEBUG = false (using default) - Enables debug reporting.
restreamer | [09-12-2021 06:55:48.900] [INFO ] [ ENV] RS_AUDIO = auto (using default) - Audio track handling: auto, none (remove audio), silence (force silence), aac (force AAC), mp3 (force MP3).
restreamer | [09-12-2021 06:55:48.900] [INFO ] [ ENV] RS_HTTPS = false (using default) - Enables HTTPS support for admin interface and embeddable player.
restreamer | [09-12-2021 06:55:48.900] [INFO ] [ ENV] RS_INPUTSTREAM = (using default) - Automatically start pulling from this stream on a fresh Restreamer installation.
restreamer | [09-12-2021 06:55:48.900] [INFO ] [ ENV] RS_OUTPUTSTREAM = (using default) - Automatically start pushing to this stream on a fresh Restreamer installation.
restreamer | [09-12-2021 06:55:48.900] [INFO ] [ NGINX] Starting ...
restreamer | [09-12-2021 06:55:49.183] [INFO ] [ NGINX] Successfully started
restreamer | [09-12-2021 06:55:49.184] [INFO ] [ RestreamerData] Checking jsondb file...
restreamer | [09-12-2021 06:55:49.188] [DEBUG] [ RestreamerData] Error reading "v1.db": Error: ENOENT: no such file or directory, open '/restreamer/db/v1.json'
restreamer | [09-12-2021 06:55:49.194] [DEBUG] [ checkForUpdates] Checking for updates...
restreamer | [09-12-2021 06:55:49.203] [INFO ] [ publicIP] Retrieving public IP ...
restreamer | [09-12-2021 06:55:49.207] [INFO ] [ Webserver] Starting ...
restreamer | [09-12-2021 06:55:49.239] [INFO ] [ Webserver] Running on port 3000
restreamer | [09-12-2021 06:55:49.244] [DEBUG] [ repeatToLocalNginx] Update state from "stopped" to "disconnected"
restreamer | [09-12-2021 06:55:49.249] [DEBUG] [repeatToOptionalOutput] Update state from "stopped" to "disconnected"
restreamer | [09-12-2021 06:55:49.253] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:55:49.253] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:55:49.300] [INFO ] [ publicIP] Found public IP: 92.184.102.196
restreamer | [09-12-2021 06:55:49.502] [INFO ] [ checkForUpdates] Update checking succeeded. No updates available
restreamer | [09-12-2021 06:55:49.503] [DEBUG] [ checkForUpdates] local: 0.6.8; remote: 0.6.8
restreamer | [09-12-2021 06:55:49.503] [DEBUG] [ WSController] Emitting update
restreamer | [09-12-2021 06:56:25.893] [DEBUG] [ Webserver] GET "/" 200 13ms ::ffff:127.0.0.1 -
restreamer | [09-12-2021 06:56:25.895] [DEBUG] [ Webserver] GET "/" 200 15ms ::ffff:127.0.0.1 -
restreamer | [09-12-2021 06:56:26.088] [DEBUG] [ Webserver] GET "/authenticated" 200 3ms ::ffff:127.0.0.1 5
restreamer | [09-12-2021 06:56:26.088] [DEBUG] [ Webserver] GET "/authenticated" 200 3ms ::ffff:127.0.0.1 5
restreamer | [09-12-2021 06:56:26.118] [DEBUG] [ Webserver] GET "/v1/version" 200 1ms ::ffff:127.0.0.1 47
restreamer | [09-12-2021 06:56:26.119] [DEBUG] [ Webserver] GET "/v1/version" 200 2ms ::ffff:127.0.0.1 47
restreamer | [09-12-2021 06:56:52.269] [DEBUG] [ Webserver] POST "/login" 200 1ms ::ffff:127.0.0.1 42
restreamer | [09-12-2021 06:56:52.270] [DEBUG] [ Webserver] POST "/login" 200 2ms ::ffff:127.0.0.1 42
restreamer | [09-12-2021 06:56:52.371] [DEBUG] [ Restreamer] Got "checkStates" event
restreamer | [09-12-2021 06:56:52.371] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:58:26.132] [DEBUG] [ Webserver] GET "/" 200 1ms ::ffff:127.0.0.1 -
restreamer | [09-12-2021 06:58:26.133] [DEBUG] [ Webserver] GET "/" 200 2ms ::ffff:127.0.0.1 -
restreamer | [09-12-2021 06:58:26.414] [DEBUG] [ Webserver] GET "/authenticated" 200 1ms ::ffff:127.0.0.1 4
restreamer | [09-12-2021 06:58:26.415] [DEBUG] [ Webserver] GET "/authenticated" 200 2ms ::ffff:127.0.0.1 4
restreamer | [09-12-2021 06:58:26.453] [DEBUG] [ Webserver] GET "/v1/version" 200 1ms ::ffff:127.0.0.1 47
restreamer | [09-12-2021 06:58:26.454] [DEBUG] [ Webserver] GET "/v1/version" 200 2ms ::ffff:127.0.0.1 47
restreamer | [09-12-2021 06:58:26.521] [DEBUG] [ Restreamer] Got "checkStates" event
restreamer | [09-12-2021 06:58:26.521] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:58:48.624] [DEBUG] [repeatToOptionalOutput] Got "startStream" event
restreamer | [09-12-2021 06:58:48.624] [DEBUG] [repeatToOptionalOutput] Set user action from "stop" to "start"
restreamer | [09-12-2021 06:58:48.634] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 06:58:48.634] [DEBUG] [repeatToOptionalOutput] Update state from "disconnected" to "connecting"
restreamer | [09-12-2021 06:58:48.639] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 06:58:48.640] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 06:58:48.640] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 06:58:48.644] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:58:48.645] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:58:48.646] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:58:48.650] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 06:58:48.652] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 06:58:48.652] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 06:58:48.657] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 06:58:48.658] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:58:54.659] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 06:58:54.660] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 06:58:54.660] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 06:58:54.664] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 06:58:54.665] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 06:58:54.665] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 06:58:54.669] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:58:54.673] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 06:58:54.674] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 06:58:54.674] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 06:58:54.679] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 06:58:54.679] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:00.680] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 06:59:00.681] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 06:59:00.681] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 06:59:00.686] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 06:59:00.687] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 06:59:00.687] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 06:59:00.690] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:00.695] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 06:59:00.696] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 06:59:00.697] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 06:59:00.701] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 06:59:00.701] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:06.701] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 06:59:06.702] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 06:59:06.702] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 06:59:06.707] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 06:59:06.707] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 06:59:06.707] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 06:59:06.711] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:06.715] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 06:59:06.717] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 06:59:06.717] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 06:59:06.722] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 06:59:06.722] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:12.688] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 06:59:12.688] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 06:59:12.688] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 06:59:12.693] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 06:59:12.694] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 06:59:12.694] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 06:59:12.699] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:12.704] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 06:59:12.705] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 06:59:12.705] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 06:59:12.710] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 06:59:12.710] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:18.710] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 06:59:18.711] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 06:59:18.711] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 06:59:18.715] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 06:59:18.715] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 06:59:18.715] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 06:59:18.719] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:18.723] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 06:59:18.725] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 06:59:18.725] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 06:59:18.730] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 06:59:18.730] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:24.732] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 06:59:24.733] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 06:59:24.733] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 06:59:24.738] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 06:59:24.740] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 06:59:24.740] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 06:59:24.744] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:24.749] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 06:59:24.751] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 06:59:24.751] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 06:59:24.755] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 06:59:24.756] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:30.759] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 06:59:30.760] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 06:59:30.760] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 06:59:30.765] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 06:59:30.766] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 06:59:30.766] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 06:59:30.770] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:30.774] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 06:59:30.775] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 06:59:30.776] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
https-portal | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
https-portal | [s6-init] ensuring user provided files have correct perms...exited 0.
restreamer | [09-12-2021 06:59:30.780] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 06:59:30.781] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:36.782] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 06:59:36.783] [INFO ] [repeatToOptionalOutput] Start streaming
https-portal | [fix-attrs.d] applying ownership & permissions fixes...
https-portal | [fix-attrs.d] done.
https-portal | [cont-init.d] executing container initialization scripts...
restreamer | [09-12-2021 06:59:36.783] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 06:59:36.788] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 06:59:36.788] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 06:59:36.788] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 06:59:36.792] [DEBUG] [ WSController] Emitting updateStreamData
https-portal | [cont-init.d] 00-welcome: executing...
https-portal |
https-portal | ========================================
https-portal | HTTPS-PORTAL v1.21.0
https-portal | ========================================
https-portal |
https-portal | [cont-init.d] 00-welcome: exited 0.
https-portal | [cont-init.d] 20-setup: executing...
https-portal | DH parameters appear to be ok.
https-portal | -----BEGIN DH PARAMETERS-----
https-portal | MIIBCAKCAQEAjK4ROj8gmx3dy7E/1kdjG51iNV6SQYLQrwJJo/SqRICGsBcKNMUX
https-portal | onQe3qdu8nciB+CyCj1F0U5lQJq6ID3w5/WKXyqQS7vZZF/gyEeNlm6zFgRSGs6K
https-portal | Nas0dEcZg5TBQAPWv62gmO+rdMaAcExGOZYpbqLGfeztBiaLPq12EUW2YlX1sVFB
https-portal | Elqc9OGqKBzEKcGDtxIaz9IWz28gnoqYD6yxy32HKQVv8oDvBL+2e3n3AMyce6u3
https-portal | KA09PuNMGcFPljab/bXDTI1WPz2nYH8fx50Km8rq3C0wEMAqQbCKUBVpm2dRlp4Q
https-portal | HgXGxxvsBr9gr10GYVeFYR207Qm8RuB4AwIBAg==
https-portal | -----END DH PARAMETERS-----
https-portal | RSA key ok
https-portal | Generating RSA private key, 2048 bit long modulus (2 primes)
https-portal | ......................+++++
https-portal | ...................................................+++++
https-portal | e is 65537 (0x010001)
https-portal | Self-signing test certificate for localhost
https-portal | Generating a RSA private key
https-portal | ..........+++++
https-portal | ......................................................................+++++
https-portal | writing new private key to '/var/lib/https-portal/localhost/local/domain.ongoing.key'
https-portal | -----
restreamer | [09-12-2021 06:59:36.796] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 06:59:36.797] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
https-portal | Signed certificate for localhost
https-portal | [cont-init.d] 20-setup: exited 0.
https-portal | [cont-init.d] 30-set-docker-gen-status: executing...
https-portal | [cont-init.d] 30-set-docker-gen-status: exited 0.
https-portal | [cont-init.d] done.
https-portal | [services.d] starting services
https-portal | [services.d] done.
restreamer | [09-12-2021 06:59:36.797] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 06:59:36.802] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 06:59:36.802] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:42.771] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 06:59:42.771] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 06:59:42.771] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 06:59:42.779] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 06:59:42.780] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 06:59:42.780] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 06:59:42.783] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:42.788] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 06:59:42.789] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 06:59:42.790] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 06:59:42.795] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 06:59:42.796] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:48.798] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 06:59:48.798] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 06:59:48.798] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 06:59:48.804] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 06:59:48.804] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 06:59:48.804] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 06:59:48.809] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:48.814] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 06:59:48.815] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 06:59:48.816] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 06:59:48.821] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 06:59:48.822] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:54.827] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 06:59:54.827] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 06:59:54.827] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 06:59:54.835] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 06:59:54.835] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 06:59:54.836] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 06:59:54.839] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 06:59:54.844] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 06:59:54.845] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 06:59:54.845] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 06:59:54.853] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 06:59:54.853] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:00.853] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 07:00:00.853] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 07:00:00.853] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 07:00:00.858] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 07:00:00.859] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 07:00:00.859] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 07:00:00.862] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:00.867] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 07:00:00.868] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 07:00:00.868] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 07:00:00.872] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 07:00:00.873] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:06.875] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 07:00:06.875] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 07:00:06.875] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 07:00:06.880] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 07:00:06.880] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 07:00:06.880] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 07:00:06.884] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:06.890] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 07:00:06.891] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 07:00:06.891] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 07:00:06.896] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 07:00:06.897] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:12.867] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 07:00:12.869] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 07:00:12.870] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 07:00:12.875] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 07:00:12.875] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 07:00:12.875] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 07:00:12.879] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:12.883] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 07:00:12.884] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 07:00:12.885] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 07:00:12.889] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 07:00:12.889] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:18.893] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 07:00:18.893] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 07:00:18.893] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 07:00:18.898] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 07:00:18.898] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 07:00:18.899] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 07:00:18.902] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:18.907] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 07:00:18.908] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 07:00:18.908] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 07:00:18.913] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 07:00:18.913] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:24.914] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 07:00:24.914] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 07:00:24.914] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 07:00:24.919] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 07:00:24.919] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 07:00:24.919] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 07:00:24.925] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:24.932] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 07:00:24.933] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 07:00:24.933] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 07:00:24.939] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 07:00:24.939] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:30.942] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 07:00:30.942] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 07:00:30.942] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 07:00:30.947] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 07:00:30.947] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 07:00:30.948] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 07:00:30.951] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:30.956] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 07:00:30.957] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 07:00:30.958] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 07:00:30.962] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 07:00:30.963] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:36.965] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 07:00:36.965] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 07:00:36.965] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 07:00:36.971] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 07:00:36.971] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 07:00:36.971] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 07:00:36.975] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:36.979] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 07:00:36.981] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 07:00:36.981] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 07:00:36.986] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 07:00:36.986] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:42.952] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 07:00:42.953] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 07:00:42.953] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 07:00:42.958] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 07:00:42.959] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 07:00:42.959] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 07:00:42.963] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:42.969] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 07:00:42.970] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 07:00:42.970] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 07:00:42.975] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 07:00:42.975] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:48.978] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 07:00:48.978] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 07:00:48.978] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 07:00:48.983] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 07:00:48.984] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 07:00:48.985] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 07:00:48.989] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:48.994] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 07:00:48.995] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 07:00:48.995] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 07:00:49.000] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 07:00:49.000] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:55.000] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 07:00:55.001] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 07:00:55.001] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 07:00:55.006] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 07:00:55.007] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 07:00:55.007] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 07:00:55.010] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:00:55.015] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 07:00:55.016] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 07:00:55.016] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 07:00:55.021] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 07:00:55.021] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:01:01.023] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse"
restreamer | [09-12-2021 07:01:01.023] [INFO ] [repeatToOptionalOutput] Start streaming
restreamer | [09-12-2021 07:01:01.024] [DEBUG] [repeatToOptionalOutput] Update state from "error" to "connecting"
restreamer | [09-12-2021 07:01:01.029] [DEBUG] [ Restreamer] Adding option: global
restreamer | [09-12-2021 07:01:01.029] [DEBUG] [ Restreamer] Adding option: video
restreamer | [09-12-2021 07:01:01.029] [DEBUG] [ Restreamer] Adding option: rtmp
restreamer | [09-12-2021 07:01:01.033] [DEBUG] [ WSController] Emitting updateStreamData
restreamer | [09-12-2021 07:01:01.037] [ERROR] [ NGINX] :1935
restreamer | [09-12-2021 07:01:01.039] [DEBUG] [repeatToOptionalOutput] Failed to spawn ffmpeg: rtmp://localhost:1935/hls/live.stream: Operation not permitted
restreamer | [09-12-2021 07:01:01.039] [DEBUG] [repeatToOptionalOutput] Update state from "connecting" to "error"
restreamer | [09-12-2021 07:01:01.044] [INFO ] [repeatToOptionalOutput] Retry to connect to "rtmp://a.rtmp.youtube.com/live2/x4b8-2pvj-1kd6-b85d-7xse" in 6000ms
restreamer | [09-12-2021 07:01:01.044] [DEBUG] [ WSController] Emitting updateStreamData
I use the url
rtmp://a.rtmp.youtube.com/live2/ue03-gu47-v24y-xxjh-3c5s
(I fill in both the web page at http://localhost:8080 )
Hi @Jean-Baptiste-Lasselle, did you mean that you put the same url in both source
and external streaming-server
? If you want to stream something to YouTube, the url in source
should be like local rtsp://
from ipcam or external RTMP/RTSP/HLS links.
HI @civita ,
rtmp://a.rtmp.youtube.com/live2/ue03-gu47-v24y-xxjh-3c5s
rtmp://
, see your youtube account and https://datarhei.github.io/restreamer/docs/guides-youtube.html#push-to-youtubeNote: just to be sue it is clear, i run restreamer serer on my machine at home, behind my ISP Router, that's why http://localhost:8080 .
If we should not run restreamer from home, then I assume that all raspberry pi use cases imply also getting a public IP / working with DynDNS, or a reverse tunnel
@civita thank you for your first message, i hope we can solve that : I wanted to add i just ran the test again, with exact same conditions than i described, and i get exact same error.
Note that i sincerely want it to work, many people are asking me for this tool, and are waiting for my definitive answer (will we be able to use this tool, with serious community).
About RTSP, i run restraeamer from my personal PC, which has an integrated Webcam. It shpuld be considered a network camera ..? I am puzzled there, and the YouTube documentation page does not mention anything about RTSP
You need a different source. You cant pull and send to the same address. RTMP/RTSP/HLS Video Source is intended for your IPCam or other Device/OBS Stream
External Streaming-Server is where you can enter the Youtube URL
About RTSP, i run restraeamer from my personal PC, which has an integrated Webcam.
Hi @Jean-Baptiste-Lasselle , suppose that your scenario is streaming the webcam from local to YouTube, then in the "source" field should be something related to the webcam. This divides into two possible conditions:
Based on the your previous comment, I supposed that you are in the second condition, then if you are running linux machine and use a Video4Linux-compatible webcam (you can check if there is device in /dev/video0
), the steps is in here.
If you are running windows machine / unsupported webcam, I think you can just start a YouTube live with browser.
Thanks so much @Tokolosh @civita very sad, that this explanation that you give, is not there in the docs, at https://datarhei.github.io/restreamer/docs/guides-youtube.html .
I think i will make gift at some point, to improve docs.
After reading what you explained, I think best natural setup is :
Thanks a lot guys again, i will try that and feed results back
Ok, I just tried using the OBS setup, I followed https://datarhei.github.io/restreamer/docs/guides-obs.html .
Following those instructions exactly as they state, It still does not work at all.Very unclear anyway.
We really lack :
@Tokolosh example given :
@Jean-Baptiste-Lasselle
Hi, What's your setup please? like which OS do you use, scenario, etc. I don't think this is difficult to work on, and if you like I can provide demo for you.
@Jean-Baptiste-Lasselle
Hi, What's your setup please? like which OS do you use, scenario, etc. I don't think this is difficult to work on, and if you like I can provide demo for you.
Thank you so much @civita !, that would be awesome !
hello @civita , Here is my setup :
my docker-compose :
version: "3"
services:
restreamer:
image: datarhei/restreamer
container_name: restreamer
ports:
- 1935:1935
- 8080:8080
networks:
- frontend
volumes:
- "~/db:/restreamer/db"
environment:
- RS_USERNAME=admin
- RS_PASSWORD=datarhei
- RS_LOGLEVEL=4
- RS_TIMEZONE=Europe/Berlin
- RS_SNAPSHOT_INTERVAL=1m
- RS_TOKEN=unsecuretoken
# deploy:
# replicas: 1
# restart_policy:
# condition: any
# delay: 5s
# window: 10s
fblive:
image: dweomer/stunnel
container_name: fblive
expose:
- 1935
networks:
- frontend
restart: always
environment:
- STUNNEL_SERVICE=fb-live
- STUNNEL_CLIENT=yes
- STUNNEL_ACCEPT=1935
- STUNNEL_CONNECT=live-api-s.facebook.com:443
- STUNNEL_VERIFY_CHAIN=NO
https-portal:
image: steveltn/https-portal:1
container_name: https-portal
ports:
- 80:80
- 443:443
restart: always
networks:
- frontend
environment:
DOMAINS: localhost -> http://restreamer:8080
STAGE: local
# DOMAINS: yourdomain.com -> http://restreamer:8080
# STAGE: production
networks:
frontend:
I would really like to find something really useful I can contribute to thank the restreamer community, so supportive ! Are there things about devops / CICD / or documentation website which would be apprreciated / useful ? Don't hesitate saying if any idea, I'll find something i think eventually.
Hi there check this: https://support.google.com/youtube/answer/3006768?hl=en&ref_topic=9257985
i think its not permitted to push empty frames, or incorrect configuration
on a macbook pro, I have the integrated webcam, and on that same machine :
- I run the docker-compose
- I have installed Streamlabs OBS (using brew.sh )
- I want the user of that mac book pro, to be then able to live stream to multiple platforms, from his mac book pro : YouTube, and any other one (twitch, facebook, whatever...)
Hi @Jean-Baptiste-Lasselle ,
Thanks for the clarification. If I understand correctly, you would like to stream macbook internal webcam to multiple platforms (yt, twitch, etc.), then you might look at this guide and obs setup
For the obs setup, in stream:
Server: rtmp://localhost/live
Stream Key: external.stream?token=something_secret
in output tab, choose "x264" in encoder.
For restreamer, you may have to create multiple docker instances, in order to stream to multiple platforms.
docker run -d --restart always \
--name restreamer \
-e "RS_USERNAME=admin" -e "RS_PASSWORD=datarhei" \
-e "RS_TOKEN=something_secret" -p 1935:1935 \
-p 8080:8080 -v -v ${HOME}/restreamer/db:/restreamer/db \
datarhei/restreamer:latest
If you run multiple docker images, remember to rename instance and remove -p 1935:1935
(for the rest of instances) and change volume mapping.
In restreamer webui, in source: rtmp://localhost/live/external.stream?token=something_secret
, and in External Streaming-Server type your yt/twitch url. Finally, press start in both obs and restreamer:
By the way, there are obs plugins which enable multi-rtmp you might be interested in.
HI @civita thank you so much for this new answer from you, and I also want to say thank you so much to all of other community members answering here, it is so supportive.
@civita you indeed perfectly described and understood what i was trying to do on my mac book.
I will give you further informations on my work with restreamer, i want to give a hint on what my long run goal is :
And since the community is so awesome, I decide now i will work on making what is necessary :
So ok, plan :
Thank you so much all for your support, all your mesages, and all the work done until today!
Thank you very much for your comment. We have implemented the function in the Restreamer v2 🚀 Have fun with it.
- PRs
Thank you for your answer! I will test v2 as soon as possible, to try the new features (multi tnenancy , helm chart with auto scalability ...), I ll give some feed back asap!
Hey @Jean-Baptiste-Lasselle Your ideas sound very interesting and if you need help, get in touch.
BTW: Have a look at our backend: https://github.com/datarhei/core
With that, a lot should already be possible.
Hello,
Thank you very much for your work, I can't wait to be able to use it.
My issue in a few words
Details about the test I ran
I run restreamer as a docker-compose :
I use the url
rtmp://a.rtmp.youtube.com/live2/ue03-gu47-v24y-xxjh-3c5s
(I fill in both the web page at http://localhost:8080 ), I get :In Webui an error message in a red striped box, stating :
RS_DEBUG
to true or not. (solved, see https://github.com/datarhei/restreamer/blob/2d851cdbadb1d7f2c4ffed7750c08daf43ea709f/docker-compose.yml#L16 )ue03-gu47-v24y-xxjh-3c5s
is a secret, and I rotated it (it won't work if you try using that secret)My only guess as of today : RTMP is a 2 way TCP connection, so i need a public IP, Am I Right ? If so, i think it woud be worth mentioning it somewhere, like in the install instructions and/or the YouTube howtos.
I so hope I will have help from anyone, there are people who created issues 15 days ago who state they can successfully stream to YouTube (so i guess I have just a basic error somewhere... So frustrating..)