Skip to content

Critical: API service fails with "unsupported URL scheme: postgresql" #838

Closed

Description

@Ankitd013

The API service fails to start when configured with a PostgreSQL database. The application returns a critical error indicating that the underlying database driver only supports libsql, file, http/s, or ws/s schemes.

Error Logs:
severity=CRITICAL pid=1 service.name=*di.Container error=unsupported URL scheme: postgresql
This driver supports only URLs that start with libsql://, file://, https://, http://, wss:// and ws://

Environment:
Database: PostgreSQL 18.3 (Docker)
API Connection String: postgresql://dbusername:dbpassword@postgres:5432/httpsms

Steps to Reproduce:
Configure the API service to connect to an external PostgreSQL instance.
Start the service.
The container crashes immediately with the "unsupported URL scheme" error.

Activity

  1. AchoArnold commented on Mar 22, 2026

    @AchoArnold
    Member

    Thanks For the bug report @Ankitd013 The issue has been fixed in my latest commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions