Skip to content

Intermittent CORS issue on /lookup/ requests #4

Description

@wstlabs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions