Skip to content

Issue with PostgreSQL and Suites module #1435

@woloss

Description

@woloss

Describe the bug

PostgreSQL version - 16.3

Whenever I refresh Gatus frontend, it throws error and suites not showed on root dashboard page:

2025/12/11 03:32:37 [sql.getSuiteResults] Query failed: pq: unexpected Parse response 'C'
2025/12/11 03:32:37 [sql.GetAllSuiteStatuses] Failed to retrieve results for suite_id=1: pq: unexpected Parse response 'C'

Suites watchdog works flawlessly, based on logs.
Prometheus /metrics page shows suite success and if I open /suites/docker_docker-node it works as well. The only issue is with main summary page.

storage.type: "memory" doesn't have such issue. Also, dropped db on pgsql, just in case, didn't help.

What do you see?

No response

What do you expect to see?

No response

List the steps that must be taken to reproduce this issue

No response

Version

5.33.0 (tried on release of suites as well)

Additional information

Config:

storage:
  type: postgres
  path: "postgres://gatus:{{ .gatusdb_password }}@gatusdb-rw.cnpg-system.svc.cluster.local:5432/gatus?sslmode=disable"

suites:
  - name: docker-node
     group: docker
     interval: 2m
     endpoints:
       - name: caddy
          url: https://caddy.example.com
          method: GET
          conditions:
            - "[STATUS] == 200"

       - name: wazuh
          url: https://wazuh.example.com
          method: GET
          conditions:
            - "[STATUS] == 200"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions