jesuspaleta
jesuspaleta
RRailway
Created by jesuspaleta on 7/27/2024 in #✋|help
MongoDB not connecting in private network
I'm running a Python API and everything is working correctly except the MongoDB connection. I always get this error: localhost:27017: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms My code runs correctly in local environment, I have a MONGO_URI environment var that calls for MONGO_PRIVATE_URL, I have also tried MONGO_URL but it is the same error.
5 replies
RRailway
Created by jesuspaleta on 4/9/2024 in #✋|help
Call a service from another service
Hello, I have two repositories and I want to create two services for these components: - Module in Python - REST API that imports the module I know that I can import the module using pip and the requirements file with the git url, but I dont want to depend from services like Bitbucket or Github and have to define many env variables related to passwords or auth keys. Is there an option to call a service from other service so I can import the PATH using the private network or having the two services in the same volume?
4 replies