Closed albertodb99 closed 3 years ago
After logging what it was receiving as mongo connection, this was obtained
But when trying to establish a mongo connection from atlas, this is our connection string: @pglez82 should we change the secret then?
It doesn't make sense to me to change the secret if the database, mongo user and password didn't change. What I would do is change the connection string locally (replace mongodb://localhost:27017) to the one that you are logging to see if you get the same error locally. Then we can test things faster. If it also fails locally, find out the proper connection string and once it works locally against the mongo cloud db, update the secret with the new value. It should work the same in heroku.
There was a mistake with the password, it was changed yesterday, now it deploys correctly, and it works fine with our mobile application. Thanks Pablo! :)
Without doing nothing, the deployment of the RestAPI in Heroku stays the same, but the code in local works, so this error should not be happening... can someone help?