• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • ๐Ÿ˜Œ This community is user driven. Be polite with other users.
    • ๐Ÿ‘‰ Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • ๐Ÿ’ธ Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • โš ๏ธ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • โœ… Confirm that the server meets the System Requirements
    • ๐Ÿ”ฅ Check for any available Hotfix - your issue could be already reported/fixed
    • ๐Ÿ“š Read documentation - It will be required to Debug and understand Errors for a faster support response

Content Security Policy

Status
Not open for further replies.

dhiananda

Chevereto Member
๐Ÿ‘‰ Problem below

๐ŸŽฏ Description of the issue

With newer browser, like Firefox and Chrome, uploading images, will throw an error "Some files couldn't be added"

โ–ถ๐Ÿšถโ€ Reproduction steps
  1. Open browser, upload any images. using newest Chrome or Firefox.
  2. Click upload.
๐Ÿ˜ข Unexpected result

Error notice: "Some files couldn't be added"

๐Ÿ“ƒ Error log message

Error log shown at the browser console:
Content Security Policy: The pageโ€™s settings blocked the loading of a resource at blob:https://domain.name/d0a6e403-2f6f-48ba-95f3-e6ba93a29136 (โ€œdefault-srcโ€).
I have set CSP for the img-src, too, but whatever I put there, the error still redirect to 'default-src'
This not happen with older browser, or even IE 11 have no problems.
Not sure why recent browser throw this error. Any tips without disabling CSP?
Thanks in advance.
 
nope too, working good. i advice check non-website resources if you're using anything like cloudflare,adsense etc. and try CSP with clean browser cache.
 
Have you checked server error logs? I had this, and needed to increase php timeouts and max upload limits.

Nginx configs to apply if needed:
fastcgi_read_timeout 600s
client_max_body_size 20M;
 
Unfortunately, this ticket has more than seven days without a reply or feedback from the original poster. We will now consider this ticket abandoned and its now closed.

Don't hesitate to create a new ticket if this matter is still causing you issues.

Ticket closed.
 
Status
Not open for further replies.
Back
Top