Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

Error preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource #321

Open
zmarozas opened this issue Apr 6, 2017 · 0 comments

Comments

@zmarozas
Copy link

zmarozas commented Apr 6, 2017

Hello,
I am traying to set up interactive dashboard solution which can found here
https://github.com/ch41rmn/PyConAU2016_-_Interactive_Data_Displays_With_Jupyter_Notebooks

I am running in corporate environment where they do restrict access to certain websites.
Even though I am running all servers : jupyter notebook , gateway and dashboard server on the same machine.

I did set
c.NotebookApp.allow_origin = '*' in my jupyter_notebook_config.py file, but this did not help.

Here is a error message:
OPTIONS http://10.6.56.121/ 403 (Forbidden)
3_PyCon_dashboard.demo_full:1 XMLHttpRequest cannot load http://10.6.56.121/. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 403.
dashboard.js:108 Error: Failed to create kernel: API request failed (0):
at kernel.js:65

I wonder , is there a way to get rid of this error.
Regards,
Zilvinas

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant