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

Support Postgres SSL Encryption by mergestat worker #1147

Open
dmatviichuk opened this issue Dec 14, 2023 · 0 comments
Open

Support Postgres SSL Encryption by mergestat worker #1147

dmatviichuk opened this issue Dec 14, 2023 · 0 comments

Comments

@dmatviichuk
Copy link

Support Postgres SSL Encryption by mergestat worker:

12/14/2023 16:31:11 DEBUG: running sync 2580201f-d6e2-4e9f-abac-782235eab482 12/14/2023 16:31:11 INFO: pulling image docker://ghcr.io/mergestat/sync-github-repo-info:latest 12/14/2023 16:31:11 INFO: running image docker://ghcr.io/mergestat/sync-github-repo-info:latest 12/14/2023 16:31:11 DEBUG: �[0m�[32mDownload�[0m https://esm.sh/v124/@octokit/request-error@4.0.0/dist-types/index.d.ts 12/14/2023 16:31:16 DEBUG: Sending fatal alert BadCertificate 12/14/2023 16:31:16 DEBUG: �[1m�[33mTLS connection failed with message: �[39m�[22minvalid peer certificate contents: invalid peer certificate: UnknownIssuer 12/14/2023 16:31:16 DEBUG: �[1mDefaulting to non-encrypted connection�[22m 12/14/2023 16:31:16 DEBUG: �[0m�[1m�[31merror�[0m: Uncaught PostgresError: no pg_hba.conf entry for host "10.120.209.200", user "postgres", database "mergestat", no encryption 12/14/2023 16:31:16 DEBUG: throw new PostgresError(parseNoticeMessage(msg)); 12/14/2023 16:31:16 DEBUG: �[0m�[31m ^�[0m 12/14/2023 16:31:16 DEBUG: at �[0m�[1m�[3massertSuccessfulStartup�[0m (�[0m�[36mhttps://deno.land/x/postgres@v0.17.0/connection/connection.ts�[0m:�[0m�[33m80�[0m:�[0m�[33m13�[0m) 12/14/2023 16:31:16 DEBUG: at �[0m�[1m�[3mConnection.#startup�[0m (�[0m�[36mhttps://deno.land/x/postgres@v0.17.0/connection/connection.ts�[0m:�[0m�[33m411�[0m:�[0m�[33m7�[0m) 12/14/2023 16:31:16 DEBUG: at async �[0m�[1m�[3mConnection.startup�[0m (�[0m�[36mhttps://deno.land/x/postgres@v0.17.0/connection/connection.ts�[0m:�[0m�[33m491�[0m:�[0m�[33m11�[0m) 12/14/2023 16:31:16 DEBUG: at async �[0m�[1m�[3mClient.connect�[0m (�[0m�[36mhttps://deno.land/x/postgres@v0.17.0/client.ts�[0m:�[0m�[33m220�[0m:�[0m�[33m7�[0m) 12/14/2023 16:31:16 DEBUG: at async �[0m�[36mfile:///app/main.ts�[0m:�[0m�[33m77�[0m:�[0m�[33m1�[0m 12/14/2023 16:31:36 DEBUG: time="2023-12-14T15:31:34Z" level=error msg="Removing container 1737d3c2de4b0a7bc8df7e8351ad7484d132ca93c0d1456842164b44607c843e: cannot remove container 1737d3c2de4b0a7bc8df7e8351ad7484d132ca93c0d1456842164b44607c843e as it is running - running or paused containers cannot be removed without force: container state improper" 12/14/2023 16:31:36 ERROR: failed to run image: exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant