Used Mastodon 1-click Deployment, can't upload images

I used the mastodon 1-click deployment images, and I set it up to work with digitalocean spaces, but I don’t seem to be able to upload images. I keep getting “We’re sorry, but something went wrong on our end.”

When I run journalctl -u mastodon-web, I’m seeing 202 errors from the relays I’ve set up, but no record of the attempt and fail. When I check /var/log/nginx/error.log, I am seeing entries that just don’t seem to apply to the failed image upload event.

2022/12/24 00:25:53 [error] 4942#4942: *88968 connect() failed (111: Connection refused) while connecting to upstream, client: ..., server:, request: “GET /@admin HTTP/2.0”, upstream: “”, host: “” 2022/12/24 01:04:10 [crit] 4942#4942: *91431 SSL_do_handshake() failed (SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking, client: ..., server:

I’m not sure where to continue troubleshooting the issue

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Site Moderator
Site Moderator badge
December 26, 2022

Hi @adammpkins,

How are you trying to upload the images, have you checked the documentation and how to allow your Application to use Spaces, you need a token for it. Check the following tutorial and see if that would be helpful:

Additionally, you can check the examples from here -

They might prove to be of help.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.