Problems with ESP32 OTA Programming

Can you show the exact ESP32 model you’re working with? There might be a mismatch regarding flash size e.g…

Otherwise this

Looks like the client / PC side might be doing something wrong, too.

Is any antivirus software installed with a firewall that might interfere here? Or, at the router?

Does programming via OTA work via Arduino IDE?

Another thing you can do to get more output is to use the project task “Advanced → Verbose Upload”. Maybe that makes espota output more info during upload.