Skip to content

[BUG] "Invalid database configuration, will not attempt reconnection" error after DB maintenance #427

@kirxcore

Description

@kirxcore

Description

I have several DBs. When some of the DBs are on maintenance, there are ORA-errors and its OK. But when maintenance ends and Exporter is expected to open connection to DB - i get an error - time=2025-12-14T23:20:33.157Z level=WARN source=collector.go:240 msg="Invalid database configuration, will not attempt reconnection" database=DB_NAME
This error goes all along until I restart service in my Docker Swarm without any changes in configuration. After restart connection establishes properly.
A bit of logs are attached. Thanks in advance!

Steps to Reproduce

  1. Start Exporter
  2. Shut DB down
  3. Start DB after maintenance

Expected Behavior

Exporter establishes the connection to DB

Actual Behavior

Connection doesn't establish, getting error time=2025-12-14T23:20:33.157Z level=WARN source=collector.go:240 msg="Invalid database configuration, will not attempt reconnection" database=DB_NAME

Environment

  • Docker Swarm
  • Exporter version: 2.2.0 with go-ora driver

Screenshots / Logs

attached logs

logs_ghub.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions