-
Hello there, im using CrateDB with docker-compose and i have trouble connecting external clients. The CrateDB-log displays the following message:
My docker-compose.yml looks like this:
I don´t suspect an issue with the docker-network, since the webinterface is reachable and the connection attempt is visible in the CrateDB-logs. With kind regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Dear @Qloppa, thanks for writing in. While I don't know about the background of the specific error you are observing, I want to add some suggestions. According to [1], QuantumLeap already uses CrateDB 4.1.4 so it might be a good idea to follow that already. At [2], @c0c0n3 mentioned that they are already using CrateDB 4.1.8 on production. On the other hand, [3] apparently already is based on CrateDB 4.2.2. In general, we just released CrateDB 4.3.2 including many improvements and stability fixes, so it might also be worth to try that version already. Maybe @chicco785 or @c0c0n3 can add some more thoughts here? With kind regards, [1] https://github.com/smartsdk/ngsi-timeseries-api/blob/0.7.6/docker/docker-compose.yml#L41 P.S.: Apart from my suggestion, I can only find references to |
Beta Was this translation helpful? Give feedback.
-
The issue looks like you are connecting with a client which is using PostgreSQL protocol (e.g. PgAdmin) to the HTTP port of CrateDB. |
Beta Was this translation helpful? Give feedback.
The issue looks like you are connecting with a client which is using PostgreSQL protocol (e.g. PgAdmin) to the HTTP port of CrateDB.
CrateDB listen to PostgreSQL protocol by default on port
5432
which must be then exposed/mapped additionally when using docker.