Images uploading problem (Heroku, S3, JS)

AI-generated summary

Images uploading problem (Heroku, S3, JS)

User Anthony_Hopkins experienced issues with image uploads on Heroku, where the Uploading… process never ended. Despite verifying a correct Heroku-S3 connection and a successful server response (HTTP Status 200), the problem persisted. After ruling out JS errors and noting that the same configuration worked locally, Anthony_Hopkins explained that Heroku was chosen by the client and the issue was likely client-side. codinghorror and sam suggested potential issues with the Heroku install, recommending a docker-based install. However, Anthony_Hopkins eventually discovered and fixed the issue, which was due to an invalid HTTPS protocol configuration.

When I try to upload image (composer form, User Avatar etc.) the Uploading… never ends.

I tested everything:

  1. Heroku → S3 connection correct (file uploaded):
  2. Heroku response Success (HTTP Status 200)
  3. It looks like some JS error but No JS errors
  4. The same configuration works properly on my local Ubuntu.

Any idea? Thanks for response

Why is Heroku involved here? We can only support the docker-based install.

Heroku because my client choiced Heroku.

Heroku is a server layer. As you see the server response is correct (identical as at my Local machine). File saved to S3 correctly. The problem is client (Browser+JS) side.

We use s3 uploads on meta, they work fine

I suspect something is off with your heroku install, this is one of the many reasons docker is the only install method we support

The problem was invalid https protocol configuration. Fixed. Thanks for help