Upload failures

My uploads rarely work. I repeat the task over and over until it eventually synchronizes and uploads.

I’m using the DOIT DevKit v1.

Why does this happen?

The script is just a 60-line Arduino temperature sensor example.

The reset button is rumored to increase the likelihood of an upload, but I don’t believe it. Success is truly random.

I think the Uno shows the same thing, but I’m focusing on the ESP32 today.