Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

datomic pro unsupported protocol issue #5

Open
lenw opened this issue Jun 21, 2019 · 1 comment
Open

datomic pro unsupported protocol issue #5

lenw opened this issue Jun 21, 2019 · 1 comment

Comments

@lenw
Copy link

lenw commented Jun 21, 2019

I have the datomic pro version building from source with no issues however when I try to connect to a url like

datomic:sql://test?jdbc:postgresql://db.example.com:5432/datomic?user=datomic&password=datomic

or

datomic:dev://localhost:4334/test

I get an exception trying to connect

:cause :db.error/unsupported-protocol Unsupported protocol :sql

I assume that the classes are not loaded correctly at the time of connect - any ideas on how to proceed ?

@BenjaminZBrauer
Copy link

BenjaminZBrauer commented Aug 28, 2019

We meet again. Such Empty! Did you find a solution? Best :)
Edit
I found success with the below combination of addition deps in my project :
[com.datomic/client-pro "0.8.28"]
[luminus-immutant "0.2.5"]
[ring/ring-core "1.7.1"]]
connecting to a dev backed db with (d/connect (d/client cfg) {:db-name dbname}), supplying accesskey and secretkey.. 👍 Happy hunting!

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

No branches or pull requests

2 participants