You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am deploying WrenAI using Docker Compose with the latest versions of the components.
When I change the WREN_ENGINE_PORT in the .env file to 8082 (because port 8080 is occupied by another container), the wren-engine-ibis container fails to connect to the Java Engine. The error message is:
Can not connect to Java Engine: All connection attempts failed
This occurs for any request, such as clicking the "What could I ask?" button. No threads are created, and suggestions are not loaded.
To Reproduce
Set WREN_ENGINE_PORT=8082 in the .env file.
Run docker-compose command (docker-compose --env-file .env up -d) to start the containers.
Attempt to interact with the UI e.g., click "What could I ask?").
Observe the error in the wren-engine-ibis logs.
Expected behavior
The wren-engine-ibis container should connect to the Java Engine on the specified port (8082 in this case).
Possible Cause
It seems that the wren-engine-ibis container has the port 8080 hardcoded somewhere in the code or configuration, without referencing the WREN_ENGINE_PORT variable from the .env file.
Everything works fine if you leave the default configuration "WREN_ENGINE_PORT=8080".
Wren AI Information
WREN_PRODUCT_VERSION=0.15.3
WREN_ENGINE_VERSION=0.14.3
WREN_AI_SERVICE_VERSION=0.15.17
IBIS_SERVER_VERSION=0.14.3
WREN_UI_VERSION=0.20.1
Additional context
Unfortunately, I cannot provide logs or screenshots, but the problem is straightforward to replicate.
If the ability to customize container ports is desired, I suggest addressing this issue to improve flexibility in deployment scenarios.
The text was updated successfully, but these errors were encountered:
HI @ruschestor, we don't provide WREN_ENGINE_PORT env now. Instead, you can add a property in etc/config.properties to change the port of the wren engine server.
http-server.http.port=8082
Wren engine is powered by airlift. You can find some HTTP server configurations here.
Describe the bug
I am deploying WrenAI using Docker Compose with the latest versions of the components.
When I change the WREN_ENGINE_PORT in the .env file to 8082 (because port 8080 is occupied by another container), the wren-engine-ibis container fails to connect to the Java Engine. The error message is:
This occurs for any request, such as clicking the "What could I ask?" button. No threads are created, and suggestions are not loaded.
To Reproduce
Expected behavior
The wren-engine-ibis container should connect to the Java Engine on the specified port (8082 in this case).
Possible Cause
It seems that the wren-engine-ibis container has the port 8080 hardcoded somewhere in the code or configuration, without referencing the WREN_ENGINE_PORT variable from the .env file.
Everything works fine if you leave the default configuration "WREN_ENGINE_PORT=8080".
Wren AI Information
Additional context
Unfortunately, I cannot provide logs or screenshots, but the problem is straightforward to replicate.
If the ability to customize container ports is desired, I suggest addressing this issue to improve flexibility in deployment scenarios.
The text was updated successfully, but these errors were encountered: