R
Railway10mo ago
jajoju

Error adding TCP proxy - Not Authorized

Hello I deployed a service based on a docker image, in order to connect to the service I try to set the proxy in the port 8000, but I get this error Error adding TCP proxy Not Authorized I am not sure why I am getting this erro my account is Hobby. THanks
12 Replies
Percy
Percy10mo ago
Project ID: N/A
jajoju
jajoju10mo ago
N/A
root
root10mo ago
Try joining Priority Boarding with the /beta command.
jajoju
jajoju10mo ago
that worked but i cannot to connect to the postgres service over the proxy test.proxy.rlwy.net.:10256 -> 5432 psql -h test.proxy.rlwy.net -p 10256
root
root10mo ago
Hmm. I'm not sure, but I think TCP proxies might (?) be internal-only - can you connect to it from another service in the same project?
Brody
Brody10mo ago
tcp proxys are definitely not internal only
root
root10mo ago
whoops
Brody
Brody10mo ago
what error do you get back when you try to connect to the postgres database through the tcp proxy?
jajoju
jajoju10mo ago
port 10256 failed: server closed the connection unexpectedly This probably means the server terminated abnormally
jr
jr10mo ago
Can you try redeploying the database after the tcp proxy is setup?
jajoju
jajoju10mo ago
Finnaly I use a template of pgvector and worked, probably there was any env var that I not set correctly, thanks both for your help.
root
root10mo ago
no problem! glad it's working.