New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment Issue connecting to redis one-click-app #1941
Comments
What's the output of Can you try shelling into your app container and just run |
First thanks for the fast answer, I'm having a great experience with Caprover and this just made it even better.
Ps: In my first post I've used |
Thanks! Now try doing Just to confirm, you're running this from inside |
The output now is
Yes, inside |
Okay, that's great! So based on the output, it looks like the hostname There are many reasons why from inside your code it's not resolved properly. But whatever it is, the reason lies within your application. Next step for you should be to try running bash command from your code to see you're getting the IP address resolved. If that works, I suggest post your question to StackOverflow. It might have something to do with the library / framework you're using. |
Alright thanks a lot, I've been trying to fix that, do you think the ETIMEDOUT error could be caused by that as well? |
Very likely... something on your system is preventing containers to talk to each other... It could be a custom firewall, custom OS, etc etc... Use digital ocean and see if the issue still exists. |
Hey guys, just started using Caprover, I'm trying to deploy my app, however when I tried to connect to a Redis one-click-app I created in the same domain I get
When I tried using the container IP Adress as my host variable I get this
My config is
Any ideas why? How can I troubleshoot it?
The text was updated successfully, but these errors were encountered: