This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # admin-announcements (21)
- # announcements (1)
- # beginners (36)
- # boot (48)
- # cider (21)
- # clojure (61)
- # clojure-italy (4)
- # clojure-japan (5)
- # clojure-norway (2)
- # clojure-russia (2)
- # clojure-sg (2)
- # clojure-uk (3)
- # clojurescript (33)
- # core-async (5)
- # core-typed (1)
- # cursive (13)
- # datomic (34)
- # devops (38)
- # editors (24)
- # events (10)
- # ldnclj (14)
- # off-topic (31)
- # onyx (4)
- # re-frame (84)
@a.espolov: I would suggest trying your transaction from the web UI to ensure your data and parameters are correct. Also, errors from the REST service will be in the transactor logs and/or the peer logs
@a.espolov: Finally, for a transaction, you don’t use the :query-params, just the :tx-data map: http://docs.datomic.com/rest.html#transact
@a.espolov: the transactor logs should include additional information about the error. Also, can you build the transaction as a URL-encoded string directly and see if that works (instead of through http-kit)
org.postgresql.util.PSQLException: The server requested password-based authentication, but no password was provided
My URI looks like datomic:<sql://example?jdbc:postgresql://datomic.example.com:5432/datomic?user=datomic&password=datomic>
@lowl4tency: As a first step, I would suggest looking at the output of the Transactor when you start it. It prints the Datomic URI with a placeholder for the database name. Make sure that matches your URL in restore-db.
@lowl4tency: Also, make sure to quote the URI to prevent the shell from interpreting characters like
Either double-quote or single-quote should work in Unix-style shells, double-quote only in Windows.
@lowl4tency: In the
restore-db command, replace
<DB-NAME> in that URI with the name of the (Datomic) database you want to restore into.
@lowl4tency: I don't know the answer to that. I do know that the Transactor's configuration file should have the correct URL to access the SQL database as the
As far as I know, if you can connect to the JDBC URI using Java's JDBC libraries, then Datomic should be able to connect to the same URI.
Just it’s important for me, I’ve got a cname for RDS and if application are not able to use the cname for connect to datomic db is sad