I’m hosting a Discord Bot written in Python and when it is deployed on Fly, I get some really random errors of unknown interaction from Discord’s API. I suppose sometimes the application takes too long to reply and the API timeouts.
I was using a Shared 1vcpu and 256mb RAM, I thought it could be some RAM issues so I upgraded it to 1GB, but I still have this problem.
However, when I’m hosting it locally on my machine I never get this kind of error.
I’m using the same Dockerfile to run it locally too
Is there some network configuration I need to do?
I ran out of ideas
Thanks a lot