-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Are there any options for retrying file codesign logic when it fails due to a timestamp service unavailable issue on MacOS? #8089
Comments
We use the official
It gives 3 retries with both an interval and backoff of 1 second. |
I haven't encountered similar issues on Windows, but I have experienced this signing failure issue on macOS. Looking at the code, the dosign process on Windows includes a retry mechanism. Therefore, we can implement the same method on macOS as well. electron-builder/packages/app-builder-lib/src/codeSign/windowsCodeSign.ts Lines 147 to 182 in a13a539
|
We always encounter apple's timestamp service unavailable issues when we are building electron packages on macOS.
Error like this: The timestamp service is not available.
This error occurred randomly when it was signing files one by one. There are no network issues on AWS, actually.
But when this error occurs, we have to restart the whole building process, although the signing step only takes up a small portion of the total building time. This will waste a lot of time.
Are there any solutions to retry signing a file when it fails with a timestamp issue?
The text was updated successfully, but these errors were encountered: