mastodon-ios
mastodon-ios copied to clipboard
[BUG] 502 errors when posting images
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
Multiple users report 502 errors when trying to post images to my server using the official iOS app. The same users confirm they can post the same images using the web interface.
Expected Behavior
Images can be posted without errors.
Steps To Reproduce
- Create new post in the iOS app
- Attached image
- Attempt to publish
Environment
This issue has been confirmed by a user as present in v1.4.8
Anything else?
This problem may be related to this other issue https://github.com/mastodon/mastodon-ios/issues/712
The server is running v4.0.2, with Wasabi object storage (eu-central-1) through the standard Mastodon media nginx configuration. All services run behind Cloudflare with full SSL.
Can confirm we also see this behaviour with all servers In London and using the AWS S3 service also in London.
Do you have any logs on your server that provide details about why the 502 was returned?
Do you have any logs on your server that provide details about why the 502 was returned?
I don't see anything that could be relevant to that in our logs. I'll ask some users to try again and let me know the times so I can check again. For info, but @Wild1145 and I are running behind Cloudflare, not sure if that could be causing some strange issues with the iOS app, but doesn't seem to be an issue with any other apps or the web interface.
I am also running behind Cloudflare (mace.au) and also having an issue uploading images to posts (502) using the iOS app.
The image in question was a PNG screenshot captured off an iPhone 12 Pro at approx. 284KB.
Will work on getting logs, but wanted to give an extra data point.