-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notarization hangs on notarytool submit
for hours without output
#179
Comments
I have the same issue. Similar configuration as you, but using w/ electron-builder + a afterSign script to call notarize. It seems like wait flag does the following: "Use the wait flag to tell notarytool to exit only after the Notary service finishes processing the submission. This eliminates the need to poll the service for status. Use the webhook flag if you want to specify a URL for the service to access after processing the submission." When you remove the wait flag is it successfully notarizing? |
I think the it's apple's issue |
Did anyone succeed in getting this to work? |
I waited for 2 days and succeeded |
What if I want to do this as a part of the release cycle using GitHub Actions. An action running for two days is crazy talk. |
Do not wait until it runs successfully |
In my case it started to randomly to work. A few things to note about my case, which might have been a factor:
Possibly Apple has a human in the loop for new developer accounts that are doing first time notarization? I'd say if you are still having issues within a few days of attempting first notarization, try reaching out to Apple. When notarization succeeds in my exp it has been within 15 mins. |
Is there a way to remove the --wait from the forge config? |
I've been seeing the same issue but only inside a GitHub action. I have a projects that builds with But if I run the same command inside a GitHub workflow, it either succeeds or hangs pretty randomly. When it succeeds it takes about 15 minutes, which is significantly more than in my computer, but ok. But often it just gets stuck in the notarization step. In these cases the runner times out before I can see if the notarization would ever succeed. Edit: In the end this was not a notarization issue, but a code-sign one. If anybody is interested here's the solution I found. |
anybody could fix this? i am stuck in that output |
i think on weekend or holiday it is stops working. |
I feel like #149 would be an answer to long hanging times on Apple's side, but a proper solution hasn't been sketched out yet. I'm okay with keeping this issue open for community troubleshooting, though. |
Im using
"@electron-forge/cli": "^7.2.0"
which uses notarize under the hood. I provide credentials to notarize by passing them to myforge.config.js
like this:And I run
electron-forge package
.Expected Behavior:
Notarization succeeds or fails within 15 minutes.
Actual Behavior:
The notarization step hangs on the
notarytool submit
step shown here:Notes:
Running this command by hand hangs, but if I remove
--wait
it succeeds in a couple minutes. My understanding of this wait flag is that its waiting on something else, but I dont understand what.Removing the notarization steps prevents the hanging.
The zip is 0.3gb. I've checked that these vars are in my env. This issue has persisted all weekend.
What may be causing it to hang?
The text was updated successfully, but these errors were encountered: