Coder Social home page Coder Social logo

Comments (13)

ghjansen avatar ghjansen commented on May 20, 2024 3

This issue is happening again.

Going to close this for now. The solution is to use a custom proxy if you don't want to depend on the default proxy.

@IonicaBizau any directions on how to do that?
There are free alternative proxies that can be used?
This issue is a big downside when using your project.

from github-calendar.

IonicaBizau avatar IonicaBizau commented on May 20, 2024 2

In the latest releases I implemented the new proxy from @Bloggify. Currently there are no max quotas, but using the default cache is recommended.

from github-calendar.

IonicaBizau avatar IonicaBizau commented on May 20, 2024 1

@izuzak Can you please take a look at this?

@vvzen In the meantime, you can setup a different proxy, following the docs. Urlreq is just the default one.

from github-calendar.

izuzak avatar izuzak commented on May 20, 2024 1

And because that response doesn't have the CORS headers, the error appears in the browser.
To reproduce, open: https://urlreq.appspot.com/req?method=GET&url=https://github.com/IonicaBizau

Problem solved, then 😄 You can spin up your own instance of that server (the code is open source) and buy additional quota for yourself.

from github-calendar.

Funkh0user avatar Funkh0user commented on May 20, 2024 1

I'm having the qouta problems described in this thread but i'm uncertain how to implement the solutions talked about. could someone explain to me in more detail what the exact workaround for this is? When I tried use the proxy method above, It didn't solve my problems.

from github-calendar.

izuzak avatar izuzak commented on May 20, 2024

@izuzak Can you please take a look at this?

@IonicaBizau Happy to take a look when I find a moment. Can you please open an issue with clear steps to reproduce? 🙏

from github-calendar.

IonicaBizau avatar IonicaBizau commented on May 20, 2024

Well, actually it's because Over Quota 🙈

Over Quota
This application is temporarily over its serving quota. Please try again later.

And because that response doesn't have the CORS headers, the error appears in the browser.
To reproduce, open: https://urlreq.appspot.com/req?method=GET&url=https://github.com/IonicaBizau

from github-calendar.

IonicaBizau avatar IonicaBizau commented on May 20, 2024

Indeed 😅

from github-calendar.

IonicaBizau avatar IonicaBizau commented on May 20, 2024

Going to close this for now. The solution is to use a custom proxy if you don't want to depend on the default proxy.

from github-calendar.

ghjansen avatar ghjansen commented on May 20, 2024

To whom it might concern, @Cipher-Coder did a great step-by-step on how to get izuzak/urlreq running through Google Cloud. See it in full at izuzak/urlreq#6.

Despite the moderate complexity of this workaround, it seems that a better solution is still much needed. Thoughts?

from github-calendar.

IonicaBizau avatar IonicaBizau commented on May 20, 2024

I remember I saw a pretty nice proxy service, but I don't remember its name and since I really enjoyed using @izuzak's tool, I just decided to use it.

The library accepts the proxy option:

GitHubCalendar(".calendar", "your-username", {
  responsive: true,
  proxy: function (url) {
      return "https://the-proxy-domain.com/req?method=GET&url=" + url;
   }
});

The url returned by the proxy function can be any endpoint from your server side of your app (e.g. a php file or Express endpoint etc).

from github-calendar.

hayorov avatar hayorov commented on May 20, 2024

I'm also confirming that urlreq.appspot.com is under "Over Quota". izuzak/urlreq#7

from github-calendar.

Funkh0user avatar Funkh0user commented on May 20, 2024

its back up again. I'd still love a more detailed explanation on how to use a custom proxy or to acquire more qouta.

from github-calendar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.