Notarization submission times out.

I am currently having issues uploading my app to appstoreconnect.apple.com/notary/ for notarization. It times out after hanging for a while. I get the following error.

13:42:04      "LocalDataTask <D84AED32-B05B-4439-8BDC-40C0F89B89F1>.<1>"
13:42:04  ), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://appstoreconnect.apple.com/notary/v2/asp?, NSErrorFailingURLKey=https://appstoreconnect.apple.com/notary/v2/asp?, _kCFStreamErrorDomainKey=4})
Answered by DTS Engineer in 865539022

There’s limits to how much I can help you with this. When you submit a product to notarytool, it makes various network connections. You have to ensure that your network is set up to allow those connections. That’s not something I can help you with, because it’s not an Apple system that blocking the connections.

As to the nature of those connections, that’s documented in the Ensure your build server has network access section of Customizing the notarization workflow.

Another good option is to run notarytool with verbose logging enabled. That will usually let you uncover the exact connection that’s failing.

Share and Enjoy

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

I am currently having issues uploading my app

By “currently”, do you mean:

  • You just wrote this code and you can’t get it work?
  • You wrote this code a while back, it used to work, and now it fails?

Share and Enjoy

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

I used to sign and notarize this code manually on a Mac server. It worked in minutes. Now, I have automated the process to sign and notarize during a build on Jenkin. The notarization stage get stuck. The server I'm running this on now is behind Zscaler. If that is the issue, how can I handle the upload from a server behind a proxy.

There’s limits to how much I can help you with this. When you submit a product to notarytool, it makes various network connections. You have to ensure that your network is set up to allow those connections. That’s not something I can help you with, because it’s not an Apple system that blocking the connections.

As to the nature of those connections, that’s documented in the Ensure your build server has network access section of Customizing the notarization workflow.

Another good option is to run notarytool with verbose logging enabled. That will usually let you uncover the exact connection that’s failing.

Share and Enjoy

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

Notarization submission times out.
 
 
Q