Got rate limited error when trying to create new project for second time #564
Replies: 6 comments
-
This is a github ratelimit, I don't think we can do anything about it solid-start/packages/create-solid/cli/github.js Lines 14 to 25 in d3318b2 I will say, this won't trigger after only two. Likely you have some other program connecting to github API as well like extension |
Beta Was this translation helpful? Give feedback.
-
strange, i'm using cmd right now, not even open vscode yet. |
Beta Was this translation helpful? Give feedback.
-
I was more talking about chrome extensions. Regardless, the API docs says you may make up to 60 API requests per hour without authentication. I don't know how many requests each starter makes, and what counts as an API request, but I'm pretty sure it's nowhere close to 31+. THAT BEING SAID, if more people report this, we can look into delivering starters from our CDN, netlify |
Beta Was this translation helpful? Give feedback.
-
I don't think the problem caused by my chrome extension. But I noticed 1 thing that I only got rate limited when I'm using my company's network to run the |
Beta Was this translation helpful? Give feedback.
-
I got the same error on the first run and after almost an hour I was able to use the |
Beta Was this translation helpful? Give feedback.
-
I've been hitting this issue a bunch as I am usually under a VPN so I very very often get rate limited by create-solid (I was about to open a new issue but then I checked and found this discussion), basically almost every time I try to create a new solid application I need to disable my VPN. I also think that this could be a common issue when a simple IP is shared across different machines, such as what can happen with VPNs, conferences or shared office spaces. So if possible I would really suggest not using the github rest API (which introduces this rate limiting), one very simple solution that I can think of is generating the examples list at build time and not having to make any request at all for it. Also...I've been poking at the code when looking into this, it seems like the create-solid package does sort of try to include a github token to maybe avoid the rate limiting: However it looks to me that there is no code that actually retrieves the token: So this feels a bit off to me 😕 🤷 (maybe there was a plan at some point to get the token from somewhere?) |
Beta Was this translation helpful? Give feedback.
-
Step to reproduce:
Expected behavior: create both project successfully.
Actual behavior: can't create 2nd project.
Error screenshot:
Beta Was this translation helpful? Give feedback.
All reactions