nextcloud / all-in-one

📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
https://hub.docker.com/r/nextcloud/all-in-one
GNU Affero General Public License v3.0
4.76k stars 564 forks source link

Talk error on fresh install #797

Closed blendersamsonov closed 2 years ago

blendersamsonov commented 2 years ago

Talk service is not working at a fresh install on debian 11 amd64 arch. The container is created and in the admin settings dashboard everything seems to be fine, but I am unable to start any conversation. Here are the logs of the talk container. Apparently there are some errors during the installation

+ sed -i 's|#turn_rest_api_key.*|turn_rest_api_key = "a7989671b41c68c9eb693fd4772033466a36f373f64aaefa"|' /etc/janus/janus.jcfg
+ sed -i 's|#full_trickle.*|full_trickle = true|g' /etc/janus/janus.jcfg
+ sed -i 's|#stun_server.*|stun_server = "127.0.0.1"|g' /etc/janus/janus.jcfg
+ sed -i 's|#stun_port.*|stun_port = 3478|g' /etc/janus/janus.jcfg
+ sed -i 's|#turn_port.*|turn_port = 3478|g' /etc/janus/janus.jcfg
+ sed -i 's|#turn_server.*|turn_server = "127.0.0.1"|g/etc/janus/janus.jcfg'
sed: -e expression #1, char 45: unknown option to `s'
+ sed -i 's|#turn_type .*|turn_type = "udp"|g' /etc/janus/janus.jcfg
+ sed -i 's|#ice_ignore_list .*|ice_ignore_list = "udp"|g' /etc/janus/janus.jcfg
+ sed -i 's|#interface.*|interface = "lo"|g' /etc/janus/janus.transport.websockets.jcfg
+ sed -i 's|#ws_interface.*|ws_interface = "lo"|g' /etc/janus/janus.transport.websockets.jcfg
+ set +x
[24] 2022/06/07 12:27:16.172055 [INF] Starting nats-server
[24] 2022/06/07 12:27:16.172139 [INF]   Version:  2.8.1
[24] 2022/06/07 12:27:16.172143 [INF]   Git:      [23b41bb]
[24] 2022/06/07 12:27:16.172146 [INF]   Name:     NCYGL3X3JCIQQ72TMNE2YF5B3ZRDGIGMXAQ2OXGV575N4N4VIBWRRHJ5
[24] 2022/06/07 12:27:16.172149 [INF]   ID:       NCYGL3X3JCIQQ72TMNE2YF5B3ZRDGIGMXAQ2OXGV575N4N4VIBWRRHJ5
[24] 2022/06/07 12:27:16.172157 [INF] Using configuration file: /etc/nats/nats.conf
[24] 2022/06/07 12:27:16.172838 [INF] Listening for client connections on 127.0.0.1:4222
[24] 2022/06/07 12:27:16.172865 [INF] Server is ready
2022-06-07 12:27:16.179961 I | main.go:133: Starting up version e4214eb95dee09d564c71227eb554f3084a726d4/go1.17.6 as pid 25
2022-06-07 12:27:16.180159 I | main.go:142: Using a maximum of 64 CPUs
Janus commit: not-a-git-repo
Compiled on:  Wed May  5 14:28:53 UTC 2021

Running Janus as a daemon
2022-06-07 12:27:16.182371 I | natsclient.go:120: Connection established to nats://127.0.0.1:4222 (NCYGL3X3JCIQQ72TMNE2YF5B3ZRDGIGMXAQ2OXGV575N4N4VIBWRRHJ5)
2022-06-07 12:27:16.182467 I | backend_configuration.go:147: Backend backend-1 added for https://nextcloud334.ipfran.ru/
2022-06-07 12:27:16.182503 I | hub.go:187: Using a maximum of 8 concurrent backend connections per host
2022-06-07 12:27:16.182528 I | hub.go:194: Using a timeout of 10s for backend connections
2022-06-07 12:27:16.182550 I | hub.go:285: Not using GeoIP database
2022-06-07 12:27:16.182870 I | main.go:200: Could not initialize janus MCU (dial tcp 127.0.0.1:8188: connect: connection refused) will retry in 1s
Logger plugins folder: /usr/lib/x86_64-linux-gnu/janus/loggers
Loading logger plugin 'libjanus_jsonlog.so'...
Adding 1 external loggers
[WARN] JSON logger disabled
---------------------------------------------------
  Starting Meetecho Janus (WebRTC Server) v0.11.2
---------------------------------------------------

Checking command line arguments...
Debug/log level is 4
Debug/log timestamps are disabled
Debug/log colors are disabled
Adding 'vmnet' to the ICE ignore list...
Using 172.17.0.4 as local IP...
Token based authentication disabled
Initializing recorder code
Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, full-trickle, IPv6 support disabled)
STUN server to use: 127.0.0.1:3478
  >> 127.0.0.1:3478 (IPv4)
Testing STUN server: message is of 20 bytes
0: log file opened: /var/tmp/turn_26_2022-06-07.log
0: 0 bytes per second allowed, combined server capacity
0: Config file found: //etc/turnserver.conf
0: 
RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server
Version Coturn-4.5.1.1 'dan Eider'
0: 
Max number of open files/sockets allowed for this process: 1048576
0: 
Due to the open files/sockets limitation,
max supported number of TURN Sessions possible is: 524000 (approximately)
0: 

==== Show him the instruments, Practical Frost: ====

0: TLS supported
0: DTLS supported
0: DTLS 1.2 supported
0: TURN/STUN ALPN supported
0: Third-party authorization (oAuth) supported
0: GCM (AEAD) supported
0: OpenSSL compile-time version: OpenSSL 1.1.1f  31 Mar 2020 (0x1010106f)
0: 
0: SQLite supported, default database location is /var/lib/turn/turndb
0: Redis supported
0: PostgreSQL supported
0: MySQL supported
0: MongoDB is not supported
0: 
0: Default Net Engine version: 3 (UDP thread per CPU core)

=====================================================

0: Domain name: 
0: Default realm: nextcloud334.ipfran.ru
0: 
CONFIGURATION ALERT: You specified --lt-cred-mech and --use-auth-secret in the same time.
Be aware that you could not mix the username/password and the shared secret based auth methohds. 
Shared secret overrides username/password based auth method. Check your configuration!
0: ERROR: 
CONFIG ERROR: Empty cli-password, and so telnet cli interface is disabled! Please set a non empty cli-password!
0: WARNING: cannot find certificate file: turn_server_cert.pem (1)
0: WARNING: cannot start TLS and DTLS listeners because certificate file is not set properly
0: WARNING: cannot find private key file: turn_server_pkey.pem (1)
0: WARNING: cannot start TLS and DTLS listeners because private key file is not set properly
0: NO EXPLICIT LISTENER ADDRESS(ES) ARE CONFIGURED
0: ===========Discovering listener addresses: =========
0: Listener address to use: 127.0.0.1
0: Listener address to use: 172.17.0.4
0: Listener address to use: 172.18.0.4
0: =====================================================
0: Total: 2 'real' addresses discovered
0: =====================================================
0: NO EXPLICIT RELAY ADDRESS(ES) ARE CONFIGURED
0: ===========Discovering relay addresses: =============
0: Relay address to use: 172.17.0.4
0: Relay address to use: 172.18.0.4
0: =====================================================
0: Total: 2 relay addresses discovered
0: =====================================================
0: pid file created: /var/tmp/turnserver.pid
0: IO method (main listener thread): epoll (with changelist)
0: Wait for relay ports initialization...
0:   relay 172.17.0.4 initialization...
0:   relay 172.17.0.4 initialization done
0:   relay 172.18.0.4 initialization...
0:   relay 172.18.0.4 initialization done
0: Relay ports initialization done
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=0 created
0: turn server id=1 created
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=2 created
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=3 created
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=4 created
0: turn server id=5 created
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=54 created
0: turn server id=23 created
0: turn server id=55 created
0: turn server id=14 created
0: turn server id=6 created
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=12 created
0: turn server id=48 created
0: turn server id=60 created
0: turn server id=59 created
0: turn server id=51 created
0: turn server id=52 created
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=15 created
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=20 created
0: turn server id=50 created
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=35 created
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=38 created
0: turn server id=16 created
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=46 created
0: turn server id=22 created
0: turn server id=40 created
0: turn server id=8 created
0: turn server id=27 created
0: turn server id=33 created
0: turn server id=53 created
0: turn server id=61 created
0: turn server id=41 created
0: turn server id=25 created
0: turn server id=63 created
0: turn server id=13 created
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=31 created
0: turn server id=45 created
0: turn server id=26 created
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=36 created
0: turn server id=30 created
0: turn server id=32 created
0: turn server id=34 created
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=17 created
0: turn server id=49 created
0: turn server id=18 created
0: turn server id=10 created
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=24 created
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=62 created
0: turn server id=7 created
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=21 created
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=9 created
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=58 created
0: turn server id=42 created
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=28 created
2022-06-07 12:27:17.183734 I | main.go:200: Could not initialize janus MCU (dial tcp 127.0.0.1:8188: connect: connection refused) will retry in 2s
2022-06-07 12:27:19.185350 I | main.go:200: Could not initialize janus MCU (dial tcp 127.0.0.1:8188: connect: connection refused) will retry in 4s
0: turn server[FATAL] [ice.c:janus_ice_test_stun_server:1009] No response to our STUN BINDING test
[FATAL] [janus.c:main:4823] Invalid STUN address 127.0.0.1:3478
Error launching Janus (error code 1), check the logs for more details
Janus commit: not-a-git-repo
Compiled on:  Wed May  5 14:28:53 UTC 2021

Running Janus as a daemon
Logger plugins folder: /usr/lib/x86_64-linux-gnu/janus/loggers
Loading logger plugin 'libjanus_jsonlog.so'...
Adding 1 external loggers
[WARN] JSON logger disabled
---------------------------------------------------
  Starting Meetecho Janus (WebRTC Server) v0.11.2
---------------------------------------------------

Checking command line arguments...
Debug/log level is 4
Debug/log timestamps are disabled
Debug/log colors are disabled
Adding 'vmnet' to the ICE ignore list...
Using 172.17.0.4 as local IP...
Token based authentication disabled
Initializing recorder code
Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, full-trickle, IPv6 support disabled)
STUN server to use: 127.0.0.1:3478
  >> 127.0.0.1:3478 (IPv4)
Testing STUN server: message is of 20 bytes
  >> Our public address is 127.0.0.1
TURN REST API backend: (disabled)
Crypto: OpenSSL >= 1.1.0
No cert/key specified, autogenerating some...
Fingerprint of our certificate: AD:C2:D5:AC:00:78:CE:50:3F:44:63:BC:3E:DC:E4:90:1B:A2:33:84:35:39:8E:2D:08:1E:7A:D1:74:80:40:C0
Event handlers support disabled
Plugins folder: /usr/lib/x86_64-linux-gnu/janus/plugins
Sessions watchdog started
Joining Janus requests handler thread
Loading plugin 'libjanus_nosip.so'...
JANUS NoSIP plugin initialized!
Loading plugin 'libjanus_streaming.so'...
[ERR] [plugins/janus_streaming.c:janus_streaming_init:2005] Can't add 'live' mountpoint, no such file '/usr/share/janus/streams/radio.alaw'...
[ERR] [plugins/janus_streaming.c:janus_streaming_init:2072] Can't add 'ondemand' mountpoint, no such file '/usr/share/janus/streams/music.mulaw'...
JANUS Streaming plugin initialized!
Loading plugin 'libjanus_voicemail.so'...
JANUS VoiceMail plugin initialized!
Loading plugin 'libjanus_duktape.so'...
[echotest.js]  Loading script...
[echotest.js]  Modules folder: /usr/share/janus/duktape
[echotest.js]  Loading module: janus-sdp
[echotest.js]  Module loaded
[echotest.js]  Script loaded
[echotest.js]  Initializing...
[echotest.js]  Initialized
Janus JavaScript plugin (Duktape) initialized!
Loading plugin 'libjanus_audiobridge.so'...
JANUS AudioBridge plugin initialized!
Loading plugin 'libjanus_echotest.so'...
JANUS EchoTest plugin initialized!
Loading plugin 'libjanus_videoroom.so'...
JANUS VideoRoom plugin initialized!
Loading plugin 'libjanus_sip.so'...
JANUS SIP plugin initialized!
Loading plugin 'libjanus_lua.so'...
[echotest.lua] Loading...
[echotest.lua] Loaded
[echotest.lua] Initializing...
[echotest.lua] Initialized
Janus Lua plugin initialized!
Loading plugin 'libjanus_textroom.so'...
JANUS TextRoom plugin initialized!
Loading plugin 'libjanus_videocall.so'...
JANUS VideoCall plugin initialized!
Loading plugin 'libjanus_recordplay.so'...
JANUS Record&Play plugin initialized!
Transport plugins folder: /usr/lib/x86_64-linux-gnu/janus/transports
Loading transport plugin 'libjanus_mqtt.so'...
[ERR] [config.c:janus_config_parse:205] Error parsing config file at line 30: syntax error
[WARN] Couldn't find .jcfg configuration file (janus.transport.mqtt), trying .cfg
[ERR] [config.c:janus_config_parse:191]   -- Error reading configuration file 'janus.transport.mqtt.cfg'... error 2 (No such file or directory)
MQTT SSL support disabled
[WARN] MQTT support disabled for both Janus and Admin API, giving up
JANUS MQTT transport plugin destroyed!
[WARN] The 'janus.transport.mqtt' plugin could not be initialized
Loading transport plugin 'libjanus_websockets.so'...
libwebsockets logging: 0
WebSockets server started (port 8188)...
JANUS WebSockets transport plugin initialized!
Loading transport plugin 'libjanus_nanomsg.so'...
WebSockets thread started
JANUS Nanomsg transport plugin initialized!
Loading transport plugin 'libjanus_rabbitmq.so'...
Nanomsg thread started
RabbitMQ SSL support disabled
[WARN] RabbitMQ support disabled for both Janus and Admin API, giving up
[WARN] The 'janus.transport.rabbitmq' plugin could not be initialized
Loading transport plugin 'libjanus_pfunix.so'...
[WARN] No Unix Sockets server started, giving up...
[WARN] The 'janus.transport.pfunix' plugin could not be initialized
Loading transport plugin 'libjanus_http.so'...
HTTP transport timer started
HTTP webserver started (port 8088, /janus path listener)...
JANUS REST (HTTP/HTTPS) transport plugin initialized!
2022-06-07 12:27:23.191803 I | mcu_janus.go:293: Connected to Janus WebRTC Server 0.11.2 by Meetecho s.r.l.
2022-06-07 12:27:23.191848 I | mcu_janus.go:297: Found JANUS VideoRoom plugin 0.0.9 by Meetecho s.r.l.
2022-06-07 12:27:23.191864 I | mcu_janus.go:303: Data channels are supported
2022-06-07 12:27:23.191877 I | mcu_janus.go:309: Full-Trickle is enabled
2022-06-07 12:27:23.191891 I | mcu_janus.go:311: Maximum bandwidth 1048576 bits/sec per publishing stream
2022-06-07 12:27:23.191904 I | mcu_janus.go:312: Maximum bandwidth 2097152 bits/sec per screensharing stream
2022-06-07 12:27:23.192599 I | mcu_janus.go:318: Created Janus session 6627246922634259
2022-06-07 12:27:23.193474 I | mcu_janus.go:325: Created Janus handle 4686883899781491
2022-06-07 12:27:23.193522 I | main.go:235: Using janus MCU
2022-06-07 12:27:23.193545 I | hub.go:377: Using a timeout of 10s for MCU requests
2022-06-07 12:27:23.193609 I | backend_server.go:95: Using configured TURN API key
2022-06-07 12:27:23.193625 I | backend_server.go:96: Using configured shared TURN secret
2022-06-07 12:27:23.193640 I | backend_server.go:98: Adding "turn:nextcloud334.ipfran.ru:3478?transport=tcp" as TURN server
2022-06-07 12:27:23.193655 I | backend_server.go:98: Adding "turn:nextcloud334.ipfran.ru:3478?transport=udp" as TURN server
2022-06-07 12:27:23.193670 I | backend_server.go:105: No IPs configured for the stats endpoint, only allowing access from 127.0.0.1
2022-06-07 12:27:23.194071 I | main.go:311: Listening on 0.0.0.0:8081
Janus commit: not-a-git-repo
Compiled on:  Wed May  5 14:28:53 UTC 2021

Running Janus as a daemon
Logger plugins folder: /usr/lib/x86_64-linux-gnu/janus/loggers
Loading logger plugin 'libjanus_jsonlog.so'...
Adding 1 external loggers
[WARN] JSON logger disabled
---------------------------------------------------
  Starting Meetecho Janus (WebRTC Server) v0.11.2
---------------------------------------------------

Checking command line arguments...
Debug/log level is 4
Debug/log timestamps are disabled
Debug/log colors are disabled
Adding 'vmnet' to the ICE ignore list...
Using 172.17.0.4 as local IP...
Token based authentication disabled
Initializing recorder code
Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, full-trickle, IPv6 support disabled)
STUN server to use: 127.0.0.1:3478
  >> 127.0.0.1:3478 (IPv4)
Testing STUN server: message is of 20 bytes
  >> Our public address is 127.0.0.1
TURN REST API backend: (disabled)
Crypto: OpenSSL >= 1.1.0
No cert/key specified, autogenerating some...
Fingerprint of our certificate: 1E:E9:A1:DD:54:D9:FD:59:8E:B6:B5:E0:80:64:A1:DF:CE:6A:A8:DF:D3:64:70:C5:B3:DF:E3:53:1A:CA:D0:76
Event handlers support disabled
Plugins folder: /usr/lib/x86_64-linux-gnu/janus/plugins
Sessions watchdog started
Joining Janus requests handler thread
Loading plugin 'libjanus_nosip.so'...
JANUS NoSIP plugin initialized!
Loading plugin 'libjanus_streaming.so'...
[ERR] [plugins/janus_streaming.c:janus_streaming_create_fd:5574] [rtp-sample] Bind failed for audio (port 5002)... 98 (Address already in use)
[ERR] [plugins/janus_streaming.c:janus_streaming_create_rtp_source:5783] Can't bind to port 5002 for audio...
[ERR] [plugins/janus_streaming.c:janus_streaming_init:1956] Error creating 'rtp' mountpoint 'rtp-sample'...
[ERR] [plugins/janus_streaming.c:janus_streaming_init:2005] Can't add 'live' mountpoint, no such file '/usr/share/janus/streams/radio.alaw'...
[ERR] [plugins/janus_streaming.c:janus_streaming_init:2072] Can't add 'ondemand' mountpoint, no such file '/usr/share/janus/streams/music.mulaw'...
JANUS Streaming plugin initialized!
Loading plugin 'libjanus_voicemail.so'...
JANUS VoiceMail plugin initialized!
Loading plugin 'libjanus_duktape.so'...
[echotest.js]  Loading script...
[echotest.js]  Modules folder: /usr/share/janus/duktape
[echotest.js]  Loading module: janus-sdp
[echotest.js]  Module loaded
[echotest.js]  Script loaded
[echotest.js]  Initializing...
[echotest.js]  Initialized
Janus JavaScript plugin (Duktape) initialized!
Loading plugin 'libjanus_audiobridge.so'...
JANUS AudioBridge plugin initialized!
Loading plugin 'libjanus_echotest.so'...
JANUS EchoTest plugin initialized!
Loading plugin 'libjanus_videoroom.so'...
JANUS VideoRoom plugin initialized!
Loading plugin 'libjanus_sip.so'...
JANUS SIP plugin initialized!
Loading plugin 'libjanus_lua.so'...
[echotest.lua] Loading...
[echotest.lua] Loaded
[echotest.lua] Initializing...
[echotest.lua] Initialized
Janus Lua plugin initialized!
Loading plugin 'libjanus_textroom.so'...
JANUS TextRoom plugin initialized!
Loading plugin 'libjanus_videocall.so'...
JANUS VideoCall plugin initialized!
Loading plugin 'libjanus_recordplay.so'...
JANUS Record&Play plugin initialized!
Transport plugins folder: /usr/lib/x86_64-linux-gnu/janus/transports
Loading transport plugin 'libjanus_mqtt.so'...
[ERR] [config.c:janus_config_parse:205] Error parsing config file at line 30: syntax error
[WARN] Couldn't find .jcfg configuration file (janus.transport.mqtt), trying .cfg
[ERR] [config.c:janus_config_parse:191]   -- Error reading configuration file 'janus.transport.mqtt.cfg'... error 2 (No such file or directory)
MQTT SSL support disabled
[WARN] MQTT support disabled for both Janus and Admin API, giving up
JANUS MQTT transport plugin destroyed!
[WARN] The 'janus.transport.mqtt' plugin could not be initialized
Loading transport plugin 'libjanus_websockets.so'...
libwebsockets logging: 0
[FATAL] [transports/janus_websockets.c:janus_websockets_init:679] Error creating vhost for WebSockets server...
[WARN] No WebSockets server started, giving up...
[WARN] The 'janus.transport.websockets' plugin could not be initialized
Loading transport plugin 'libjanus_nanomsg.so'...
[ERR] [transports/janus_nanomsg.c:janus_nanomsg_init:224] Error binding Janus API Nanomsg socket to address 'ipc:///tmp/janus.ipc': 98 (Address already in use)
[WARN] No Nanomsg server started, giving up...
[WARN] The 'janus.transport.nanomsg' plugin could not be initialized
Loading transport plugin 'libjanus_rabbitmq.so'...
RabbitMQ SSL support disabled
[WARN] RabbitMQ support disabled for both Janus and Admin API, giving up
[WARN] The 'janus.transport.rabbitmq' plugin could not be initialized
Loading transport plugin 'libjanus_pfunix.so'...
[WARN] No Unix Sockets server started, giving up...
[WARN] The 'janus.transport.pfunix' plugin could not be initialized
Loading transport plugin 'libjanus_http.so'...
HTTP transport timer started
[FATAL] [transports/janus_http.c:janus_http_init:795] Couldn't start webserver on port 8088...
[WARN] No HTTP/HTTPS server started, giving up...
[WARN] The 'janus.transport.http' plugin could not be initialized
[FATAL] [janus.c:main:5447] No Janus API transport is available... enable at least one and restart Janus
Error launching Janus (error code 1), check the logs for more details
Janus commit: not-a-git-repo
Compiled on:  Wed May  5 14:28:53 UTC 2021

