Bug Report
Description
(A clear and concise description of what the bug is.)
Access to memgraphdb that runs inside the container failing.
Steps to reproduce
Install memgraphdb container, pass the bolt-address and see you can access the mgconsole with by docker exec command or connect to memgraphdb from outside of the node.
(Write your steps here:)
Installed, running docker memgraphDB image
- created docker-compose.yml file to start the memgraphdb with entrypoint: [â/usr/lib/memgraph/memgraphâ, ââlog-level=TRACEâ, ââmemory-limit=50â ,ââbolt-address=10.xx.xx.xxxâ]
- started docker using docker-compose up -d
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e54abdf6c623 a3099c4ffebb â/usr/lib/memgraph/mâŚâ 57 minutes ago Up 9 minutes 0.0.0.0:7444->7444/tcp, :::7444->7444/tcp, 0.0.0.0:7687->7687/tcp, :::7687->7687/tcp ssmemgraphdb - see the running process
ps -ef | grep mem
2650167 2650146 1 19:09 ? 00:00:04 /usr/lib/memgraph/memgraph --log-level=TRACE --memory-limit=50 --bolt-address=10.xx.xx.xxx - Yet, not able to access the mgconsole using
docker exec -it --user root ssmemgraphdb mgconsole
Connection failure: couldnât connect to host: Connection refused
If i am not passing --bolt-address i am able to access the mgconsole or run application from different node
Expected behavior
(Write what you thought would happen.)
Actual behavior
If i am not passing bolt address i am able to access the mgconsole using docker exec , but i need my application that are running on different node needs memgraphdb access.
(Write what happened. Add full console log messages and screenshots, if applicable.)
Your environment
TRACE log:
2023-03-15 19:29:40.131] [memgraph_log] [info] Loaded module â/usr/lib/memgraph/query_modules/py_example.pyâ
[2023-03-15 19:29:40.131] [memgraph_log] [info] Loading triggersâŚ
[2023-03-15 19:29:40.131] [memgraph_log] [info] Loading streamsâŚ
[2023-03-15 19:29:40.131] [memgraph_log] [warning] Using non-secure Bolt connection (without SSL). For more details, visit SSL errors | Memgraph Docs.
[2023-03-15 19:29:40.131] [memgraph_log] [error] Cannot bind to socket on endpoint 10.252.7.156:7687. For more details, visit Socket errors | Memgraph Docs.
[2023-03-15 19:29:40.131] [memgraph_log] [error] Listener failed on bind: Cannot assign requested address
[2023-03-15 19:29:40.184] [memgraph_log] [info] WebSocket server is listening on 0.0.0.0:7444
[2023-03-15 19:29:40.184] [memgraph_log] [info] Bolt server is fully armed and operational
[2023-03-15 19:29:40.184] [memgraph_log] [info] Bolt listening on 10.xx.xx.xxx
[2023-03-15 19:29:40.184] [memgraph_log] [error] Listener failed on accept: Invalid argument
- Memgraph version used 2.5.2
- Operating system and version (e.g., Ubuntu 20.04.2 LTS)