Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

francisdomoney@aol.com avatar image
francisdomoney@aol.com asked ·

Running Graph notebooks returns "Failed to add contact point: host.docker.internal"

I am running on Ubuntu 20.04.

There should be a simple fix. Any ideas.

[EDIT] These are the notebooks from Denise and David's graph course from Github/datastax/graphbook

all seem to give the same fault when I run the from localhost:9091

studio
3 comments
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Hi @francisdomoney@aol.com,

could you add a bit more context? Which graph notebooks are you trying to run? Is this in Desktop?

0 Likes 0 · ·
francisdomoney@aol.com avatar image francisdomoney@aol.com bettina.swynnerton ♦♦ ·

These are the notebooks from Denise and David's graph course from Github/datastax/graphbook

all seem to give the same fault when I run the from localhost:9091

0 Likes 0 · ·

Desktop version Ubuntu 20.04

0 Likes 0 · ·

1 Answer

francisdomoney@aol.com avatar image
francisdomoney@aol.com answered ·

I replaced the name host.docker.internal with the internal ip address obtained from ip a for docker0. Hrad coded but there are warnings that linux doesn't like host.docker.internal though windows does.

3 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Great, thanks for letting us know, and thanks for solving it!

0 Likes 0 · ·

I also had to follow these instructions to get it to work: http://www.luketillman.com/datastax-graph-and-studio-with-docker-compose/

(namely, setting up an external network in docker)


I give more details in the github issue I made before I saw this question.

https://github.com/datastax/graph-book/issues/13

0 Likes 0 · ·

Thanks for sharing. I'm glad you worked it out. Cheers!

0 Likes 0 · ·