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
neo4j.exceptions.ServiceUnavailable: Failed to establish connection to IPv4Address(('0.0.0.0', 7687)) #509
Comments
Hi, it looks like the driver cannot connect to the server. Please make sure, that you start the driver using the server's public IP address. You can probably find the public IP address of your server somewhere in the tencent admin interface/console. |
@anabapy, do yo still need assistance on this one? |
Hi i'm not sure if similar but I'm trying to establish a connection on my local machine from a Jupyter notebook env using the Python driver. Running: It raises the error: Following the instructions here: [https://neo4j.com/developer/kb/resolve-python-bolt-driver-error-connection/] It raises the following error: If I edit the following parameter in config: If you have any suggestions how to connect it would be much appreciated. Let me know if I've missed out some useful information for you. EditAll fixed it was an error my end! - thanks anyways. |
No no, I was a fool and hadn't reconfigured my runtime to be working
locally, it was still running code in a cloud environment. So no wonder I
couldn't connect to my local machine!
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
…On Thu, 22 Apr 2021 at 15:05, Robsdedude ***@***.***> wrote:
Ok, so I will close this now. If the problem persists, feel free to
re-open it, @anabapy <https://github.com/anabapy>
@LordLean <https://github.com/LordLean>, did it have anything to do with
how you used the driver? If so, I'd be interested in hearing what the issue
was. Just in case someone else has a similar problem in the future.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#509 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOI52XBDY2M4474GZQLOZA3TKAULJANCNFSM4YMCWZ7Q>
.
|
At present, the problem found is that the cloud function has insufficient memory. |
hey, I have the same problem, how do you reconfigure my runtime to be working |
If you are running your application inside Docker, it will be in its own virtual LAN. Depending on how you start up your neo4j server, you'll have to make sure it's reachable from within the docker container running your application. Does it work when you start up the application outside docker? Docs that might help you: https://docs.docker.com/network/ |
This is shot in the dark: it seems, you're running this Python notebook on a Google server. So |
what does that mean? it doesn't connect through the URL? why is the data relevant, why it has to run on the same machine as the notebook? |
@ellahn3 your screenshot shows code with the address |
Hi @fbiville, what would be the correct address? I'm having the same issue. |
That depends on where your Neo4j sever is running. It like asking what the right address for a postcard is. That depends on where you want that postcard to be sent to. Or in this case how the Neo4j server is reachable. I know this is probably not very helpful but there is no way to answer this question without knowing how and where exactly you run the Python code and the database server. |
So I'm running my Python code on Google Colab, so using their Google cloud server. I have the Neo4j database stored on my computer, so my issue right now is how to find a way to connect these two. |
That's a somewhat not so easy setup. For this to work, you'd need Google's server running Colab to be able to reach your computer. For security and other reasons, your computer is (most likely) not directly reachable from the internet like Google's servers are. Here are a few ideas that might help you find a solution:
|
There is also an easy solution using port forwarding with ngrok |
Please see the suggestion in this thread, e.g., #509 (comment) and #509 (comment) If that doesn't get you anywhere, consider opening a question on stackoverflow, our community forums https://community.neo4j.com/ or such. This issues tracker is generally not the right place for support unless there's a bug or a suspected bug in the driver involved. |
raise ServiceUnavailable("Failed to establish connection to {!r} (reason {})".format(resolved_address, error))\nneo4j.exceptions.ServiceUnavailable: Failed to establish connection to IPv4Address(('0.0.0.0', 7687)) (reason [Errno 111] Connection refused)","statusCode":430
when is use neo4j4.2.3 on tencent cloud function
use bolt drive find Failed to establish connection to IPv4Address(('0.0.0.0', 7687)
when use 127.0.0.1
Failed to establish connection to IPv4Address(('127.0.0.1', 7687)
why?
how to solve it? thank you!
The text was updated successfully, but these errors were encountered: