Unable to Reach Back-end

No description
21 Replies
Prastoin
Prastoin4d ago
Hello, self host or cloud ? What Twenty's version Pleae provide more information regarding your issue
jose gabriel
jose gabrielOP4d ago
I'm using it in docker I'm using the latest version and I connected to my dB. I've already checked the connections and even the bank scheme was created
Prastoin
Prastoin3d ago
Db up does not mean server is Please check your twenty-server logs Try hitting your twenty-server directly, browser headless Also you should access the app from localhost:3000 Nothing wrong here Removed your comment as leaked few secrets and personal info
jose gabriel
jose gabrielOP3d ago
There was no personal information, and I had already removed it. So what is the error then?
Prastoin
Prastoin3d ago
Db user and password in pg database url How do you try accessing the client
jose gabriel
jose gabrielOP3d ago
The password had been changed haha, and it was the old one. I’m trying to access it via the VPS IP and port 3000
jose gabriel
jose gabrielOP3d ago
No description
jose gabriel
jose gabrielOP3d ago
I believe that this is the error here @prastoin
Prastoin
Prastoin2d ago
Indeed this log is not normal, for some reason docker-data volumes does not seem to be mounted Are you able to directly hit/reach your api through its exposed url ?
jose gabriel
jose gabrielOP2d ago
no, I'm accessing via ip:port
Prastoin
Prastoin2d ago
Please share req result
jose gabriel
jose gabrielOP2d ago
I didn't understand
Prastoin
Prastoin2d ago
Please try making a request to your server directly using its exposition url, then share the response The idea here is to scope what service is having issue You can use you browser or tools such as postman etc
jose gabriel
jose gabrielOP2d ago
Twenty
A modern open-source CRM
jose gabriel
jose gabrielOP2d ago
No description
jose gabriel
jose gabrielOP21h ago
No description
Prastoin
Prastoin21h ago
Just look at your client configuration
jose gabriel
jose gabrielOP21h ago
What do you mean exactly? In what sense should I check the client configuration?
Prastoin
Prastoin21h ago
Client is rendered by the back When you do /grapqhl you directly hit the api -> it's UP When you go to /welcome you can see the client tries to hit localhost
jose gabriel
jose gabrielOP19h ago
How can I resolve the issue of the client trying to hit localhost when accessing /welcome instead of the correct API endpoint?

Did you find this page helpful?