Skip to content

CORS policy problem #496

@hormiai76

Description

@hormiai76

Hi,
My EXI doesn't work. The browser console return to me the following messages:

index.html#/autoprocintegration/datacollection/15560/autoprocIntegration/17682/main:1 Access to XMLHttpRequest at 'https://ispyb.maxiv.lu.se/ispyb/ispyb-ws/rest/52d20b806aabd5a3d2fba810370eacd4a667ab77/proposal/MX20180338/mx/autoprocintegration/17682/fastdp/cc2' from origin 'https://exi-test.maxiv.lu.se' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
ispyb.maxiv.lu.se/ispyb/ispyb-ws/rest/52d20b806aabd5a3d2fba810370eacd4a667ab77/proposal/MX20180338/mx/autoprocintegration/17682/fastdp/rfactor:1 Failed to load resource: the server responded with a status of 404 (Not Found)
ispyb.maxiv.lu.se/ispyb/ispyb-ws/rest/52d20b806aabd5a3d2fba810370eacd4a667ab77/proposal/MX20180338/mx/autoprocintegration/17682/fastdp/rfactor:1 Failed to load resource: the server responded with a status of 404 (Not Found)
index.html#/autoprocintegration/datacollection/15560/autoprocIntegration/17682/main:1 Access to XMLHttpRequest at 'https://ispyb.maxiv.lu.se/ispyb/ispyb-ws/rest/52d20b806aabd5a3d2fba810370eacd4a667ab77/proposal/MX20180338/mx/autoprocintegration/17682/fastdp/rfactor' from origin 'https://exi-test.maxiv.lu.se' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
ispyb.maxiv.lu.se/ispyb/ispyb-ws/rest/52d20b806aabd5a3d2fba810370eacd4a667ab77/proposal/MX20180338/mx/autoprocintegration/17682/fastdp/completeness:1 Failed to load resource: the server responded with a status of 404 (Not Found)
ispyb.maxiv.lu.se/ispyb/ispyb-ws/rest/52d20b806aabd5a3d2fba810370eacd4a667ab77/proposal/MX20180338/mx/autoprocintegration/17682/fastdp/completeness:1 Failed to load resource: the server responded with a status of 404 (Not Found)
index.html#/autoprocintegration/datacollection/15560/autoprocIntegration/17682/main:1 Access to XMLHttpRequest at 'https://ispyb.maxiv.lu.se/ispyb/ispyb-ws/rest/52d20b806aabd5a3d2fba810370eacd4a667ab77/proposal/MX20180338/mx/autoprocintegration/17682/fastdp/completeness' from origin 'https://exi-test.maxiv.lu.se' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
ispyb.maxiv.lu.se/ispyb/ispyb-ws/rest/52d20b806aabd5a3d2fba810370eacd4a667ab77/proposal/MX20180338/mx/autoprocintegration/17682/fastdp/isigma:1 Failed to load resource: the server responded with a status of 404 (Not Found)
ispyb.maxiv.lu.se/ispyb/ispyb-ws/rest/52d20b806aabd5a3d2fba810370eacd4a667ab77/proposal/MX20180338/mx/autoprocintegration/17682/fastdp/isigma:1 Failed to load resource: the server responded with a status of 404 (Not Found)
index.html#/autoprocintegration/datacollection/15560/autoprocIntegration/17682/main:1 Access to XMLHttpRequest at 'https://ispyb.maxiv.lu.se/ispyb/ispyb-ws/rest/52d20b806aabd5a3d2fba810370eacd4a667ab77/proposal/MX20180338/mx/autoprocintegration/17682/fastdp/isigma' from origin 'https://exi-test.maxiv.lu.se' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.`

It's a bug or I need to setup my server in a different way in order to avoid CORS problems?
Regards,
Alberto Nardella

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions