-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auth problem with Neo4j in Docker container #70
Comments
Hi! Have you tried connecting to http://localhost:7474 with your web browser and entering your user name and password on the UI there to check that they had been correctly set? |
Hi! I did yesterday and was able to connect via my browser (Firefox). But when I check now (both in Firefox and Chrome with emptied cache and
Strangely, I also get the error after stopping, removing the What am I doing wrong? |
Ah, found the reason why I couldn't connect via the browser: yesterday while troubleshooting, I took out the second port forwarding When I bring it back, start the container with However, when I use that very password in |
Hi @rappster, I think the problem comes from the fact that with you're running the newest version of Neo4J (version 4), while neo4r only works with Neo4J version 3. > library(neo4r)
> con <- neo4j_api$new(
+ url = "http://localhost:7474",
+ user = "neo4j",
+ password = "12345"
+ )
> con$ping()
[1] 200
> |
@fBedecarrats thanks a lot, works like a charm with Are you planning on making |
As far as I know it's only the |
@ColinFay yeb, I can confirm that. Just checked again with the latest Neo4j version and a Thanks for looking into this |
Hi ! I am having an issue falling under the scope of the name of this issue. ( EDIT: this might also suit in #64 ) I create a shiny container on a side, and a neo4j container one one other side. Launching both containers is ok, connecting to both the shiny app and neo4j browser from the host is ok, but having the shiny app connecting to the neo4j DB is not working properly. I made it work in local. I would have expected my shiny app to connect by the docker network. I set up the connection as follow:
but get this error:
However, using the same id/pw in the neo4j browser results in a valid connection. I am not proficient with docker, so I might have forgotten something. Please find attached my docker-compose file. docker-compose.yml
|
My problem is solved (but sorry, could not show the whole repo since it is private) |
Hi Colin,
first of: thanks you and your team so much for
neo4r
and all your other packages - highly appreciated!I just wanted to take
neo4r
for a spin, but somehow I can't connect to the Neo4j server running in a docker container.First try
Keeping the defaults for username (
neo4j
) and password (neo4j
)Docker:
Reprex:
Second try
Providing/setting explicit
username/password
via environment variableDocker:
Reprex:
Session info
The text was updated successfully, but these errors were encountered: