sorry at the end the error was that quotes (") was getting escaped at the .env file, resulting in the connection uri was wrong formatted
not sure if we didn't correctly set the error handler, but this caused like a timeout and no error logs about malformed URL, was hard to debug until we noticed it