Comments (7)
I just tried by recreating containers, and I can connect with the same .env
as you.
Did you try to --force-recreate
, maybe your database wasn't initialized with the proper credentials ?
from genai-stack.
Please see if this is the same problem you are facing.
You could also provide your error messages.
from genai-stack.
I am not sure if tis is the same problem, but I am trying to connect to the app from another host on the same network.
So I need all the listeners exposed to 0.0.0.0 and not 127.0.0.1.
When I use local neo4j DB I can connect from the same host I run my containers on to 127.0.0.1:7474 with curl and I get:
{
"bolt_routing" : "neo4j://127.0.0.1:7687",
"transaction" : "http://127.0.0.1:7474/db/{databaseName}/tx",
"bolt_direct" : "bolt://127.0.0.1:7687",
"neo4j_version" : "5.11.0",
"neo4j_edition" : "community"
- Connection #0 to host 127.0.0.1 left intact
but when I connect to the IP of the same host from local network, my connection times-out at some point.
The connection is not reset, but just times out, so this proves that my docker is actually listening on 0.0.0.0 and the netstat proves this:
tcp 0 0 0.0.0.0:7474 0.0.0.0:* LISTEN 21438/docker-proxy
so this means that the problem is in the neo4j docker which does not know how to respond (route) to requests from external IPs.
Is there an easy solution to this ?
The suggestions from Issue 83 did not change the situation for me.
from genai-stack.
When using the port mapping in docker-compose.yml, Docker should automatically open ports to the service on your machine unless you have blocked or have a firewall that block this behavior.
Can you access 0.0.0.0:7474
and <local-ip>:7474
on the host?
from genai-stack.
Yes, just checked.
both 0.0.0.0 and 192.168.1.77 work just fine if connection initiates from the host where the docker runs.
It looks to me like a routing problem in the docker that listens on 7474.
It probably does not have default gateway set so does not know how to respond to connections with src IP being within any other network than own or docker host's
from genai-stack.
Can you ping your docker host from the other device on the same network? Do you have any kind of firewall that could block the access?
from genai-stack.
No, access to docker host is unlimited. No firewall used
from genai-stack.
Related Issues (20)
- Steamlit Text Box Covered by "Select RAG mode" HOT 4
- I'm unable to use the pdf_bot using AWS claudev2
- llama3: HOT 3
- Error: pull model manifest: ssh: no key found - Cannot pull model from within containerized Ollama instance HOT 1
- Error: Head "http://host.docker.internal:11434/": dial tcp 192.168.178.36:11434: i/o timeout -> pull-model-1 exited with code 1 HOT 1
- Version Update needed: ValueError: alternative_import must be a fully qualified module path
- pull-model Warning
- service "pull-model" didn't complete successfully: exit 1
- ERROR [genai-stack-api internal] load metadata for docker.io/langchain/langchain:latest
- Docker stuck at creating container HOT 1
- ERROR invalid setting OLLAMA_MODELS="" error="$HOME is not defined"
- Build failure on genai-stack-api-1 container HOT 2
- pull-model-1 | ERROR invalid setting OLLAMA_MODELS="" error="$HOME is not defined" HOT 1
- Some issue about qa RAG chain design HOT 1
- LangChainDeprecationWarning: The class `HuggingFaceEmbeddings` was deprecated in LangChain 0.2.2
- load_embedding_model関数をOpenAIの埋め込みモデルを使用するように変更する
- error running docker compose on linux HOT 12
- pulling ollama model llama2 using http://host.docker.internal:11434 pull-model-1 panic: $HOME is not defined HOT 6
- How should I name the env file? HOT 1
- container genai-stack-api-1 is unhealthy. but no error log.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from genai-stack.