r-darwish / topgrade

Upgrade everything
GNU General Public License v3.0
3.37k stars 162 forks source link

Weird DNS/connectivity errors when using topgrade #1016

Open KizzyCode opened 1 year ago

KizzyCode commented 1 year ago

What did you expect to happen?

Topgrade or it's child processes successfully connect to a remote address.

What actually happened?

I have spurious errors that a topgrade child process fails to connect.

This sometimes happens with

(If I retry the step a second time, it usually works.)

Additional Details

At first I was pretty sure that this is an issue on my side, however it also happens on other systems (e.g. my server which is in a remote data center with high-reliablity network connection and tight network monitoring). So I started looking at the logs, but found nothing. Additionally, I setup some monitoring on my local machine, and again nothing.

The weird thing is: This only happens with topgrade. I literally have weeks where everything else works flawlessly without network errors etc, and then there is topgrade which reliably fails every two days.

And to be honest im quite a bit puzzled – I'm not sure if it's even reasonably possible for topgrade to introduce weird network errors for child processes; so I'm not sure if this is even related to topgrade – however, this is the only context where such errors occur 🤷🏻‍♀️