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

The livepreview panel is not authorized to connect ? #9

Open
LunatikDev opened this issue Mar 24, 2020 · 3 comments
Open

The livepreview panel is not authorized to connect ? #9

LunatikDev opened this issue Mar 24, 2020 · 3 comments

Comments

@LunatikDev
Copy link
Contributor

Hi Kalob, i have a bug with the live preview the panel shows up but its empty with the below message:
The message says the connection is blocked.
image

@KalobTaulien
Copy link
Owner

Hey @LunatikCoder

Thanks for submitting this!

Would you be able to get me more details? Which version of Wagtail and Django, things like that. And if your terminal is outputting any type of error, the traceback will be helpful too.

Thanks!

@LunatikDev
Copy link
Contributor Author

Sorry, i didn't think about including those info's:
python == 3.6.8
Django==3.0.4
wagtail==2.8

There is no error in terminal, the only error is the image i posted.

@QuantumPhy
Copy link

hello @LunatikCoder

i don't know if you correct your issue or not but in case it's not i got the same and here how i correct it :

add :
X_FRAME_OPTIONS = 'ALLOWALL' to your setting.py

https://stackoverflow.com/questions/37694881/django-nginx-refused-to-display-in-a-frame-because-it-set-x-frame-options-to

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

No branches or pull requests

3 participants