Canner / WrenAI

🚀 Open-source SQL AI Agent for Text-to-SQL. Supporting PostgreSQL, DuckDB, MySQL, MS SQL, ClickHouse, Trino, JSON, CSV, Parquet data sources, ane more! 🚀
https://getwren.ai/oss
GNU Affero General Public License v3.0
1.79k stars 174 forks source link

Port could not be cast to integer value as 'idb' #439

Open MarcosVRSDev opened 3 months ago

MarcosVRSDev commented 3 months ago

Describe the bug Trying to connect an external postgres database and getting the following error: Port could not be cast to integer value as 'idb'

To Reproduce Steps to reproduce the behavior:

  1. Fill all the form informations to connect
  2. Click on next
  3. See error

Expected behavior Connect to the database.

Screenshots On the screenshot, the values XXXX is just for mask, but on the real process was fill the right way.

image

Desktop (please complete the following information):

WrenAI Information

onlyjackfrost commented 3 months ago

@MarcosVRSDev Hi, sorry for the delay. I try to reproduce this issue on my local environment but failed. I'm using mac and my PG server is a containerized local PG server.

Can you provide the logs in the container "wren-ibis-server-1" and "wren-ui-server-1"?

docker logs wrenai-wren-ui-1 >& wren-ui.log && \
docker logs wrenai-ibis-server-1 >& wrenai-ibis-server-1.log