Skip to content
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

Got error when deploying to wren AI . Error: connect ECONNREFUSED 172.18.0.3:5555(when use deepseek) #1334

Open
loveloveme opened this issue Feb 25, 2025 · 1 comment

Comments

@loveloveme
Copy link

loveloveme commented Feb 25, 2025

When I click the deploy button on the modeling interface, the log error is as follows:
2025-02-25 13:50:39 [2025-02-25T05:50:39.203] [DEBUG] DeployService - Deploying model, hash: ab4aed8a63923fdcd29655edc468f35d6fafe7ec
2025-02-25 13:50:39 [2025-02-25T05:50:39.295] [DEBUG] WrenAIAdaptor - Got error when deploying to wren AI, hash: ab4aed8a63923fdcd29655edc468f35d6fafe7ec. Error: connect ECONNREFUSED 172.18.0.3:5555
2025-02-25 13:50:39 [2025-02-25T05:50:39.376] [INFO] WrenAIAdaptor - Wren AI: Generating recommendation questions
2025-02-25 13:50:39 [2025-02-25T05:50:39.384] [DEBUG] WrenAIAdaptor - Got error when generating recommendation questions: connect ECONNREFUSED 172.18.0.3:5555

I am using the deepseek large language model. The config.yaml content is copied from https://github.com/Canner/WrenAI/blob/main/wren-ai-service/docs/config_examples/config.deepseek.yaml without modification.

and .env files are as follows:
`COMPOSE_PROJECT_NAME=wrenai
PLATFORM=linux/amd64

PROJECT_DIR=.

WREN_ENGINE_PORT=8080
WREN_ENGINE_SQL_PORT=7432
WREN_AI_SERVICE_PORT=5555
WREN_UI_PORT=3000
IBIS_SERVER_PORT=8000
WREN_UI_ENDPOINT=http://wren-ui:${WREN_UI_PORT}

QDRANT_HOST=qdrant
SHOULD_FORCE_DEPLOY=1

LLM_OPENAI_API_KEY=
EMBEDDER_OPENAI_API_KEY=
LLM_AZURE_OPENAI_API_KEY=
EMBEDDER_AZURE_OPENAI_API_KEY=
QDRANT_API_KEY=
DEEPSEEK_API_KEY={my deepseek api-key}

WREN_PRODUCT_VERSION=0.15.3
WREN_ENGINE_VERSION=0.13.1
WREN_AI_SERVICE_VERSION=0.15.7
IBIS_SERVER_VERSION=0.13.1
WREN_UI_VERSION=0.20.1
WREN_BOOTSTRAP_VERSION=0.1.5

USER_UUID=

POSTHOG_API_KEY=phc_nhF32aj4xHXOZb0oqr2cn4Oy9uiWzz6CCP4KZmRq9aE
POSTHOG_HOST=https://app.posthog.com
TELEMETRY_ENABLED=true

GENERATION_MODEL=gpt-4o-mini
LANGFUSE_SECRET_KEY=
LANGFUSE_PUBLIC_KEY=

HOST_PORT=3000
AI_SERVICE_FORWARD_PORT=5555

EXPERIMENTAL_ENGINE_RUST_VERSION=false
`
I hope to get your answers, thank you.

@loveloveme loveloveme changed the title Got error when deploying to wren AI . Error: connect ECONNREFUSED 172.18.0.3:5555 Got error when deploying to wren AI . Error: connect ECONNREFUSED 172.18.0.3:5555(when use deepseek) Feb 25, 2025
@jos666
Copy link

jos666 commented Feb 26, 2025

docker logs wrenai-wren-ai-service-1 > /tmp/wrenai-wren-ai-service.log 

upload /tmp/wrenai-wren-ai-service.log to here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants