Skip to content
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

Unhanled error while polling the notarization status. #77

Closed
kinyoklion opened this issue Jun 9, 2021 · 1 comment
Closed

Unhanled error while polling the notarization status. #77

kinyoklion opened this issue Jun 9, 2021 · 1 comment
Labels

Comments

@kinyoklion
Copy link

Recently I have been encountering a problem where the polling loop which waits for the notarization process to complete has been failing. It will check the status 3-4 times, and then it will fail.

09:47:21    'altool',
09:47:21    '--notarization-info',
09:47:21    'redacted',
09:47:21    '-u',
09:47:21    '*********',
09:47:21    '-p',
09:47:21    '*********'
09:47:21  ] opts: {}

09:47:22  events.js:292
09:47:22        throw er; // Unhandled 'error' event
09:47:22        ^
09:47:22  
09:47:22  Error: read EFAULT
09:47:22      at Pipe.onStreamRead (internal/stream_base_commons.js:209:20)
09:47:22  Emitted 'error' event on Socket instance at:
09:47:22      at emitErrorNT (internal/streams/destroy.js:106:8)
09:47:22      at emitErrorCloseNT (internal/streams/destroy.js:74:3)
09:47:22      at processTicksAndRejections (internal/process/task_queues.js:80:21) {
09:47:22    errno: -14,
09:47:22    code: 'EFAULT',
09:47:22    syscall: 'read'
09:47:22  }

Looks like probably the stream is being terminated and we don't get a result. The exception this generates is unhandled and as a result the process completes unsuccessfully. It seems like it may be best to continue to poll statuses unless this happens continuously.

@continuous-auth
Copy link

🎉 This issue has been resolved in version 1.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant