xcrun altool --upload-app connection reset

xcrun altool version: 4.0.2.1189
xcode version : 12.0
macos version : 10.15.5
Upload protocol: webDAV

I was uploading the app using xcrun altool, but it started failing at some point.
When using the Transporter app, it works fine.

Since it was not uploaded in xcode 11.4, it was updated to xcode 12, and altool 4.0.2 included in xcode12 still does not work.
  • xcrun altool --list-app also works fine.

  • The connection is established, but seems to fail during the upload or file deletion process.

Part of the error log

javax.net.ssl.SSLException: Connection reset

Error Domain=ITunesTransporterErrorDomain Code=-18000



The log shows "Session End Reason: tcp-rst-from-server". How do I fix it?
xcrun altool --upload-app connection reset
 
 
Q