Setting up Event Handlers

Hi , I am trying to set up janus to emit events via the videoroom plugin and I have set up the file janus.eventhandler.sampleevh.jcfg as prescribed in the Article here Bu I am getting this error , Please can you help whats is supposed to mean and how to fix this as well and yes I have updated the the file janus.jcfg as well

Nov 22 13:26:29 videoconf sudo[1710747]: ---------------------------------------------------
Nov 22 13:26:29 videoconf sudo[1710747]:   Starting Meetecho Janus (WebRTC Server) v1.2.1
Nov 22 13:26:29 videoconf sudo[1710747]: ---------------------------------------------------
Nov 22 13:26:29 videoconf sudo[1710747]: Checking command line arguments...
Nov 22 13:26:29 videoconf sudo[1710747]: Debug/log level is 4
Nov 22 13:26:29 videoconf sudo[1710747]: Debug/log timestamps are disabled
Nov 22 13:26:29 videoconf sudo[1710747]: Debug/log colors are enabled
Nov 22 13:26:29 videoconf sudo[1710747]: Using 164.90.190.108 as local IP...
Nov 22 13:26:29 videoconf sudo[1710747]: Token based authentication disabled
Nov 22 13:26:29 videoconf sudo[1710747]: Initializing recorder code
Nov 22 13:26:29 videoconf sudo[1710747]: Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, half-trickle, IPv6 support disabled)
Nov 22 13:26:29 videoconf sudo[1710747]: TURN REST API backend: (disabled)
Nov 22 13:26:29 videoconf sudo[1710747]: Crypto: OpenSSL >= 1.1.0
Nov 22 13:26:29 videoconf sudo[1710747]: No cert/key specified, autogenerating some...
Nov 22 13:26:29 videoconf sudo[1710747]: Fingerprint of our certificate: removed deliveratly
Nov 22 13:26:29 videoconf sudo[1710747]: Event handler plugins folder: /opt/janus/lib/janus/events
Nov 22 13:26:29 videoconf sudo[1710747]: Loading event handler plugin 'libjanus_wsevh.so'...
Nov 22 13:26:29 videoconf sudo[1710747]: Sessions watchdog started
Nov 22 13:26:29 videoconf sudo[1710747]: Joining Janus requests handler thread
Nov 22 13:26:29 videoconf sudo[1710747]: [WARN] WebSockets event handler disabled
Nov 22 13:26:29 videoconf sudo[1710747]: Loading event handler plugin 'libjanus_sampleevh.so'...
Nov 22 13:26:29 videoconf sudo[1710747]: [ERR] [config.c:janus_config_parse:205] Error parsing config file at line 12: syntax error
Nov 22 13:26:29 videoconf sudo[1710747]: [WARN] Couldn't find .jcfg configuration file (janus.eventhandler.sampleevh), trying .cfg
Nov 22 13:26:29 videoconf sudo[1710747]: [ERR] [config.c:janus_config_parse:191]   -- Error reading configuration file 'janus.eventhandler.sampleevh.cfg'... error 2 (No such file or directory)
Nov 22 13:26:29 videoconf sudo[1710747]: [FATAL] [events/janus_sampleevh.c:janus_sampleevh_init:245] Sample event handler not enabled/needed, giving up...
Nov 22 13:26:29 videoconf sudo[1710747]: Loading event handler plugin 'libjanus_rabbitmqevh.so'...
Nov 22 13:26:29 videoconf sudo[1710747]: [WARN] RabbitMQ event handler disabled
Nov 22 13:26:29 videoconf sudo[1710747]: Loading event handler plugin 'libjanus_gelfevh.so'...
Nov 22 13:26:29 videoconf sudo[1710747]: [WARN] GELF event handler disabled (Janus API)
Nov 22 13:26:29 videoconf sudo[1710747]: [FATAL] [events/janus_gelfevh.c:janus_gelfevh_init:375] GELF event handler not enabled/needed, giving up...

Your configuration file has a syntax error, so you wrote something incorrectly.

1 Like

noted Its sorted thank you It was only end as you mentioned easy to miss I had to put yes in qoutes