unsplash icon indicating copy to clipboard operation
unsplash copied to clipboard

Error message 'Failed' when changing settings

Open Darkknight33 opened this issue 4 years ago β€’ 7 comments

New installation of Nextcloud 21 via docker w/mariadb backend, added unsplash through apps. No other apps are installed.

Whenever I attempt to change any settings to unsplash via the check boxes, a red 'failed' message appears and the changes do not apply.

No error messages appear in the console.

Attached screen shots.

splash2 splash1

Darkknight33 avatar May 11 '21 18:05 Darkknight33

Same issue on my side since Nextcloud 21.0 with postgres 14. Updated to NC 22.2.1, but the issue still remains.

I've also deinstalled the app and reinstalled, but nothing works. Found nothing in the nextcloud-logs, no network issue (firewall), nor any other logs listed an issue.

lineg-it avatar Nov 15 '21 10:11 lineg-it

Is this still a problem? If not i will close this issue in a couple of weeks to clean this tracker of old tickets.

newhinton avatar May 01 '22 18:05 newhinton

Hi please dont close this issue. I just install Nextcloud 24,0,1 with spash 1.2.5 and I have the same problem. So if I could add a comment, le backgroung behind the top bar dont change the icon color and when the background is dark user couldn't see the icons (it is the same with white background and white icons) it could be better ;)

CTONCD avatar Jun 01 '22 13:06 CTONCD

@CTONCD This ticket is only about the save error. The usability-issues are already in another ticket.

Regarding the save: can you take a look at the network-tab of your browser and see if that says something more specific?

newhinton avatar Jun 01 '22 13:06 newhinton

Exact, settings.js?v=10394b22-14:41 Refused to connect to 'http://xxxx.fr/apps/unsplash/settings/personal/set' because it violates the document's Content Security Policy. how I can do ?

CTONCD avatar Jun 01 '22 14:06 CTONCD

@CTONCD Can you check the Content-Security-Policy in the network tab of your browser?

You can open the developer-tools with F12 (Both chrome and firefox work)

There you can open the network-tab, and then change a checkbox. http://xxxx.fr/apps/unsplash/settings/personal/set this url will show up as a POST request. If you click on this you can see the header of the answer, and there should be a line which looks roughly like this:

Content-Security-Policy: default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'

What does it say in your browser?

Oh by the way: you should really not run your cloud with http. Thats a big security-issue, and if you need a certificate check out Let's Encrypt

newhinton avatar Jun 12 '22 12:06 newhinton

Any news? Otherwise i will close this. This specific setting will be removed for nextcloud 25 anyway, so this wil be overcome by events.

newhinton avatar Oct 12 '22 04:10 newhinton

No further information was provided.

newhinton avatar Nov 25 '22 00:11 newhinton