Not able to connect to upstash kafka cluster via Railway, although its a public cluster

I have configured the ENV variables correctly, still there is issue
{"level":"ERROR","timestamp":"2023-07-30T11:20:13.758Z","logger":"kafkajs","message":"[Connection] Connection timeout","broker":"saved-snapper-13238-us1-kafka.upstash.io:9092","clientId":"kafkajs"}
{"level":"ERROR","timestamp":"2023-07-30T11:20:13.758Z","logger":"kafkajs","message":"[Connection] Connection timeout","broker":"saved-snapper-13238-us1-kafka.upstash.io:9092","clientId":"kafkajs"}
Works perfectly ffine locally, please help
10 Replies
Percy
Percy17mo ago
Project ID: d66e88cb-8aab-449e-a6ed-ad582fb525c4
Abhinav Raj
Abhinav RajOP17mo ago
d66e88cb-8aab-449e-a6ed-ad582fb525c4 Works perfectly ffine locally
Fragly
Fragly17mo ago
what's your connection timeout, have you tried increasing it?
Abhinav Raj
Abhinav RajOP16mo ago
Yes, I did yried increasing it Its now set to 5 seconds
Brody
Brody16mo ago
do you happen to have private networking enabled
Fragly
Fragly16mo ago
i once had one of my dbs on 30 seconds
Abhinav Raj
Abhinav RajOP16mo ago
Should I then try increasing the connection timeout @fragly @Brody ?
Brody
Brody16mo ago
??
Fragly
Fragly16mo ago
Couldn't hurt to try but do you happen to have private networking enabled?
Want results from more Discord servers?
Add your server