Report this

What is the reason for this report?

Not able to upload files to Nextcloud with Spaces as External Storage

Posted on June 15, 2018

I am not able to upload files on Nextcloud which uses Spaces as an external storage.

I am able to view the files that are already in the space.

On opening the network monitor, the PUT call on Nextcloud fails with 500. This is the log output

Aws\S3\Exception\S3Exception: Error executing "PutObject" on "http://spacename.sgp1.digitaloceanspaces.com/bookmarks_6_14_18.html"; AWS HTTP error: Client error response [url] https://spacename.sgp1.digitaloceanspaces.com/bookmarks_6_14_18.html [status code] 403 [reason phrase] Forbidden SignatureDoesNotMatch (client): - <?xml version="1.0" encoding="UTF-8"?><Error><Code>SignatureDoesNotMatch</Code><RequestId>tx0000000000000033e3ed6-005b2392f4-11ec04-sgp1a</RequestId><HostId>11ec04-sgp1a-sgp</HostId></Error>

Initially, I thought it was a CORS issue, so I made an entry with host as * and allowing everything. Though, that did not help.

Any ideas why this could be happening ?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Ok, so the reason was SSL not being enabled.

If it helps anyone else, make sure SSL is enabled in the External Storage’s settings in Nextcloud if you’re using Spaces for storage

Thanks just had the same problem. turned SSL on and worked.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.