• Ask the Community
  • Python - socket.gaierror: [Errno -3] Temporary failure in name resolution

Hi,
I am using each 5 seconds the sdk payment endpoint, to read list of payments. After about 10-15 minutes I get an error.
A socket.gaierror: [Errno -3] Temporary failure in name resolution -> does any body know what I do wrong or should for?
It is in the urllib3/connection.py

best regards
Rudolf

    @Franciscus-Turquoise-Quokka#40053 Good morning,

    It looks like an issue with the nameserver (DNS). Can you maybe set an other nameserver on your server (1.1.1.1 or 8.8.8.8) and try it again?

    Have a nice day!

      Correct thanks! I have changed my nameserver with more optimal settings analyzed with Dns name bench. Currently i have no gaierrors anymore. Thx!

        @Franciscus-Turquoise-Quokka#40198 Nice! Good to hear that

          Write a Reply...