Skip to content
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 Proxy Issue #278

Closed
onwingslikeeagles opened this issue Mar 18, 2019 · 6 comments
Closed

Cors Proxy Issue #278

onwingslikeeagles opened this issue Mar 18, 2019 · 6 comments

Comments

@onwingslikeeagles
Copy link

Hello. I've worked with various commentators about this project on issue #243. I've seen great success from moving to from to a GitHub specific application. I'm sharing this information beforehand to state that I've seen the project in a working state before.

With that being said, my project is currently experiencing a cors proxy issue. Below is the following error I'm receiving:

Access to XMLHttpRequest at 'https://dev.staticman.net/v3/entry/github/discordUser/discordRepo/discordBranch/staticmanId' from origin 'http://localhost:4000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Note: Information beginning with discord and staticman have been replaced by default names because it's a private repository.

This behavior has started happening since yesterday. Are there any known issues with the application as of then? Is anyone else able to replicate this issue with the current application v3?

@onwingslikeeagles
Copy link
Author

Update: Another developer on our team mentioned that it's not a cors issue after all. Cors was turned off on their browser and they received an error code of 503. This to me infers that there's an issue with the system itself. The issue still exist as of writing this comment.

@bernikr
Copy link

bernikr commented Mar 20, 2019

I get the same error on my personal blog, and when trying to post a comment with Postman I get a generic herokucdn application error. I think there is something wrong with the hosted staticman instance.

@casually-creative
Copy link

Confirming that the problem is indeed still happening and is a major blocking issue. As of now our team can not continue using this hosted version of staticman. Sorry for the ping @eduardoboucas but this to me seems like an urgent matter.

@eduardoboucas
Copy link
Owner

The development API (dev.staticman.net) is running on a free tier Heroku instance. Because too many people started using it in their projects, it reached its limits.

I have merged the v3 endpoints into the production API (api.staticman.net), which should now have the exact same capabilities as the development one. If you use this one instead, you should no longer see these errors.

Please reopen this issue if the problem still occurs.

Thanks!

@casually-creative
Copy link

Thank you very much! Seems like we forgot we were working on the dev instance. Swapping to the production API fixed the issue!

@hatamiarash7
Copy link

I have this issue with api.staticman.net :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants