Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lookup of available InfluxDB databases even if InfluxDB is disabled in config file #931

Closed
mountaindude opened this issue Oct 22, 2024 · 1 comment · Fixed by #928 · May be fixed by #936
Closed

Lookup of available InfluxDB databases even if InfluxDB is disabled in config file #931

mountaindude opened this issue Oct 22, 2024 · 1 comment · Fixed by #928 · May be fixed by #936
Labels

Comments

@mountaindude
Copy link
Collaborator

mountaindude commented Oct 22, 2024

What version of Butler SOS are you using?

11.0.2

What version of Node.js are you using? Not applicable if you use the standalone version of Butler SOS.

No response

What command did you use to start Butler SOS?

What operating system are you using?

What CPU architecture are you using?

What Qlik Sense versions are you using?

Describe the Bug

Butler SOS tries to connect to InfluxDB to get a list of available databases even if Butler-SOS.influxdbConfig.enable is set to false.

CONFIG: Error getting list of InfluxDB v1 databases. Error: getaddrinfo ENOTFOUND 10.11.12.13

Expected Behavior

  • If master InfluxDB switch is disabled in config file, no calls to InfluxDB should be made.
  • It should be clear in the console log that InfluxDB is disabled.

To Reproduce

No response

@mountaindude
Copy link
Collaborator Author

  • Set Butler-SOS.influxdbConfig.enable to false and Butler-SOS-host to an IP where there is no InfluxDB.
  • Start Butler SOS. Outcome as below. There are attempts to writing to InfluxDB.
2024-10-23T06:14:56.031Z error: EVENT COUNT INFLUXDB: Error saving data to InfluxDB v1! TypeError: Cannot read properties of undefined (reading 'writePoints')
2024-10-23T06:14:56.032Z error: REJECT LOG EVENT INFLUXDB: Error saving data to InfluxDB v1! TypeError: Cannot read properties of undefined (reading 'writePoints')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant