-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Postgres SSL support missing #347
Comments
Hey! Thanks for reporting. I've added the |
Thank you for patching. I tried with the image plausible/analytics:dev / plausible/analytics@sha256:c52073a862b6b0107d69c4e7de5e2c7f0699626ae95261bd3d6137441328e174. It appears to print the same message |
Thanks for testing. I've managed to reproduce the issue. I've pushed a fix to the |
I think that your changes have helped. kubectl -n plausible logs plausible-594c9cfbd6-4b85g -c plausible-init
Loading plausible..
Starting dependencies..
Starting repos..
create Plausible.Repo database if it doesn't exist
19:10:51.857 [error] Clickhousex.Protocol (#PID<0.244.0>) failed to connect: ** (ErlangError) Erlang error: "Code: 81, e.displayText() = DB::Exception: Database plausible doesn't exist (version 20.9.2.20 (official build))\n"
19:10:51.857 [error] Clickhousex.Protocol (#PID<0.245.0>) failed to connect: ** (ErlangError) Erlang error: "Code: 81, e.displayText() = DB::Exception: Database plausible doesn't exist (version 20.9.2.20 (official build))\n"
19:10:53.704 [error] Clickhousex.Protocol (#PID<0.244.0>) failed to connect: ** (ErlangError) Erlang error: "Code: 81, e.displayText() = DB::Exception: Database plausible doesn't exist (version 20.9.2.20 (official build))\n"
19:10:54.646 [error] Clickhousex.Protocol (#PID<0.245.0>) failed to connect: ** (ErlangError) Erlang error: "Code: 81, e.displayText() = DB::Exception: Database plausible doesn't exist (version 20.9.2.20 (official build))\n"
** (MatchError) no match of right hand side value: {:error, "connection not available and request was dropped from queue after 2990ms. This means requests are coming in and your connection pool cannot serve them fast enough. You can address this by:\n\n 1. By tracking down slow queries and making sure they are running fast enough\n 2. Increasing the pool_size (albeit it increases resource consumption)\n 3. Allow requests to wait longer by increasing :queue_target and :queue_interval\n\nSee DBConnection.start_link/2 for more information\n"}
(plausible 0.0.1) lib/plausible_release.ex:56: anonymous fn/2 in Plausible.Release.createdb/0
(elixir 1.10.3) lib/enum.ex:2111: Enum."-reduce/3-lists^foldl/2-0-"/3
(plausible 0.0.1) lib/plausible_release.ex:55: Plausible.Release.createdb/0
(stdlib 3.12.1) erl_eval.erl:680: :erl_eval.do_apply/6
(elixir 1.10.3) lib/code.ex:341: Code.eval_string_with_error_handling/3
This one's unrelated - it's a Clickhouse error |
Seems like a regular connection error to me. Have you overriden the |
The URL is present in the database. The error isn't occurring anymore for some reason. I'm following https://github.com/plausible/hosting/pull/3/files?short_path=d5864cb#diff-c544d0abe757f0dc4a7b1348011b8d0d to set it up |
Hey @ukutaht, Thank you for your changes. |
@ukutaht, this issue has come to my attention again. Many thanks for implementing the change! 🎉 |
Thanks @BobyMCbobs |
I'm trying to set up Analytics in Kubernetes with a Postgres database that requires SSL support.
I'm getting this error:
It appears that there is a elixir dependency missing for SSL support, from what I take from this error
The text was updated successfully, but these errors were encountered: