This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
@a.espolov: you have the sql service and the transactor running, i assume?
i recommend looking at the docs to see how the rest service is logged and then review those logs
bin/logback.xml has a bunch of commented out loggers you can turn on, maybe one is for REST service
@a.espolov: psql isn’t getting your password. sorry. @bkamphaus can help you tomorrow, i think
@robert-stuttaford: bin/transcator datomic:sql://{db-name}?{jdbc-url} it's working
@a.espolov: does the rest command work if you wrap the jdbc url in quotes or escape any characters that may need it?
I’m assuming in this case the transactor URL is specified by base + user + password, i.e.
sql-url=jdbc:
sql-user=datomic
sql-password=datomic
I believe sql passwords may also have to be url encoded i.e. if there’s a %
, %25
@bkamphaus: It is not difficult to show the full startup command datomic rest service using sql as storage?
In general, most likely culprit for this error is that the creds are missing, or somehow malformed in how the jdbc url is being supplied to bin/rest
@bkamphaus bin/rest -p 8001 sql datomic:sql://?jdbc:<postgresql://localhost:5432/datomic?user=datomic&password=datomic>
bin/rest -p 8001 sql "datomic:sql://?jdbc:<postgresql://localhost:5432/datomic?user=datomic&password=datomic>"
just tested and this works for me
@bkamphaus: thx sir
loving the reverse lookup capabilities of Datomic, I was able to make a basic entity browser in a weekend:
being able to answer “what is everything that relates to x?” is really powerful.