Curl + jq problem(s)

when I try:
curl localhost:8080/colibri/stats | jq

the following happens on different jvb-machines (videobridges installed the same way, all machines are the same):
Most server show the correct output.
Some server show html-code


and some server showthe error: parse error: Invalid numeric literal at line 2, column 0

I don’t know why this happens because alle machines are configured really the same.


Not related with jq. Check the raw curl output and why colibri is not working correctly.
There may be different service on 8080

How do I check the raw curl output?

I mean “use curl without piping to jq”. Only this:

curl localhost:8080/colibri/stats

[quote=“emrah, post:4, topic:91229”]
curl localhost:8080/colibri/stats

Error 404 Not Found

HTTP ERROR 404 Not Found

URI: /colibri/stats
MESSAGE: Not Found
SERVLET: org.glassfish.jersey.servlet.ServletContainer-4f5991f6

Powered by Jetty:// 9.4.35.v20201120

All problems solved:

  1. I forgot in 2 bridges to add rest,xmpp in /etc/jitsi/videobridge/config
  2. On one machine jq was installed as snap and the path was missing

Thank you for your help


I am facing the same issue. Can you please let me know what to change in config?