Hi.
On my FESTO controller PLCnext Runtime device, I am trying to setup a connection from my client application to the InfluxDB installed through the runtime. I installed the device through proper steps defined by the installation process as defined by the WBM that FESTO provides. It works fine, I have an ‚influxd‘ process running on my controller.
What I can’t seem to figure out is how I connect/authenticate to it. There is no Influx CLI installed with the extension on the system, so I have to use the api directly to try and get some information out. I tried running the following on the device and I got the following response from the container:
curl -k -X POST https://localhost:58086/api/v2/setup -H „Content-Type: application/json“ -d ‚{ „username“: „admin“, „password“: „password“, „org“: „org“, „bucket“: „bucket“ }‘
{
„code“: „conflict“,
„message“: „onboarding has already been completed“
}
This means that the default configuration has already been completed. I cannot find the default credentials, nor extract the token from the api without the initial token that is provided by the database/initial configuration. Since I am on a device that is headless, I do not have access to InfluxUI on the web, even if I had the credentials. I cannot find them. On this link :
which is the official extension page for InfluxDB, there is no information on what the credentials are. Can you provide them?
Regards.
Did you try contacting the developers of that app using the „Contact“ button on the app page in the PLCnext Store?
Thank you for your answer. I will contact the developers as you suggested.
Regards.