Comments (13)
GitHub has a rate limit for unauthenticated API requests: you can only make 60 per hour. I could add some authentication to eget which would allow you to raise this limit to 5000 per hour by providing a valid GitHub oauth token in the GITHUB_TOKEN
environment variable. Currently the code implementing this is commented out in download.go
due to being untested.
from eget.
Any news on this?
from eget.
I have pushed the update. Using GITHUB_TOKEN
should now allow you to make more requests per hour.
from eget.
after installing new version, problem subsided for two days and repeating again.
from eget.
Have you set up a GitHub OAuth token? With the token you should not see this problem unless you are exceeding 5,000 requests per hour.
from eget.
I have also checked with wireshark to find out any requests are being made with github. there is no abnormal traffic to github.
from eget.
Does the problem occur every time you use eget, or only in certain circumstances?
from eget.
it occurs every time when using eget
from eget.
I have pushed an update with a possible fix and a new option --rate
which will display rate limiting information (total and remaining allowed requests) to help you diagnose the issue further.
from eget.
thanks for the update.
it is now working without errors.
from eget.
I have the same problem with 0.3.0 - would you be able to make the fix available with a new release?
from eget.
Yes no problem, I will release 0.3.1 later today.
from eget.
eget
uses now GITHUB_TOKEN
. A side note: --rate
seems mutually exclusive with all other options. Help for this option should make this explicit in my opinion.
from eget.
Related Issues (20)
- Bug: `EGET_BIN` seems to be ignored
- Still maintained? HOT 4
- toml file blues: even the example from the manpage does not work HOT 1
- Weird behaviour when using 'file' in config HOT 1
- Support Github Action
- Support for musl-based Releases HOT 7
- eget downloads vscode extension rather than binary HOT 1
- cache downloads to avoid redownloading if unchanged
- Allows alias for target in configuration file
- Rename a file without specifying the dir to place it in
- Allow to read GitHub token from a file HOT 4
- GitLab support and non-public GitHub/GitLab instances HOT 3
- Bad configuration files are silently ignored HOT 2
- [Request] Provide Binaries for Android
- How to download several files for asset?
- Library Usage HOT 3
- Target folder expansion does not work HOT 1
- Download latest tag if latest not found HOT 2
- Eget.toml completely ignored HOT 3
- Fetch more than one archive from a repository?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eget.