You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
Describe the bug
When setting host to point to UNIX socket path it picked up correctly and URI is constructed correctly. However when attempting to connect:
promscale[27837]: level=error ts=2022-12-05T06:30:47.822Z caller=runner.go:127 msg="aborting startup due to error" err="cannot parse postgresql://postgres:@%2Ftmp%2F.s.PGSQL.5432:5432/timescale?application_name=promscale%400.16.0&connect_timeout=60&sslmode=require: failed to parse as URL (parse "postgresql://postgres:@%2Ftmp%2F.s.PGSQL.5432:5432/timescale?application_name=promscale%400.16.0&connect_timeout=60&sslmode=require": invalid URL escape "%2F")"
To Reproduce
Set -db.host to /tmp/.s.PGSQL.5432 (and -db.name).
Expected behavior
Escape patterns accepted. They are used to hide "/" in database name part.
Version
Distribution/OS: FreeBSD STABLE-13.1
Promscale: 0.16.0
--
Might be just required library is not enabling proper UNIX sockets support.
The text was updated successfully, but these errors were encountered:
Describe the bug
When setting host to point to UNIX socket path it picked up correctly and URI is constructed correctly. However when attempting to connect:
promscale[27837]: level=error ts=2022-12-05T06:30:47.822Z caller=runner.go:127 msg="aborting startup due to error" err="cannot parse
postgresql://postgres:@%2Ftmp%2F.s.PGSQL.5432:5432/timescale?application_name=promscale%400.16.0&connect_timeout=60&sslmode=require
: failed to parse as URL (parse "postgresql://postgres:@%2Ftmp%2F.s.PGSQL.5432:5432/timescale?application_name=promscale%400.16.0&connect_timeout=60&sslmode=require": invalid URL escape "%2F")"To Reproduce
Set -db.host to /tmp/.s.PGSQL.5432 (and -db.name).
Expected behavior
Escape patterns accepted. They are used to hide "/" in database name part.
Version
--
Might be just required library is not enabling proper UNIX sockets support.
The text was updated successfully, but these errors were encountered: