[GH-ISSUE #318] setup_account timed out #89

Closed
opened 2026-03-04 00:23:48 +03:00 by kerem · 7 comments
Owner

Originally created by @rllbe on GitHub (May 16, 2023).
Original GitHub issue: https://github.com/SignTools/SignTools/issues/318

!! Please fill in this template, DO NOT ignore or delete it. !!

I tried basic troubleshooting first

Describe the bug

Apple ID logging in operation timed out

To reproduce

Steps to reproduce the behavior:

  1. Upload an app to the web service
  2. Wait 2 minutes for the CI to process
  3. See the 'Failed' text on the webpage
  4. Click 'Status' button
  5. View CI logs

Expected behavior

The 'Signed' text instead of 'Failed' text appears and the app gets signed

Logs

If possible, please include logs.

SignTools CI Logs

Run sudo xcode-select -s /Applications/Xcode_14.0.1.app
14848 0 0.00%
Download finished!
737037 14641936 5.03%
[2](https://github.com/rllbe/SignTools-CI/actions/runs/4995822207/jobs/8948188255#step:3:2)[3](https://github.com/rllbe/SignTools-CI/actions/runs/4995822207/jobs/8948188255#step:3:3)91655 14641936 16.33%
4231518 14641936 28.90%
5020966 14641936 34.29%
5232871 14641936 35.74%
6969262 14641936 47.60%
8927150 14641936 60.97%
9543786 14641936 65.18%
9574694 14641936 65.39%
9585120 14641936 65.46%
11902836 14641936 81.29%
12318766 14641936 84.13%
12792040 14641936 87.37%
13031842 14641936 89.00%
14634412 14641936 99.95%
14641936 14641936 100.00%
(node:1175) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
Download finished!
Traceback (most recent call last):
  File "/Users/runner/work/SignTools-CI/SignTools-CI/./sign.py", line 1181, in <module>
    run()
  File "/Users/runner/work/SignTools-CI/SignTools-CI/./sign.py", line 110[4](https://github.com/rllbe/SignTools-CI/actions/runs/4995822207/jobs/8948188255#step:3:4), in run
    teams = setup_account(account_name_file, account_pass_file)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/SignTools-CI/SignTools-CI/./sign.py", line [5](https://github.com/rllbe/SignTools-CI/actions/runs/4995822207/jobs/8948188255#step:3:5)48, in setup_account
    raise Exception("Operation timed out")
Exception: Operation timed out
==============================================
Uploading screenshot...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 2[6](https://github.com/rllbe/SignTools-CI/actions/runs/4995822207/jobs/8948188255#step:3:6)  608k    0     0   26  159k      0   280k  0:00:02 --:--:--  0:00:02  282k
100  608k  100    26  100  608k     24   5[7](https://github.com/rllbe/SignTools-CI/actions/runs/4995822207/jobs/8948188255#step:3:7)2k  0:00:01  0:00:01 --:--:--  575k
Could not perform prescan

==============================================
Initializing dependencies...
Downloading job files...
Downloading app...
Creating keychain...
Using development certificate
Using developer account
Logging in (1/2)...
Logging in (2/2)...
If you receive a two-factor authentication (2FA) code, please submit it to the web service.
Cleaning up...
Error: Process completed with exit code 1.

Screenshots

System configuration

  • SignTools version: [e.g. 2.6.1]
  • Installation type: [cloudflared]
  • Builder type: [SignTools-CI]
  • Builder version: [the latest commit hash of your repo for SignTools-CI, 162696f]

Additional context

The Apple ID does not have 2FA set up(still using security questions)

Originally created by @rllbe on GitHub (May 16, 2023). Original GitHub issue: https://github.com/SignTools/SignTools/issues/318 !! Please fill in this template, DO NOT ignore or delete it. !! **I tried basic troubleshooting first** - [x] Updated **both** [SignTools](https://github.com/SignTools/SignTools) **and** the builder ([SignTools-CI](https://github.com/SignTools/SignTools-CI) or [SignTools-Builder](https://github.com/SignTools/SignTools-Builder)) to the latest version - [x] Read through the [FAQ page](https://github.com/SignTools/SignTools/blob/master/FAQ.md) **Describe the bug** Apple ID logging in operation timed out **To reproduce** Steps to reproduce the behavior: 1. Upload an app to the web service 2. Wait 2 minutes for the CI to process 3. See the 'Failed' text on the webpage 4. Click 'Status' button 5. View CI logs **Expected behavior** The 'Signed' text instead of 'Failed' text appears and the app gets signed **Logs** If possible, please include logs. SignTools CI Logs ``` Run sudo xcode-select -s /Applications/Xcode_14.0.1.app 14848 0 0.00% Download finished! 737037 14641936 5.03% [2](https://github.com/rllbe/SignTools-CI/actions/runs/4995822207/jobs/8948188255#step:3:2)[3](https://github.com/rllbe/SignTools-CI/actions/runs/4995822207/jobs/8948188255#step:3:3)91655 14641936 16.33% 4231518 14641936 28.90% 5020966 14641936 34.29% 5232871 14641936 35.74% 6969262 14641936 47.60% 8927150 14641936 60.97% 9543786 14641936 65.18% 9574694 14641936 65.39% 9585120 14641936 65.46% 11902836 14641936 81.29% 12318766 14641936 84.13% 12792040 14641936 87.37% 13031842 14641936 89.00% 14634412 14641936 99.95% 14641936 14641936 100.00% (node:1175) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit (Use `node --trace-warnings ...` to show where the warning was created) Download finished! Traceback (most recent call last): File "/Users/runner/work/SignTools-CI/SignTools-CI/./sign.py", line 1181, in <module> run() File "/Users/runner/work/SignTools-CI/SignTools-CI/./sign.py", line 110[4](https://github.com/rllbe/SignTools-CI/actions/runs/4995822207/jobs/8948188255#step:3:4), in run teams = setup_account(account_name_file, account_pass_file) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/work/SignTools-CI/SignTools-CI/./sign.py", line [5](https://github.com/rllbe/SignTools-CI/actions/runs/4995822207/jobs/8948188255#step:3:5)48, in setup_account raise Exception("Operation timed out") Exception: Operation timed out ============================================== Uploading screenshot... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 2[6](https://github.com/rllbe/SignTools-CI/actions/runs/4995822207/jobs/8948188255#step:3:6) 608k 0 0 26 159k 0 280k 0:00:02 --:--:-- 0:00:02 282k 100 608k 100 26 100 608k 24 5[7](https://github.com/rllbe/SignTools-CI/actions/runs/4995822207/jobs/8948188255#step:3:7)2k 0:00:01 0:00:01 --:--:-- 575k Could not perform prescan ============================================== Initializing dependencies... Downloading job files... Downloading app... Creating keychain... Using development certificate Using developer account Logging in (1/2)... Logging in (2/2)... If you receive a two-factor authentication (2FA) code, please submit it to the web service. Cleaning up... Error: Process completed with exit code 1. ``` **Screenshots** - **System configuration** - SignTools version: [e.g. 2.6.1] - Installation type: [cloudflared] - Builder type: [SignTools-CI] - Builder version: [the latest commit hash of your repo for SignTools-CI, 162696f] **Additional context** The Apple ID does not have 2FA set up(still using security questions)
kerem 2026-03-04 00:23:48 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ViRb3 commented on GitHub (May 16, 2023):

Please fill in the full template.

<!-- gh-comment-id:1550258306 --> @ViRb3 commented on GitHub (May 16, 2023): Please fill in the full template.
Author
Owner

@ViRb3 commented on GitHub (May 16, 2023):

Also you need to submit the 2FA code you get on your phone to the web service, using the"Submit 2FA" button, otherwise it'll time out like this. Signing cannot happen without your 2FA code.

<!-- gh-comment-id:1550260541 --> @ViRb3 commented on GitHub (May 16, 2023): Also you need to submit the 2FA code you get on your phone to the web service, using the"Submit 2FA" button, otherwise it'll time out like this. Signing cannot happen without your 2FA code.
Author
Owner

@rllbe commented on GitHub (May 16, 2023):

Template is fully filled(SignTools version is 2.6.1 and I just forgot to delete 'e.g.' text)
And as I've mentioned, the Apple ID does NOT have 2FA set up and it doesn't require any 2FA verification to either login to the App Store or signing an app with XCode

<!-- gh-comment-id:1550268394 --> @rllbe commented on GitHub (May 16, 2023): Template is fully filled(SignTools version is 2.6.1 and I just forgot to delete 'e.g.' text) And as I've mentioned, the Apple ID does NOT have 2FA set up and it doesn't require any 2FA verification to either login to the App Store or signing an app with XCode
Author
Owner

@rllbe commented on GitHub (May 16, 2023):

But the docker log does indeed say the CI is requesting 2fa from web service. Do I have to upgrade to 2fa to use this project?

<!-- gh-comment-id:1550269402 --> @rllbe commented on GitHub (May 16, 2023): But the docker log does indeed say the CI is requesting 2fa from web service. Do I have to upgrade to 2fa to use this project?
Author
Owner

@ViRb3 commented on GitHub (May 16, 2023):

Ah, you are looking at #112 in this case. Unfortunately, accounts without 2FA are not currently supported. It should be a trivial change to the applescript files, just need to detect that 2FA is not needed and skip ahead, I just don't have such an account or the time at the moment. If you feel like you can do it, I am happy to take a PR!

<!-- gh-comment-id:1550272354 --> @ViRb3 commented on GitHub (May 16, 2023): Ah, you are looking at #112 in this case. Unfortunately, accounts without 2FA are not currently supported. It should be a trivial change to the applescript files, just need to detect that 2FA is not needed and skip ahead, I just don't have such an account or the time at the moment. If you feel like you can do it, I am happy to take a PR!
Author
Owner

@ViRb3 commented on GitHub (May 16, 2023):

Also sorry for reading between the lines of your original post, I'm on the go and didn't comprehend it properly.

<!-- gh-comment-id:1550273850 --> @ViRb3 commented on GitHub (May 16, 2023): Also sorry for reading between the lines of your original post, I'm on the go and didn't comprehend it properly.
Author
Owner

@rllbe commented on GitHub (May 17, 2023):

Yeah bro here you go: https://github.com/SignTools/SignTools-CI/pull/21
sorry for accidentally closing the previous pull request

<!-- gh-comment-id:1551345511 --> @rllbe commented on GitHub (May 17, 2023): Yeah bro here you go: https://github.com/SignTools/SignTools-CI/pull/21 sorry for accidentally closing the previous pull request
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SignTools#89
No description provided.