Skip to content

Got rate limited error when trying to create new project for second time #412

Closed

Description

@Senbonzakura1234

Step to reproduce:

  • create a new solid project once.
  • create a new solid project again.

Expected behavior: create both project successfully.

Actual behavior: can't create 2nd project.

Error screenshot:

image

Activity

  1. boehs commented on Nov 10, 2022

    @boehs
    Contributor

    This is a github ratelimit, I don't think we can do anything about it

    // Great for downloads with few sub directories on big repos
    // Cons: many requests if the repo has a lot of nested dirs
    export async function viaContentsApi({
    user,
    repository,
    ref = "HEAD",
    directory,
    token,
    getFullData = false
    }) {
    const files = [];
    const contents = await api(`${user}/${repository}/contents/${directory}?ref=${ref}`, token);

    I will say, this won't trigger after only two. Likely you have some other program connecting to github API as well like extension

  2. Senbonzakura1234 commented on Nov 10, 2022

    @Senbonzakura1234
    Author

    This is a github ratelimit, I don't think we can do anything about it

    // Great for downloads with few sub directories on big repos
    // Cons: many requests if the repo has a lot of nested dirs
    export async function viaContentsApi({
    user,
    repository,
    ref = "HEAD",
    directory,
    token,
    getFullData = false
    }) {
    const files = [];
    const contents = await api(`${user}/${repository}/contents/${directory}?ref=${ref}`, token);

    I will say, this won't trigger after only two. Likely you have some other program connecting to github API as well like extension

    strange, i'm using cmd right now, not even open vscode yet.

  3. boehs commented on Nov 10, 2022

    @boehs
    Contributor

    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

  4. Senbonzakura1234 commented on Nov 11, 2022

    @Senbonzakura1234
    Author

    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

    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 init command. This doesn't happened when I tried it at home or using 4G. Is there any chance that my company's network did something to cause this?

  5. locked and limited conversation to collaborators on Dec 21, 2022
  6. converted this issue into a discussion #564 on Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions