Having issues dns issue's

Well its been like 3-5 days i made bot and using it, it makes some api calls everytime, but today i realized it started to give ERRNO -3001 EAI_AGAIN errors, is there any solution?

Repl is rich-Yur1.repl.co

Hey yur1, I hope you’re doing well.

Here are some causes, and some solutions.

  1. DNS Resolution Failure

  2. Network Unreachable/Connectivity Problems

  3. Temporary Network Glitch

To resolve this issue, you can try the following steps:

  1. Check your internet connection: Self explanatory

  2. Check the DNS settings: Make sure that your DNS settings are correct. You can try using a different DNS server or flushing the DNS cache with ipconfig /flushdns (for Windows).

  3. Try again later: If the issue is caused by temporary network glitches or server problems, waiting for a while and then retrying the operation may resolve the problem.

  4. Check the hostname: Make sure that the hostname you are trying to access is spelled correctly and is valid.

I hope this works.