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

Access to XMLHttpRequest at ... has been blocked by CORS policy #44

Open
parseccentric opened this issue Dec 13, 2021 · 0 comments
Open
Labels
bug Something isn't working main-branch

Comments

@parseccentric
Copy link
Contributor

Steps to reproduce

  1. Navigate to Metrics page
  2. In Capture Data, select a Course and a Lab
  3. Clear the course

Expected result

No errors.

Actual result

Access to XMLHttpRequest at '<DEV API URL>/labs' from origin '<DEV BASE URL>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
xhr.js:172 GET <DEV API URL>/labs net::ERR_FAILED 502
(anonymous) @ xhr.js:172
e.exports @ xhr.js:11
e.exports @ dispatchRequest.js:59
Promise.then (async)
l.request @ Axios.js:53
l.<computed> @ Axios.js:68
(anonymous) @ bind.js:9
ne @ course.js:23
getLabsByCourseId @ Metric.vue:476
nt @ vue.runtime.esm.js:1854
n @ vue.runtime.esm.js:2179
nt @ vue.runtime.esm.js:1854
An.e.$emit @ vue.runtime.esm.js:3882
setValue @ vuetify.js:22393
clearableCallback @ vuetify.js:21875
click @ vuetify.js:16554
nt @ vue.runtime.esm.js:1854
n @ vue.runtime.esm.js:2179
Zr.a._wrapper @ vue.runtime.esm.js:6911
createError.js:16 Uncaught (in promise) Error: Network Error
    at e.exports (createError.js:16)
    at XMLHttpRequest.h.onerror (xhr.js:81)
@parseccentric parseccentric added bug Something isn't working main-branch labels Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working main-branch
Projects
None yet
Development

No branches or pull requests

1 participant