Notary server down - 500 internal server error

Is the notary server down again? The system status doesn't report anything yet. Where can I submit a report about this problem?

xcrun notarytool history --apple-id myemail@gmail.com --password BerliN869 --team-id MY_TEAM_ID
Error: HTTP status code: 500. Internal server error. Error communicating with authentication service. Please try again at a later time.

We are also seeing exact same result today, since at least 1:15pm CDT.

Getting exactly the same right now. Good to know it's (probably) not my end.

Same here for the last 8 hours or so. But the Apple System Status page doesn't show any issues.

https://developer.apple.com/system-status/

I can understand that Apple System Status page might not automatically flag certain types of faults with this service... but I find it incredible that there is apparently not even a cursory monitoring service that can recognise that there are HTTP 500 faults occurring.

I need to issue an urgent app update to my users. This unacknowledged fault is causing me significant uncertainty and stress.

Super annoying...

Not that it's a great solution at all, but I commented out my changes to use notarytool from a few months ago and restored my use of the old process using altool and just successfully submitted and notarized my bundle! Haha. So @gpdawson that might be on the menu as a temporary workaround.

EDIT: confirmed -- I switched my release to use altool in order to get new builds available tonight. Seems like just a month back or so I was getting deprecated warnings and couldn't actually get a successful result with altool, and now it's back. Never a dull moment...

Same thing's been happening for me for several hours, with no indication from Apple that they know anything's wrong.

Same Issue as well. Started happening this morning.

Error: HTTP status code: 500. Internal server error. Error communicating with authentication service. Please try again at a later time.

The same here. I wonder why this happen again and again since last month.

Error: HTTP status code: 500. Internal server error. Error communicating with authentication service. Please try again at a later time.

Same for me, server seems down for 12 hours now. Same problem occured obviously earlier, see https://developer.apple.com/forums/thread/698401.

If altool is a valid replacement, could someone please post the substitution for these lines here?

xcrun notarytool submit "my.dmg" --wait --keychain-profile "my_profile"

xcrun stapler staple "my.dmg"

Same error since Monday on our side Error: HTTP status code: 500. Internal server error. Error communicating with authentication service. Please try again at a later time.

To start, see this post for general advice on this topic.

As to the current situation, it’s working for me right now:

% date 
Tue 24 May 2022 09:41:08 BST
% xcrun notarytool history …credentials…
Successfully received submission history.
  history
    --------------------------------------------------
    createdDate: 2022-05-09T15:19:19.872Z
    id: 8ef67861-46f6-4f0a-9d71-00626ddf06e5
    name: hello.zip
    status: Invalid
    …

Given the latest update on this other thread, it seems that this is either intermittent or user-specific. They opened a bug about this and I’ll that to escalate the issue.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

As to the current situation, I get the following, maybe it helps for debuging:

macmini:test$ xcrun notarytool history --keychain-profile "my_profile" -vvvv

[10:22:32.154Z] Debug [MAIN] Running notarytool version: 1.0.0 (21), date: 2022-05-24T10:22:32Z, command: /Library/Developer/CommandLineTools/usr/bin/notarytool history --keychain-profile my_profile -vvvv

[10:22:32.167Z] Debug [KEYCHAIN] Attempting to load Keychain data for profile name: my_profile

[10:22:32.180Z] Debug [KEYCHAIN] Found Keychain password item "my_profile" with ID XXXXXXXXXX:YYYYY.

[10:22:32.187Z] Info [API] Initialized Notary API with base URL: https://appstoreconnect.apple.com/notary/v2/

[10:22:32.188Z] Info [API] Preparing GET request to URL: https://appstoreconnect.apple.com/notary/v2/submissions?, Parameters: [:]

[10:22:32.189Z] Debug [AUTHENTICATION] Delaying current request to refresh app-specific password token

[10:22:32.191Z] Info [API] Preparing GET request to URL: https://appstoreconnect.apple.com/notary/v2/asp?, Parameters: [:]

[10:22:32.192Z] Debug [AUTHENTICATION] Authenticating request with Basic Auth. Username: YYYYY, Password: private, Team ID: XXXXXXXXXX

[10:22:32.195Z] Debug [TASKMANAGER] Starting Task Manager loop to wait for asynchronous HTTP calls.

[10:22:32.938Z] Debug [API] Received response status code: 500, message: internal server error, URL: https://appstoreconnect.apple.com/notary/v2/asp?, Correlation Key: RFD32TYXONHX7XXXXXTWFTT5RQ

[10:22:32.939Z] Error [TASKMANAGER] Completed Task with ID 2 has encountered an error.

[10:22:32.940Z] Debug [TASKMANAGER] Ending Task Manager loop. Error: HTTP status code: 500. Internal server error. Error communicating with authentication service. Please try again at a later time.

I also had the same problem, but found a solution. What did the trick for me was creating an AppStore Connect API key and use it with notarytool store-credentials (using the --key --key-id --issuer options). Using that method of authentication works, I managed to notarize 2 dmg images.

The xcrun notarytool history shows 500 error too. It looks it fails when app specific login is used and not for the other authorization methods.

It works via App Store Connect API:

  1. Create API key and download it https://appstoreconnect.apple.com/access/api

  2. Copy key-id and issuer from same page

  3. Store to keychain

xcrun notarytool store-credentials Notarize --key apple-connect-api-key.p8 --key-id 1234567 --issuer 11f28c89-0bbc-47b8-bb65-ad719eb08e4c
  1. Use to notarize
xcrun notarytool submit ParetoUpdater.zip --team-id 12345678 --progress --wait --keychain-profile "Notarize"

I'm also seeing the same issue today.

I tried to run xcrun notarytool store-credentials again, but I get:

[13:23:26.009Z] Debug [API] Received response status code: 500, message: internal server error, URL: https://appstoreconnect.apple.com/notary/v2/asp?, Correlation Key: EFNNWSQB2XZUUYA2EBWMOVQUMY

I saw a few posts above suggesting using altool, and after a little bit of trial and error, this seemed to work for me:

xcrun altool -t osx -f "/path/to/app.dmg" --primary-bundle-id --output-format xml --notarize-app -u apple-id-goes-here -p "app-specific-password"

...then take the RequestUUID and you can check the status using:

xcrun altool --notarization-info RequestUUID-goes-here -u apple-id-goes-here -p "app-specific-password"

...this once that's done you can staple:

xcrun stapler staple "/path/to/app.dmg"

Hope this helps others who are running into the same issue!

I'm seeing the same issue. Does this have something to do with a recent update?

NLTeo's post on page 1 of this thread solved the issue for me.

I'm having the same issue - using electron-builder to build electron app and signing it fails with this error

Error: HTTP status code: 500. Internal server error. Error communicating with authentication service. Please try again at a later time. 40 failedTask=build stackTrace=Error: Failed to notarize via notarytool

At the end of this day, we still don't have a legal working resolution:

  • notarytool and app-specific password -> still not working, HTTP 500
  • altool -> not contained in newest xcode command line tools (xcode-select --install), depreciated by notarytool
  • App Store Connect API -> not legal to use (as far as I understand the license)

@Apple Developer Support: We paid for a membership but are still unable to create running apps.

PLEASE FIX IT!

Just wanted to share my results as well:

So when using the older xcrun altool, I don't get the 500 error, and when using the Xcode notarization GUI I don't get the 500 error. 

However, as soon as I try and use the newer xcrun notarytool I get the 500 error (I'm specifically passing in an Apple ID/Team ID/App-Specific password). I also get the same 500 error when I attempt to perform a store-credentials command with notartytool. 

Seems like this is a recent serverside issue, as this is happening across Xcode versions 13.2.1 and 13.4

This is a disruptive problem for us as well. Same 500 errors. Had to spend time yesterday re-implementing altool with polling, which seems to take much longer than using notarytool with --wait. Lots of time wasted troubleshooting and updating build scripts, when I have product updates I need to distribute.

How does Apple not see the 500 errors, which are internal server errors. How do you get a "local" 500 error, unless from terrible programming? ¯_(ツ)_/¯.

Happening to me, too.

I am experiencing the same issue:

xcrun notarytool history -p notarytool_Notarize_Credentials --verbose

[20:58:24.738Z] Debug [MAIN] Running notarytool version: 1.0.0 (21), date: 2022-05-24T20:58:24Z, command: /Applications/Xcode_13.4.app/Contents/Developer/usr/bin/notarytool history -p notarytool_Notarize_Credentials --verbose

[20:58:24.752Z] Debug [KEYCHAIN] Attempting to load Keychain data for profile name: notarytool_Notarize_Credentials

[20:58:24.761Z] Debug [KEYCHAIN] Found Keychain password item "notarytool_Notarize_Credentials" with ID XXXXXXXXXX:myemail_gmail.com.

[20:58:24.764Z] Info [API] Initialized Notary API with base URL: https://appstoreconnect.apple.com/notary/v2/

[20:58:24.764Z] Info [API] Preparing GET request to URL: https://appstoreconnect.apple.com/notary/v2/submissions?, Parameters: [:]

[20:58:24.765Z] Debug [AUTHENTICATION] Delaying current request to refresh app-specific password token

[20:58:24.766Z] Info [API] Preparing GET request to URL: https://appstoreconnect.apple.com/notary/v2/asp?, Parameters: [:]

[20:58:24.766Z] Debug [AUTHENTICATION] Authenticating request with Basic Auth. Username: myemail_gmail.com, Password: private, Team ID: XXXXXXXXXX

[20:58:24.767Z] Debug [TASKMANAGER] Starting Task Manager loop to wait for asynchronous HTTP calls.

[20:58:25.354Z] Debug [API] Received response status code: 500, message: internal server error, URL: https://appstoreconnect.apple.com/notary/v2/asp?, Correlation Key: K5WIK7YU5TDMH5GUROU3DHII6M

[20:58:25.356Z] Error [TASKMANAGER] Completed Task with ID 2 has encountered an error.

[20:58:25.357Z] Debug [TASKMANAGER] Ending Task Manager loop.

Error: HTTP status code: 500. Internal server error. Error communicating with authentication service. Please try again at a later time.

Notary server down - 500 internal server error
 
 
Q