Originally created by @b- on GitHub (Jul 14, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/662
## tl;dr:
this request will fail if your IP address hits the github api too often (60 times without auth in the past hour):
https://github.com/moghtech/komodo/blob/118ae9b92caf95ae0fdabe9f5984923af4c3bd9d/scripts/setup-periphery.py#L18
fix: if you want to download the latest version, you should simply download from `f'https://github.com/moghtech/komodo/releases/latest/download/{periphery_bin}'`. This always is a [redirect to the latest stable release](https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases#linking-to-the-latest-release). Example: https://github.com/moghtech/komodo/releases/latest/download/periphery-x86_64
Something like this could work:
```python
if load_version() == "latest":
url = f'https://github.com/moghtech/komodo/releases/latest/download/{periphery_bin}'
else:
url = f'https://github.com/moghtech/komodo/releases/download/{load_version()}/{periphery_bin}'
print(os.popen(f'curl -sSL {url} > {bin_path}').read())
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @b- on GitHub (Jul 14, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/662
tl;dr:
this request will fail if your IP address hits the github api too often (60 times without auth in the past hour):
https://github.com/moghtech/komodo/blob/118ae9b92caf95ae0fdabe9f5984923af4c3bd9d/scripts/setup-periphery.py#L18
fix: if you want to download the latest version, you should simply download from
f'https://github.com/moghtech/komodo/releases/latest/download/{periphery_bin}'. This always is a redirect to the latest stable release. Example: https://github.com/moghtech/komodo/releases/latest/download/periphery-x86_64Something like this could work: