Coder Social home page Coder Social logo

Comments (3)

mikroskeem avatar mikroskeem commented on May 18, 2024

More details on our environment: Datomic runs on OS X host, Metabase runs inside Docker container (which is hosted by Docker.app). Issue doesn't seem to be in the firewall either, same error message pops up even when it is turned off.

Metabase is run using docker run --rm -ti --name metabase -p 3000:3000 lambdaisland/metabase-datomic

We've made sure that

  • Datomic actually listens on 0.0.0.0 so that containers can access them
  • Datomic can be accessed from Clojure (picking favourite lein project which utilizes Datomic and connecting to the remote database works fine)
  • Datomic server runs on Java 8 (doesn't seem to run on newer versions and breaks silently)

from metabase-datomic.

erikkaplun avatar erikkaplun commented on May 18, 2024

I also tried with non-dockerized Metabase as per the instructions in the README, to no avail, still receiving the same 2 consecutive uninformative DEBUG messages:

12-27 19:52:15 DEBUG middleware.log :: POST /api/setup/validate 400 2.9 ms (0 DB calls) 
{:message "Unable to connect to database."}

12-27 19:52:15 DEBUG middleware.log :: POST /api/setup/validate 400 2.0 ms (0 DB calls) 
{:message "Unable to connect to database."}

from metabase-datomic.

erikkaplun avatar erikkaplun commented on May 18, 2024

Scratch that, with java -jar metabase.jar and the datomic driver appropriately placed, it works. So the issue lies within the dockerized version.

from metabase-datomic.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.