Running Janus as a daemon
Logger plugins folder: /usr/lib/x86_64-linux-gnu/janus/loggers
Loading logger plugin 'libjanus_jsonlog.so'...
Adding 1 external loggers
[WARN] JSON logger disabled
---------------------------------------------------
  Starting Meetecho Janus (WebRTC Server) v0.11.2
---------------------------------------------------

Checking command line arguments...
Debug/log level is 4
Debug/log timestamps are disabled
Debug/log colors are disabled
Adding 'vmnet' to the ICE ignore list...
Using 172.17.0.4 as local IP...
Token based authentication disabled
Initializing recorder code
Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, full-trickle, IPv6 support disabled)
STUN server to use: 127.0.0.1:3478
  >> 127.0.0.1:3478 (IPv4)
Testing STUN server: message is of 20 bytes
  >> Our public address is 127.0.0.1
TURN REST API backend: (disabled)
Crypto: OpenSSL >= 1.1.0
No cert/key specified, autogenerating some...
Fingerprint of our certificate: 3E:20:29:99:7B:02:97:EC:9A:E4:91:8F:9B:34:12:EA:C1:14:83:8D:59:A5:8F:ED:D5:EB:3E:2A:A3:D7:49:AB
Sessions watchdog started
Event handlers support disabled
Plugins folder: /usr/lib/x86_64-linux-gnu/janus/plugins
Joining Janus requests handler thread
Loading plugin 'libjanus_nosip.so'...
JANUS NoSIP plugin initialized!
Loading plugin 'libjanus_streaming.so'...
[ERR] [plugins/janus_streaming.c:janus_streaming_create_fd:5574] [rtp-sample] Bind failed for audio (port 5002)... 98 (Address already in use)
[ERR] [plugins/janus_streaming.c:janus_streaming_create_rtp_source:5783] Can't bind to port 5002 for audio...
[ERR] [plugins/janus_streaming.c:janus_streaming_init:1956] Error creating 'rtp' mountpoint 'rtp-sample'...
[ERR] [plugins/janus_streaming.c:janus_streaming_init:2005] Can't add 'live' mountpoint, no such file '/usr/share/janus/streams/radio.alaw'...
[ERR] [plugins/janus_streaming.c:janus_streaming_init:2072] Can't add 'ondemand' mountpoint, no such file '/usr/share/janus/streams/music.mulaw'...
JANUS Streaming plugin initialized!
Loading plugin 'libjanus_voicemail.so'...
JANUS VoiceMail plugin initialized!
Loading plugin 'libjanus_duktape.so'...
[echotest.js]  Loading script...
[echotest.js]  Modules folder: /usr/share/janus/duktape
[echotest.js]  Loading module: janus-sdp
[echotest.js]  Module loaded
[echotest.js]  Script loaded
[echotest.js]  Initializing...
[echotest.js]  Initialized
Janus JavaScript plugin (Duktape) initialized!
Loading plugin 'libjanus_audiobridge.so'...
JANUS AudioBridge plugin initialized!
Loading plugin 'libjanus_echotest.so'...
JANUS EchoTest plugin initialized!
Loading plugin 'libjanus_videoroom.so'...
JANUS VideoRoom plugin initialized!
Loading plugin 'libjanus_sip.so'...
JANUS SIP plugin initialized!
Loading plugin 'libjanus_lua.so'...
[echotest.lua] Loading...
[echotest.lua] Loaded
[echotest.lua] Initializing...
[echotest.lua] Initialized
Janus Lua plugin initialized!
Loading plugin 'libjanus_textroom.so'...
JANUS TextRoom plugin initialized!
Loading plugin 'libjanus_videocall.so'...
JANUS VideoCall plugin initialized!
Loading plugin 'libjanus_recordplay.so'...
JANUS Record&Play plugin initialized!
Transport plugins folder: /usr/lib/x86_64-linux-gnu/janus/transports
Loading transport plugin 'libjanus_mqtt.so'...
[ERR] [config.c:janus_config_parse:205] Error parsing config file at line 30: syntax error
[WARN] Couldn't find .jcfg configuration file (janus.transport.mqtt), trying .cfg
[ERR] [config.c:janus_config_parse:191]   -- Error reading configuration file 'janus.transport.mqtt.cfg'... error 2 (No such file or directory)
MQTT SSL support disabled
[WARN] MQTT support disabled for both Janus and Admin API, giving up
JANUS MQTT transport plugin destroyed!
[WARN] The 'janus.transport.mqtt' plugin could not be initialized
Loading transport plugin 'libjanus_websockets.so'...
libwebsockets logging: 0
[FATAL] [transports/janus_websockets.c:janus_websockets_init:679] Error creating vhost for WebSockets server...
[WARN] No WebSockets server started, giving up...
[WARN] The 'janus.transport.websockets' plugin could not be initialized
Loading transport plugin 'libjanus_nanomsg.so'...
[ERR] [transports/janus_nanomsg.c:janus_nanomsg_init:224] Error binding Janus API Nanomsg socket to address 'ipc:///tmp/janus.ipc': 98 (Address already in use)
[WARN] No Nanomsg server started, giving up...
[WARN] The 'janus.transport.nanomsg' plugin could not be initialized
Loading transport plugin 'libjanus_rabbitmq.so'...
RabbitMQ SSL support disabled
[WARN] RabbitMQ support disabled for both Janus and Admin API, giving up
[WARN] The 'janus.transport.rabbitmq' plugin could not be initialized
Loading transport plugin 'libjanus_pfunix.so'...
[WARN] No Unix Sockets server started, giving up...
[WARN] The 'janus.transport.pfunix' plugin could not be initialized
Loading transport plugin 'libjanus_http.so'...
HTTP transport timer started
[FATAL] [transports/janus_http.c:janus_http_init:795] Couldn't start webserver on port 8088...
[WARN] No HTTP/HTTPS server started, giving up...
[WARN] The 'janus.transport.http' plugin could not be initialized
[FATAL] [janus.c:main:5447] No Janus API transport is available... enable at least one and restart Janus
Error launching Janus (error code 1), check the logs for more details
Janus commit: not-a-git-repo
Compiled on:  Wed May  5 14:28:53 UTC 2021

Running Janus as a daemon
Logger plugins folder: /usr/lib/x86_64-linux-gnu/janus/loggers
Loading logger plugin 'libjanus_jsonlog.so'...
Adding 1 external loggers
[WARN] JSON logger disabled
---------------------------------------------------
  Starting Meetecho Janus (WebRTC Server) v0.11.2
---------------------------------------------------

Checking command line arguments...
Debug/log level is 4
Debug/log timestamps are disabled
Debug/log colors are disabled
Adding 'vmnet' to the ICE ignore list...
Using 172.17.0.4 as local IP...
Token based authentication disabled
Initializing recorder code
Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, full-trickle, IPv6 support disabled)
STUN server to use: 127.0.0.1:3478
  >> 127.0.0.1:3478 (IPv4)
Testing STUN server: message is of 20 bytes
  >> Our public address is 127.0.0.1
TURN REST API backend: (disabled)
Crypto: OpenSSL >= 1.1.0
No cert/key specified, autogenerating some...
Fingerprint of our certificate: C1:40:20:DF:F3:E4:16:37:C2:89:D9:51:C3:7E:9E:E6:2F:71:45:E2:6C:35:CD:4C:B3:52:31:BD:A6:37:53:16
Event handlers support disabled
Plugins folder: /usr/lib/x86_64-linux-gnu/janus/plugins
Sessions watchdog started
Joining Janus requests handler thread
Loading plugin 'libjanus_nosip.so'...
JANUS NoSIP plugin initialized!
Loading plugin 'libjanus_streaming.so'...
[ERR] [plugins/janus_streaming.c:janus_streaming_create_fd:5574] [rtp-sample] Bind failed for audio (port 5002)... 98 (Address already in use)
[ERR] [plugins/janus_streaming.c:janus_streaming_create_rtp_source:5783] Can't bind to port 5002 for audio...
[ERR] [plugins/janus_streaming.c:janus_streaming_init:1956] Error creating 'rtp' mountpoint 'rtp-sample'...
[ERR] [plugins/janus_streaming.c:janus_streaming_init:2005] Can't add 'live' mountpoint, no such file '/usr/share/janus/streams/radio.alaw'...
[ERR] [plugins/janus_streaming.c:janus_streaming_init:2072] Can't add 'ondemand' mountpoint, no such file '/usr/share/janus/streams/music.mulaw'...
JANUS Streaming plugin initialized!
Loading plugin 'libjanus_voicemail.so'...
JANUS VoiceMail plugin initialized!
Loading plugin 'libjanus_duktape.so'...
[echotest.js]  Loading script...
[echotest.js]  Modules folder: /usr/share/janus/duktape
[echotest.js]  Loading module: janus-sdp
[echotest.js]  Module loaded
[echotest.js]  Script loaded
[echotest.js]  Initializing...
[echotest.js]  Initialized
Janus JavaScript plugin (Duktape) initialized!
Loading plugin 'libjanus_audiobridge.so'...
JANUS AudioBridge plugin initialized!
Loading plugin 'libjanus_echotest.so'...
JANUS EchoTest plugin initialized!
Loading plugin 'libjanus_videoroom.so'...
JANUS VideoRoom plugin initialized!
Loading plugin 'libjanus_sip.so'...
JANUS SIP plugin initialized!
Loading plugin 'libjanus_lua.so'...
[echotest.lua] Loading...
[echotest.lua] Loaded
[echotest.lua] Initializing...
[echotest.lua] Initialized
Janus Lua plugin initialized!
Loading plugin 'libjanus_textroom.so'...
JANUS TextRoom plugin initialized!
Loading plugin 'libjanus_videocall.so'...
JANUS VideoCall plugin initialized!
Loading plugin 'libjanus_recordplay.so'...
JANUS Record&Play plugin initialized!
Transport plugins folder: /usr/lib/x86_64-linux-gnu/janus/transports
Loading transport plugin 'libjanus_mqtt.so'...
[ERR] [config.c:janus_config_parse:205] Error parsing config file at line 30: syntax error
[WARN] Couldn't find .jcfg configuration file (janus.transport.mqtt), trying .cfg
[ERR] [config.c:janus_config_parse:191]   -- Error reading configuration file 'janus.transport.mqtt.cfg'... error 2 (No such file or directory)
MQTT SSL support disabled
[WARN] MQTT support disabled for both Janus and Admin API, giving up
JANUS MQTT transport plugin destroyed!
[WARN] The 'janus.transport.mqtt' plugin could not be initialized
Loading transport plugin 'libjanus_websockets.so'...
libwebsockets logging: 0
[FATAL] [transports/janus_websockets.c:janus_websockets_init:679] Error creating vhost for WebSockets server...
[WARN] No WebSockets server started, giving up...
[WARN] The 'janus.transport.websockets' plugin could not be initialized
Loading transport plugin 'libjanus_nanomsg.so'...
[ERR] [transports/janus_nanomsg.c:janus_nanomsg_init:224] Error binding Janus API Nanomsg socket to address 'ipc:///tmp/janus.ipc': 98 (Address already in use)
[WARN] No Nanomsg server started, giving up...
[WARN] The 'janus.transport.nanomsg' plugin could not be initialized
Loading transport plugin 'libjanus_rabbitmq.so'...
RabbitMQ SSL support disabled
[WARN] RabbitMQ support disabled for both Janus and Admin API, giving up
[WARN] The 'janus.transport.rabbitmq' plugin could not be initialized
Loading transport plugin 'libjanus_pfunix.so'...
[WARN] No Unix Sockets server started, giving up...
[WARN] The 'janus.transport.pfunix' plugin could not be initialized
Loading transport plugin 'libjanus_http.so'...
HTTP transport timer started
[FATAL] [transports/janus_http.c:janus_http_init:795] Couldn't start webserver on port 8088...
[WARN] No HTTP/HTTPS server started, giving up...
[WARN] The 'janus.transport.http' plugin could not be initialized
[FATAL] [janus.c:main:5447] No Janus API transport is available... enable at least one and restart Janus
Error launching Janus (error code 1), check the logs for more details
2022-06-07 12:36:02.013711 I | hub.go:1956: Could not upgrade request from 194.190.189.252: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
szaimen commented 2 years ago

Hi, did you open port 3478 udp and tcp?

blendersamsonov commented 2 years ago

Yes, here's the output of lsof -i:

docker-pr  274630  root    4u  IPv6 17935043      0t0  TCP *:3478 (LISTEN)
docker-pr  274646  root    4u  IPv4 17959627      0t0  UDP *:3478

I also do not have any firewall installed

szaimen commented 2 years ago

What about port 3478/udp?

Also, are you running it on a vps or in your home network?

blendersamsonov commented 2 years ago

I just updated the post, there's udp port also, but no (LISTEN) on it. I am in an institution network behind a reverse proxy which I cannot control. They just pass all the data coming to the domain name to the apache port of my container

szaimen commented 2 years ago

I'll move this to discussions since I cannot reproduce this...