JVB spams log with Stack Trace

@Wurzelmann, thanks a lot for pointing at the commit that should fix the issue in next stable. Could you please share the steps you followed to apply this fix on top of videobridge version 2.1-304-g8488f77d-1 to see if we have a solution for it in the meantime?

@pcondal, the problem were a few libraries which would not have been installed with the patch, here are the ones we found:

annotations-13.0.jar 
jackson-annotations-2.11.0.jar 
ktor-client-core-jvm-1.3.1.jar
atomicfu-0.14.1.jar 
jackson-core-2.9.9.jar 
ktor-client-jackson-1.3.1.jar
checker-qual-2.11.1.jar 
jackson-databind-2.9.9.3.jar 
ktor-client-json-jvm-1.3.1.jar
commons-codec-1.10.jar 
javassist-3.21.0-GA.jar 
ktor-http-cio-jvm-1.3.1.jar
commons-logging-1.2.jar 
jvb-api-common-2.1-304-g8488f77d.jar 
ktor-http-jvm-1.3.1.jar
guava-29.0-jre.jar 
kotlin-reflect-1.3.61.jar 
ktor-io-jvm-1.3.1.jar
httpasyncclient-4.1.4.jar 
kotlinx-coroutines-core-1.3.3.jar 
ktor-network-1.3.1.jar
httpclient-4.5.6.jar 
kotlinx-coroutines-core-common-1.3.6.jar 
ktor-network-tls-1.3.1.jar
httpcore-4.4.10.jar 
ktor-client-apache-1.3.1.jar 
ktor-utils-jvm-1.3.1.jar
httpcore-nio-4.4.10.jar 
ktor-client-cio-1.3.1.jar 
slf4j-api-1.7.26.jar

Proceed with caution, I can give no guarantees and am not responsible for a broken Jitsi server.

Hi,
on my installation I took a look on β€œ/usr/share/jitsi-videobridge/lib”. I found out that some libraries exist in two different verions there, e.g. jackson-databind-2.10.1.jar and jackson-databind-2.9.9.3.jar. I renamed the older version in each case. After restarting jitsi-videobridge2 everything was fine.
Hope it will help.

Regards

1 Like

We also tried by moving out the older version of each library with two different versions and the stack traces stopped being logged and the low resolution issue in Simulcast was fixed.

1 Like

These are the older ones of the duplicated files in my Debian Buster box

cd /usr/share/jitsi-videobridge/lib
mkdir /var/tmp/javalib

mv annotations-13.0.jar checker-qual-2.10.0.jar commons-codec-1.9.jar /var/tmp/javalib/
mv guava-28.2-jre.jar jackson-annotations-2.10.1.jar jackson-core-2.9.9.jar /var/tmp/javalib/
mv jackson-databind-2.9.9.3.jar javassist-3.21.0-GA.jar /var/tmp/javalib/
mv kotlin-reflect-1.3.61.jar slf4j-api-1.7.26.jar /var/tmp/javalib/

systemctl restart jitsi-videobridge2.service

To list duplicated

cd /usr/share/jitsi-videobridge/lib
for f in $(ls -1 *.jar | sed 's/-[0-9].*$//' | sort | uniq -c | egrep -v "^\s*1" | awk '{print $2}'); do ls $f-*; done