sehmaschine / django-filebrowser

Media-Management with Grappelli
http://twitter.com/sehmaschine
Other
976 stars 408 forks source link

Refused to connect #396

Closed omidshojaee closed 3 years ago

omidshojaee commented 3 years ago

I can go to admin/filebrowser/browse, upload files, and see and change uploaded files without any issue. Everything works fine.

I have django-tinymce too, and I see an upload button in the Insert/Edit Image window, but if I click on that a new window opens and I see 127.0.0.1 refused to connect.

I'm working in my development environment.

Please assist.

Environment: Django 3.1.7 Django-TinyMCE 3.2.0 Django-FileBrowser 3.13.2 Django-Grappelli 2.14.3

sehmaschine commented 3 years ago

Can you please try without django-tinyme? We cannot comment on issues which are possibly related to another package.

sehmaschine commented 3 years ago

closing this since nor further details have been given.

lugishr commented 3 years ago

@OmidShojaee Did you solve the issue ? I have the same issue, admin/filebrowser/browse working fine but upload button in django-tinymce says refused to connect.

omidshojaee commented 3 years ago

@lugishr No sorry. Nobody helped me here so I gave up and removed it.

lugishr commented 3 years ago

@OmidShojaee sorry to hear that, I had big hope that I would somehow make it work... Anyway, thank you for your quick reply.

tatiblockchain commented 3 years ago

I have the exact same problem with django-tinymce - still no solution?

sehmaschine commented 3 years ago

Happy to look at a PR (I'm not using django-tinymce myself).

hikir1 commented 2 years ago

The XFrameOptionsMiddleware sets the X-Frame-Options http header to DENY by default. You can change this by setting X_FRAME_OPTIONS = 'SAMEORIGIN' in settings.py. This fixed the issue for me.