Colibri 404 error

Hello,

On a new instance of Ubuntu 22.04, I followed the self-hosting instructions here:
https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-quickstart/

Then I followed the Grafana instructions here:
https://community.jitsi.org/t/how-to-to-setup-grafana-dashboards-to-monitor-jitsi-my-comprehensive-tutorial-for-the-beginner/38696

When I did this on a previous instance, curl -v http://127.0.0.1:8080/colibri/stats worked as expected. However the current instance returns:

*   Trying 127.0.0.1:8080...
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
> GET /colibri/stats HTTP/1.1
> Host: 127.0.0.1:8080
> User-Agent: curl/7.81.0
> Accept: */*
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Cache-Control: must-revalidate,no-cache,no-store
< Content-Type: text/html;charset=iso-8859-1
< Content-Length: 501
< Server: Jetty(11.0.10)
< 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404 Not Found</h2>
<table>
<tr><th>URI:</th><td>/colibri/stats</td></tr>
<tr><th>STATUS:</th><td>404</td></tr>
<tr><th>MESSAGE:</th><td>Not Found</td></tr>
<tr><th>SERVLET:</th><td>org.glassfish.jersey.servlet.ServletContainer-5f14a673</td></tr>
</table>
<hr/><a href="https://eclipse.org/jetty">Powered by Jetty:// 11.0.10</a><hr/>

</body>
</html>
* Connection #0 to host 127.0.0.1 left intact

Any pointers on how to fix this would be appreciated.

My /etc/jitsi/videobridge/jvb.conf

videobridge {
    http-servers {
        public {
            port = 9090
        }
    }
    websockets {
        enabled = true
        domain = "jitsi.mydomain.corp:443"
        tls = true
    }
    apis: {
      rest: {
        enabled: true
      }
    }
    ice: {
      udp: {
        port: 10000
      }
    }
}

Thanks, the apis block got curl to work. (What is the ice block for?)

Follow-up question: On another machine, X.X.X.X:3000 successfully opens Grafana, and I was able to add an InfluxDB data source with HTTP URL http://localhost:8086 and database jitsi. Saving & testing returns “datasource is working. 0 measurements found”. Why are there no measurements?

When I open an Influx terminal, show databases includes jitsi. After use jitsi, show measurements returns nothing. I thought Telegraf would create a measurement.

I use it to customize UDP port which is UDP/10000 by default. Not related with API…

I figured. Also, I was able to get Grafana working: In /etc/telegraf/telegraf.d/jitsi.conf, the input URL must be localhost and not the public IP address. Then Telegraf does create measurement jitsi_stats.