-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CORS is preventing the request #54
Comments
@IonicaBizau Happy to take a look when I find a moment. Can you please open an issue with clear steps to reproduce? 🙏 |
Well, actually it's because Over Quota 🙈
And because that response doesn't have the CORS headers, the error appears in the browser. |
Problem solved, then 😄 You can spin up your own instance of that server (the code is open source) and buy additional quota for yourself. |
Indeed 😅 |
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. |
This issue is happening again.
@IonicaBizau any directions on how to do that? |
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? |
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 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 |
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. |
I'm also confirming that urlreq.appspot.com is under "Over Quota". izuzak/urlreq#7 |
its back up again. I'd still love a more detailed explanation on how to use a custom proxy or to acquire more qouta. |
In the latest releases I implemented the new proxy from @Bloggify. Currently there are no max quotas, but using the default cache is recommended. |
The script was running fine until today.
Failed to load resource: Origin http://mywebsite.com is not allowed by Access-Control-Allow-Origin.
Tested under Safari and Firefox.
The text was updated successfully, but these errors were encountered: