openskope / skopeui

SKOPE user interface and visualization app
https://www.openskope.org
MIT License
0 stars 4 forks source link

Access control check failures #177

Closed bocinsky closed 2 years ago

bocinsky commented 2 years ago

I'm getting the following when I try and change the smoothing parameters in the analyze tab:

[Error] Origin https://app.openskope.org is not allowed by Access-Control-Allow-Origin. Status code: 500
[Error] XMLHttpRequest cannot load https://api.openskope.org/timeseries due to access control checks.
[Error] analysis store response error:  – {e: Error: Network Error}
{e: Error: Network Error}Object
    (anonymous function) (bffa47f.js:1:11405)
    (anonymous function) (b53aee8.js:2:160883)
    (anonymous function) (f1e29f0.js:2:94046)
    (anonymous function) (f1e29f0.js:2:95570)
    forEach
    (anonymous function) (f1e29f0.js:2:95555)
    (anonymous function) (f1e29f0.js:2:97467)
    (anonymous function) (f1e29f0.js:2:95533)
    (anonymous function) (b53aee8.js:2:158439)
    (anonymous function) (bffa47f.js:1:2992)
    v (f1e29f0.js:2:101958)
    (anonymous function) (f1e29f0.js:2:101743)
    r (f1e29f0.js:2:67646)
    h (f1e29f0.js:2:67886)
    promiseReactionJob
[Error] Failed to load resource: Origin https://app.openskope.org is not allowed by Access-Control-Allow-Origin. Status code: 500 (timeseries, line 0)
bocinsky commented 2 years ago

This may be happening specifically when you try to change the width of the smoothing window.

alee commented 2 years ago

Should be fixed after updating CORS handling in haproxy