R
Railway11mo 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
Percy11mo ago
Project ID: N/A
jajoju
jajoju11mo ago
N/A
root
root11mo ago
Try joining Priority Boarding with the /beta command.
jajoju
jajoju11mo 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
root11mo 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
Brody11mo ago
tcp proxys are definitely not internal only
root
root11mo ago
whoops
Brody
Brody11mo ago
what error do you get back when you try to connect to the postgres database through the tcp proxy?
jajoju
jajoju11mo ago
port 10256 failed: server closed the connection unexpectedly This probably means the server terminated abnormally
jr
jr11mo ago
Can you try redeploying the database after the tcp proxy is setup?
jajoju
jajoju11mo 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
root11mo ago
no problem! glad it's working.