R
Railway2mo ago
mrxz44

Clickhouse connect timeout

Trying to connect to my freshly deployed clickhouse but no success. I use public HTTP address as host address and username/password from 'variables' of CH instance but it doesn't let me in. Using datagrip and dbeaver to connect. Am I doing something wrong?
13 Replies
Percy
Percy2mo ago
Project ID: a042c04e-919a-4fa1-bd9c-a4a325b895fd
mrxz44
mrxz442mo ago
project ID a042c04e-919a-4fa1-bd9c-a4a325b895fd
mrxz44
mrxz442mo ago
No description
Brody
Brody2mo ago
you need to use port 443 this is an https service
mrxz44
mrxz442mo ago
Tried 443 port, but its 'connection reset' error now
Brody
Brody2mo ago
do you have a PORT variable set to 8123?
mrxz44
mrxz442mo ago
Changed port variable to 443 and redeployed now. Having new error 'Unexpected end of file from server'.
Brody
Brody2mo ago
bruh 8123
mrxz44
mrxz442mo ago
Ok I have PORT variable set to 8123 now. connecting via 443 port - Connection reset error
RONY
RONY2mo ago
I have a similar problem while connecting to a redis database. Tried public and private url both, still can't connect to the db. It was working fine yesterday edit: Internal only
Brody
Brody2mo ago
please create your own thread
mrxz44
mrxz442mo ago
If anyone having same issue, try python clickhouse_connect
client = clickhouse_connect.get_client(host=creds['host'], username=creds['user'], password=creds['password'], port = 443, secure=True)
Hey @Brody anyway is there a solution to establish connection via dbeaver or datagrip?
Brody
Brody2mo ago
you are likely entering the wrong info when attempting to connect
Want results from more Discord servers?
Add your server