inception: Error accessing PDF
Describe the bug After uploading a PDF file, I am not able to see or annotate it. It seems that the server is not able to access the file, the Console is giving me the following error messages:
Refused to connect to 'http://my.server.name.fr/p/test2/annotate?3-1.1-centerArea-editor-vis&time=1680690334665' because it violates the following Content Security Policy directive: "connect-src 'self'".
Refused to connect to 'http://my.server.name.fr/p/test2/annotate?3-1.1-centerArea-editor-vis&time=1680690334665' because it violates the document's Content Security Policy.
I eddited the settings.properties file with different wicket.core.csrf.accepted-origins
but it did not changed anything.
Observations
- I tried changing editors, the brats are working (but are not adapted to annotate pdfs) and PDF(legacy) indicates an incompatible file format (pdf2). I believe those behaviour are expected (same thing happens with different pdf files).
- The console also indicates that the connexion to the WebSocket failed. This message appears when entering a project and I do not know if it is important since it does not seems that it is affecting anything.
- When clicking on the link in the console error message,
http://my.server.name...
, the pdf opens in the brower, but is redirected to https. Could this be related ?
Information:
- Version and build ID: 27.3 (2023-03-28 21:05:02, build cdd73a94)
- OS: Windows
- Browser: Chrome
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 18 (12 by maintainers)
Thanks, I think I found it. I am creating the dedicated issue now.
They did 😉 https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.7-Release-Notes - scroll down to SSL
Strange thing is that https is not activated anymore. It was before.
I will keep this issue open for a few days if that’s ok, and update you with my investigations ^^