question

francisdomoney@aol.com avatar image
francisdomoney@aol.com asked Erick Ramirez commented

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

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

bettina.swynnerton avatar image bettina.swynnerton ♦♦ commented ·

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 ♦♦ commented ·

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 ·
francisdomoney@aol.com avatar image francisdomoney@aol.com francisdomoney@aol.com commented ·

Desktop version Ubuntu 20.04

0 Likes 0 ·

1 Answer

francisdomoney@aol.com avatar image
francisdomoney@aol.com answered Erick Ramirez commented

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

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

bettina.swynnerton avatar image bettina.swynnerton ♦♦ commented ·

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

0 Likes 0 ·
Ryan Quey avatar image Ryan Quey commented ·

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 ·
Erick Ramirez avatar image Erick Ramirez ♦♦ Ryan Quey commented ·

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

0 Likes 0 ·