Panic on Startup: Nil Pointer Dereference in InfluxDB Client Initialization #214
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Milestone
Description: Encountered a runtime panic during the startup of the OpenKF server component, specifically a
nil pointer dereference
error in the InfluxDB client initialization.Steps to Reproduce:
Expected Behavior: The OpenKF server should start without errors and begin normal operation.
Actual Behavior: The server crashes immediately after starting, with a panic related to the InfluxDB client.
Environment:
Logs/Screenshots:
Additional Information:
InitInfluxDB()
function, with anil pointer dereference
innet/url.(*URL).ResolveReference
.nil
or malformed.Suspected Cause: There might be an issue with how the InfluxDB URL is being parsed or initialized in
openkf-server/internal/conn/db/influxdb.go
.Possible Solutions:
The text was updated successfully, but these errors were encountered: