Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSSL Error with pgsql-http when running pg_regress #1165

Open
olirice opened this issue Aug 22, 2024 · 0 comments
Open

OpenSSL Error with pgsql-http when running pg_regress #1165

olirice opened this issue Aug 22, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@olirice
Copy link
Contributor

olirice commented Aug 22, 2024

Using pgsql-http's http_<verb> functions in pg_regress tests an OpenSSL exception is thrown

select
  content
from
  http_get (
    'https://postman-echo.com/get?foo1=bar1&foo2=bar2'
  );
ERROR:  OpenSSL/3.0.13: error:16000069:STORE routines::unregistered scheme

Note that this issue is not present when running locally with

nix run .#start-server 15

and

nix run .#start-client 15

It is also not present on the hosted platform.

You can find a reproduction case in https://github.com/supabase/postgres/pull/1164/files

using nix flake check -L to run the tests

Ideally we'd solve this by closing the difference between how pg_regress runs postgres compared to nix run .#start-server 15

@olirice olirice added the bug Something isn't working label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants