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.
attachment 0
attachment 1
attachment 2
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...
Jump to solution
2 Replies
Solution
Marvee Amasi
Marvee Amasi5mo ago
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
Marvee Amasi
Marvee Amasi5mo ago
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
Want results from more Discord servers?
Add your server