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 errors, 1/29/2015 #74

Closed
SherriAlexander opened this issue Jan 29, 2015 · 2 comments
Closed

CORS errors, 1/29/2015 #74

SherriAlexander opened this issue Jan 29, 2015 · 2 comments
Assignees
Labels

Comments

@SherriAlexander
Copy link

Hey there! I fired up my local version of Artbot today to do some more Remember Me testing, but I seem to be getting CORS errors on all calls to the API. Here's one example from attempting to log in (but all the other Ajax requests to the API are failing as well):

 POST http://artbot-api.herokuapp.com/tokens/ 
/sign-in.html:1 XMLHttpRequest cannot load http://artbot-api.herokuapp.com/tokens/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://artx.site.192.168.1.157.xip.io' is therefore not allowed access. The response had HTTP status code 503.
scripts-concat.min.js:15 User login submit failed
scripts-concat.min.js:14 Error: 
scripts-concat.min.js:14 jqXHR status: 0 error
scripts-concat.min.js:14 jqXHR response: 
scripts-concat.min.js:14 Error JSON: null

Did something change since yesterday that could be causing this? Thanks!

@mailbackwards
Copy link
Collaborator

Sorry about that! It's back up now. I had a dumb error in my code and should have tested it.

@SherriAlexander
Copy link
Author

Looking good now -- thank you for the quick fix! (and no worries -- these things happen!) :)

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

No branches or pull requests

2 participants