Post

Replies

Boosts

Views

Activity

Reply to xcrun notarytool submit is failing to upload
This is still happening. I have to try to re-upload many, many times. Constantly get a "bus error".  ~/Code/IntoTheDawn/ [main*] xcrun notarytool submit /Users/jh/Code/IntoTheDawn/Builds/IntoTheDawn-0.3-build.3-macOS.zip --keychain-profile jamonholmgren Conducting pre-submission checks for IntoTheDawn-0.3-build.3-macOS.zip and initiating connection to the Apple notary service... Submission ID received id: 97692966-e667-4da2-8eaf-1f8faa8a13c7 Upload progress: 7.27% (9.94 MB of 137 MB) Gets stuck at a random %, and then:  ~/Code/IntoTheDawn/ [main*] xcrun notarytool submit /Users/jh/Code/IntoTheDawn/Builds/IntoTheDawn-0.3-build.3-macOS.zip --keychain-profile jamonholmgren Conducting pre-submission checks for IntoTheDawn-0.3-build.3-macOS.zip and initiating connection to the Apple notary service... Submission ID received id: 97692966-e667-4da2-8eaf-1f8faa8a13c7 [1] 63710 bus error xcrun notarytool submit --keychain-profile jamonholmgren I'm on Xfinity / Comcast internet. When I tether, it works (very slowly), but this seems untenable long-term. Surely there's some way to make this CLI more robust?
Apr ’25
Reply to notarytool submit fails 94% of the time with Error: MultipartUploadError(error: HTTPClientError.deadlineExceeded) or other error
I am running into this same issue here almost a year later in March 2025, and it's driving me nuts. This happens at different chunk numbers at different times, and sometimes (rarely) succeeds just fine. Any other ideas? Here's a verbose version of running it after doing the upload connection timeout (I've redacted sensitive info): xcrun notarytool submit "Builds/IntoTheDawn-0.2.6-macOS-manual.zip" --keychain-profile "myprofilename" --verbose [22:53:11.435Z] Debug [MAIN] Running notarytool version: 1.0.0 (37), date: 2025-03-15T22:53:11Z, command: /Applications/Xcode.app/Contents/Developer/usr/bin/notarytool submit Builds/IntoTheDawn-0.2.6-macOS-manual.zip --keychain-profile myprofilename --verbose Conducting pre-submission checks for IntoTheDawn-0.2.6-macOS-manual.zip and initiating connection to the Apple notary service... [22:53:11.467Z] Debug [PREFLIGHT] IntoTheDawn-0.2.6-macOS-manual.zip is a zip archive. [22:53:11.468Z] Debug [PREFLIGHT] Finished completing determination of file type for IntoTheDawn-0.2.6-macOS-manual.zip. Operation took 25ms. [22:53:11.468Z] Debug [KEYCHAIN] Attempting to load Keychain data for profile name: myprofilename [22:53:11.482Z] Debug [KEYCHAIN] Found Keychain password item "myprofilename" with ID MYTEAMID:myprofilename@example.com. [22:53:11.489Z] Info [API] Initialized Notary API with base URL: https://appstoreconnect.apple.com/notary/v2/ [22:53:11.490Z] Debug [CTXMGR] Created temporary directory at: file:///var/folders/8j/xxxxxxx/T/TemporaryItems/NSIRD_notarytool_ytYxSN/ [22:53:11.490Z] Debug [CTXMGR] Copied Builds/IntoTheDawn-0.2.6-macOS-manual.zip -- file:///Users/jh/Code/IntoTheDawn/ to file:///var/folders/8j/xxxxxxx/T/TemporaryItems/NSIRD_notarytool_ytYxSN/IntoTheDawn-0.2.6-macOS-manual.zip [22:53:11.491Z] Debug [FILEHASH] Generating md5 and sha256 digest with buffer size 1048576 for file:///var/folders/8j/xxxxxxx/T/TemporaryItems/NSIRD_notarytool_ytYxSN/IntoTheDawn-0.2.6-macOS-manual.zip [22:53:11.763Z] Debug [FILEHASH] MD5 digest: <omitted> [22:53:11.763Z] Debug [FILEHASH] Base64-encoded MD5 Digest: 2B+8gfhpT+7hORAq0D1jMg== [22:53:11.763Z] Debug [FILEHASH] SHA256 digest: <omitted> [22:53:11.764Z] Debug [FILEHASH] Finished generating file hashes for IntoTheDawn-0.2.6-macOS-manual.zip. Operation took 272ms. [22:53:11.764Z] Debug [API] Sending submissions payload: submissionPayload(submissionName: "IntoTheDawn-0.2.6-macOS-manual.zip", md5: "<omitted>", sha256: "<omitted>", notifications: []) [22:53:11.764Z] Info [API] Preparing POST request to URL: https://appstoreconnect.apple.com/notary/v2/submissions?, Custom Headers: private<Dictionary<String, String>> [22:53:11.765Z] Debug [AUTHENTICATION] Delaying current request to refresh app-specific password token. [22:53:11.765Z] Info [API] Preparing GET request to URL: https://appstoreconnect.apple.com/notary/v2/asp?, Parameters: [:], Custom Headers: private<Dictionary<String, String>> [22:53:11.765Z] Debug [AUTHENTICATION] Authenticating request to '/notary/v2/asp' with Basic Auth. Username: myprofilename@example.com, Password: private<String>, Team ID: MYTEAMID [22:53:11.766Z] Debug [TASKMANAGER] Starting Task Manager loop to wait for asynchronous HTTP calls. [22:53:12.276Z] Debug [API] Received response status code: 200, message: no error, URL: https://appstoreconnect.apple.com/notary/v2/asp?, Correlation Key: <omitted> [22:53:12.276Z] Debug [TASKMANAGER] Completed Task with ID 2 has received a parsable response. [22:53:12.276Z] Debug [TASKMANAGER] Ending Task Manager loop. [22:53:12.277Z] Info [AUTHENTICATION] Caching retrieved app-specific password token. ID: MYTEAMID:myprofilename@example.com, token: private<String> [22:53:12.277Z] Debug [AUTHENTICATION] Authenticating request to '/notary/v2/submissions' with WebServices Token. AppleID: myprofilename@example.com, Team ID: MYTEAMID, Token: private<String> [22:53:12.277Z] Debug [TASKMANAGER] Starting Task Manager loop to wait for asynchronous HTTP calls. [22:53:12.891Z] Debug [API] Received response status code: 200, message: no error, URL: https://appstoreconnect.apple.com/notary/v2/submissions?, Correlation Key: <omitted> [22:53:12.892Z] Debug [TASKMANAGER] Completed Task with ID 1 has received a parsable response. [22:53:12.892Z] Debug [TASKMANAGER] Ending Task Manager loop. [22:53:12.892Z] Debug [MAIN] Received Submission Response: private<NewSubmission> Submission ID received id: <omitted> [22:53:12.894Z] Debug [UPLOAD] File sized 126 MB w/ min calculated part size: 129 KB. Multipart upload chunk size: 5.00 MB [22:53:12.894Z] Debug [UPLOAD] Setting S3 timeout to 500 seconds. [22:53:12.895Z] Debug [UPLOAD] Received new upload status: Initiating [22:53:12.895Z] Debug [UPLOAD] Submission with ID <omitted> is being uploaded to bucket notary-submissions-prod at key prod/<omitted>:<omitted> [22:53:12.895Z] Debug [UPLOAD] File sized 126 MB w/ min calculated part size: 129 KB. Multipart upload chunk size: 5.00 MB [22:53:12.896Z] Info [UPLOAD] Starting S3 multipart upload of file at 'file:///var/folders/8j/xxxxxxx/T/TemporaryItems/NSIRD_notarytool_ytYxSN/IntoTheDawn-0.2.6-macOS-manual.zip' with part size 5 MB to Bucket: notary-submissions-prod, Key: prod/<omitted>:<omitted> [22:53:12.896Z] Debug [UPLOAD] Received new upload status: Uploading [22:53:13.558Z] Debug [UPLOAD] Completed [1/26] chunks of a multipart upload. [22:53:14.026Z] Debug [UPLOAD] Completed [2/26] chunks of a multipart upload. [22:53:14.538Z] Debug [UPLOAD] Completed [3/26] chunks of a multipart upload. [22:53:14.886Z] Debug [UPLOAD] Completed [4/26] chunks of a multipart upload. [22:53:15.246Z] Debug [UPLOAD] Completed [5/26] chunks of a multipart upload. [22:53:15.570Z] Debug [UPLOAD] Completed [6/26] chunks of a multipart upload. [22:53:15.896Z] Debug [UPLOAD] Completed [7/26] chunks of a multipart upload. [22:53:16.280Z] Debug [UPLOAD] Completed [8/26] chunks of a multipart upload. [22:53:16.627Z] Debug [UPLOAD] Completed [9/26] chunks of a multipart upload. [22:53:17.067Z] Debug [UPLOAD] Completed [10/26] chunks of a multipart upload. [22:53:17.517Z] Debug [UPLOAD] Completed [11/26] chunks of a multipart upload. [1] 83154 bus error xcrun notarytool submit "Builds/IntoTheDawn-0.2.6-macOS-manual.zip"
Topic: Code Signing SubTopic: Notarization Tags:
Mar ’25