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

Intermittent CORS issue on /lookup/ requests #4

Open
wstlabs opened this issue Jun 26, 2016 · 1 comment
Open

Intermittent CORS issue on /lookup/ requests #4

wstlabs opened this issue Jun 26, 2016 · 1 comment
Labels

Comments

@wstlabs
Copy link
Collaborator

wstlabs commented Jun 26, 2016

Submits on the app stopped working today, with the following trace in the console log:

lookup.js:29 :: ajax url =[http://lookup.heatseek.org:6001/lookup/330+Broome+Street,+New+York,+NY,+United+States]
lookup.js:29 procform done.
lookup.heatseek.org/:1 XMLHttpRequest cannot load http://lookup.heatseek.org:6001/lookup/330+Broome+Street,+New+York,+NY,+United+States. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://lookup.heatseek.org' is therefore not allowed access.
lookup.js:29 :: ajax fail![object Object]

Of interest is the "No 'Access-Control-Allow-Origin' header is present on the requested resource" part.

What's strange is that we (thought) we were treating cross-origin requests properly already (using appropriate incantations from flask.ext.cors), and we've been accessing the app just fine under the new domain (in case that mattered in some way) for some time already, also.

Whatever the cause, it's blocking the app from running, so it's a very urgent bug.

@wstlabs wstlabs added the bug label Jun 26, 2016
@wstlabs
Copy link
Collaborator Author

wstlabs commented Jul 5, 2016

Update -- the exceptions stopped happening (and the app is now working again), even though no changes have been made server-side. Which is still somewhat disconcerting - even though the app works.

Not sure any action is needed at this point -- but I'm going to change the subject of this ticket to something less urgent-sounding, even though we'll still consider this a "possible" bug.

@wstlabs wstlabs changed the title No 'Access-Control-Allow-Origin' header is present on the requested resource Intermittent CORS issue on /lookup/ requests Jul 5, 2016
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

1 participant