This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-28
Channels
- # announcements (3)
- # babashka (36)
- # beginners (77)
- # boot (3)
- # chlorine-clover (10)
- # cider (27)
- # clj-kondo (1)
- # cljs-dev (4)
- # clojure (256)
- # clojure-belgium (1)
- # clojure-europe (9)
- # clojure-uk (18)
- # clojuredesign-podcast (9)
- # clojurescript (54)
- # cryogen (8)
- # cursive (3)
- # data-science (1)
- # datomic (2)
- # duct (31)
- # events (1)
- # exercism (3)
- # fulcro (116)
- # joker (20)
- # kaocha (5)
- # meander (2)
- # nrepl (4)
- # off-topic (10)
- # other-languages (15)
- # re-frame (18)
- # reagent (4)
- # shadow-cljs (44)
- # sql (14)
- # tools-deps (17)
Hi everyone! So I'm starting out with datomic and I have already successfully connected datomic-console to a local datomic-transactor instance, but for a remote one (that uses digitalocean droplet for the transactor & heroku-postgres for storage) I'm having a hardtime, I have tried the following commands:
bin/console -p 9000 sql datomic:sql://?jdbc:postgresql://<heroku-postgres-host>:5432/<heroku-postgres-db>?user=<postgres-user>&password=<postgres-password>&ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory
bin/console -p 9000 sql datomic:sql://?jdbc:postgresql://<heroku-postgres-host>:5432/<heroku-postgres-db>?user=<postgres-user>&password=<postgres-password>
For both when I open datomic-console, it shows the following error msg:
FATAL: no pg_hba.conf entry for host <my-ip-address>, user <heroku-postgres-user>, database <heroku-postgres-password>, SSL off trying to connect to datomic:sql://?jdbc:postgresql://<heroku-postgres-host>:5432/<heroku-postgres-db>?user=<postgres-user-name>, make sure transactor is running
Using the URI in the first command I was able to create a database from the repl, so I can confirm that the transactor is working.
So, does anyone know what I'm still missing here? Would appreciate any help, thanks!