I have a problem with an RL model
Hello engineers, I have a problem with an RL model. I'm trying to fetch data from the database using a Flask API, but it's giving me a Connection Error. However, when I test it on Postman, it returns results and works fine. I'm running the code on Kaggle. II have no issue with that; I just need to solve it.
Solution:Jump to solution
Have you been able to fix this?
If you can add loggings to your flask app to see more details about the connection attempt it will give you clues about the specific issue...
2 Replies
Solution
Have you been able to fix this?
If you can add loggings to your flask app to see more details about the connection attempt it will give you clues about the specific issue
But make sure the credentials used in your Flask app to connect to the database are correct and match the ones Kaggle provided for you
If you're using environment variables to store credentials, check if they're set correctly in your Kaggle environment too
Kaggle on it's end might have some network restrictions in place. See if there's any documentation about allowed connections for user-created environments, cus these issues are mostly seen when developing