xcrun atltool notarization suddenly failing
Application notarization suddenly started failing this morning (has been functional for a year).
app-specific-password and primary apple passwords were not changed.
Did something change with notarization requirements? Or are the apple servers in a temporary bad state at the moment?
Notarization is done with the following xcrun cmd:
xcrun altool --notarize-app --primary-bundle-id <bundle> --username <username> --password <password> --file <filepath>
Returns error:
2023-02-17 09:02:29.639 *** Error: Failed to get transporter defaults file 'https://contentdelivery.itunes.apple.com/transporter/Defaults.properties': Error Domain=NSCocoaErrorDomain Code=256 "The file “Defaults.properties” couldn’t be opened." UserInfo={NSURL=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, NSUnderlyingError=0x6000023a82d0 {Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x6000023a6490 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "The request timed out." UserInfo={NSErrorFailingURLStringKey=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, NSErrorFailingURLKey=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, _kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4, NSLocalizedDescription=The request timed out.}}, NSErrorFailingURLStringKey=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, NSErrorFailingURLKey=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}}}
2023-02-17 09:02:30.067 *** Error: Notarization failed for '<bundle>'.
2023-02-17 09:02:30.067 *** Error: Unable to upload your app for notarization. Failed to get authorization for username '<username>' and password. (
"Error Domain=NSCocoaErrorDomain Code=0 \"Status code: 0\" UserInfo={NSLocalizedDescription=Status code: 0, NSLocalizedFailureReason=The auth server returned a bad status code.}"
) (-1011)
{
NSLocalizedDescription = "Unable to upload your app for notarization.";
NSLocalizedFailureReason = "Failed to get authorization for username '<username>' and password. (\n \"Error Domain=NSCocoaErrorDomain Code=0 \\\"Status code: 0\\\" UserInfo={NSLocalizedDescription=Status code: 0, NSLocalizedFailureReason=The auth server returned a bad status code.}\"\n)";
}