InfluxDB3 Core on Windows11 fails on http://localhost:8181

Hello everyone:

I have installed InfluxDB3 Core (version 3.8.0) on Windows 11. Then, I have created a node stored in a file with influxdb3 serve --node-id host01 --object-store file --data-dir ~/.influxdb3.

I have also created the tokens, and added the token to a environment variable.I have created a database, then a table, then I have added some data and even queried the table from CLI. Everything works fine.

However, if I want to access influxdb using http, it fails. If I open a navigator tab with the IP address http://localhost:8181, I get a {“error”: “the request was not authenticated”}. If try a curl “http://localhost:8181/api/v3/configure/database” --header "Authorization: Bearer MY TOKEN " (with my real token) from CLI, I get a serde error: missing field format error. Finally, if a try from node-red to write data in the database with the influxdb3 node or the influxdb node, I get a Error: connect ECONNREFUSED ::1:8181 error since again cannot connect to the database.

I do not find any information on this topic, and I don’t know what else I could do, I am at my wits end…

Thanks a lot in advance. Best,

Ana+

1 Like

IP address localhost:8181 on the browser won’t show anything as the there is no UI, You need to install UI explorer tool separately using docker. Then you open that on the browser and can easily interact with the database. The configure/database endpoint expects a JSON body, calling it with only a header and no body causes the error. APIs should work, here they are all documented, give it a try and let us know if any other problems.