Comments (13)
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.
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.
@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.
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.
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 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.
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.
Indeed 😅
from github-calendar.
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.
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.
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.
I'm also confirming that urlreq.appspot.com is under "Over Quota". izuzak/urlreq#7
from github-calendar.
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)
- Integrating the months & days colors with the site's default + Bold Text
- How to use this library for React Js project? HOT 1
- Using library in a project HOT 1
- Can't I see a graph that reflects the change immediately? HOT 1
- ❗️ The numbers are not displayed correctly at the moment. HOT 7
- Please make a video-tutorial available to successully plug the widget to our websites
- GithubCalendar is no longer exported from "github-calendar" ? HOT 6
- GitHub shows 'celebrating 100 million developers' HOT 1
- Please add a video-tutorial to guide on how to integrate them on the website. HOT 1
- not responsive
- Does not work anymore HOT 1
- issues getting this to work with Vue HOT 1
- Contributions showing as text, not squares HOT 10
- Hello, Calendar Stopped Displaying HOT 2
- Contributions not showing, now just a side-to-side slider thing HOT 3
- Github heatmap not showing up anymore HOT 5
- Total contributions counter and longest streak counter are not working anymore
- How do I deploy the API myself HOT 3
- Customizable Color Options for Contribution Charts HOT 2
- Tooltip Display Issue: Incorrect Class for Mouseenter Event
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 github-calendar.