mirror of
https://github.com/SignTools/SignTools.git
synced 2026-04-26 10:25:54 +03:00
[GH-ISSUE #491] Sign.py not functioning properly #109
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SignTools#109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kaspeck on GitHub (Nov 17, 2024).
Original GitHub issue: https://github.com/SignTools/SignTools/issues/491
!! Please fill in this template, DO NOT ignore or delete it. !!
I tried basic troubleshooting first
Describe the bug
Sign.py is not running.
To reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the build to pass.
Logs
If possible, please include logs.
Run PYTHONUNBUFFERED=1 ./sign.py
Initializing dependencies...
Downloading job files...
Traceback (most recent call last):
File "/Users/runner/work/Signtools-CI/Signtools-CI/./sign.py", line 45, in run_process
result = subprocess.run(cmd, capture_output=capture, check=check, env=env, cwd=cwd, timeout=timeout)
File "/opt/homebrew/Cellar/python@3.13/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('node', 'node-utils/download.js', '/jobs', '', 'job.tar')' returned non-zero exit status 3.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/runner/work/Signtools-CI/Signtools-CI/./sign.py", line 1254, in
node_download(secret_url + "/jobs", job_archive, capture=False)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/work/Signtools-CI/Signtools-CI/./sign.py", line 122, in node_download
return run_process(
"node",
...<4 lines>...
capture=capture,
)
File "/Users/runner/work/Signtools-CI/Signtools-CI/./sign.py", line 47, in run_process
raise (
...<6 lines>...
) from e
Exception: {'stdout': '', 'stderr': ''}
Error: Process completed with exit code 1.
Screenshots
If applicable, add screenshots to help explain your problem.
System configuration
Additional context
Add any other context about the problem here.
@ViRb3 commented on GitHub (Nov 18, 2024):
You didn't specify how you are running this. If I had to guess, GitHub can't reach the service running on your localhost. You either need to expose a port and set up a reverse proxy, or use a tunnel provider like ngrok/cloudflared.
What have you specified for
server_urlunder your config file?@ViRb3 commented on GitHub (Nov 18, 2024):
Regarding the lack of error message, this was a bug and I just pushed out a fix for that in SignTools-CI. If you update your repo and try again, you should see the exact error, which will likely be what I mentioned above.
@rursache commented on GitHub (Jan 6, 2025):
i also have this issue. the server is tunnelled with cloudflare tunnels.
i can access
sign.mydomain.tld/jobsbut github can't. i wasted 2h troubleshooting this then i setup semaphoreci and worked the first time. even with no auth, completly open, github still throws 403 on the/jobsendpoint (which i can access with multiple browsers and IPs)