Back

[SOLVED] Error uploading more than 1 min

  • 1
  • Web
  • Cloud
telemetry
7 Sep, 2024, 20:55
TL;DR
An error occurred when uploading files larger than 1 minute, resulting in a 502 Bad Gateway error. The developers recommended disabling encryption on the bucket as a potential solution, but it persisted. They discovered the issue was likely a timeout rather than a file size problem. The issue was resolved by updating to "appwrite": "^15.0.0", with successful uploads for files under 1MB.
D5
7 Sep, 2024, 20:56

Can you try using the latest SDK version?

telemetry
7 Sep, 2024, 20:57

ok sure.. I will let you know the result

telemetry
7 Sep, 2024, 23:02

just a sec

telemetry
7 Sep, 2024, 23:04

ok this is for 2.5mb file:

Steven
7 Sep, 2024, 23:08

Kk so I'm leaning towards it being a 60s timeout rather than file size problem

Steven
7 Sep, 2024, 23:09

What are the response headers?

telemetry
7 Sep, 2024, 23:10

content-length: 11 content-type: text/plain; charset=utf-8 date: Sat, 07 Sep 2024 23:03:38 GMT

Steven
7 Sep, 2024, 23:10

Is there a server header?

telemetry
7 Sep, 2024, 23:15

nope

telemetry
7 Sep, 2024, 23:15

im uploading using cloud console btw

telemetry
7 Sep, 2024, 23:42

Error uploading more than 1 min

telemetry
8 Sep, 2024, 01:32

Is there a solution for this? What do I need to do to fix this?

Steven
8 Sep, 2024, 01:32

Our team will need to dig into this further

telemetry
8 Sep, 2024, 02:09

Thank you Steven.. any idea about ETA? my client uploads files everyday. Will it be fixed by Monday by any chance?

Steven
8 Sep, 2024, 02:15

Possibly. We need to do more investigation and there's limited availability from the team over the weekend and this upcoming week

Steven
8 Sep, 2024, 02:45

one interesting idea....do you have encrypted enabled on the bucket? what if you disable it?

telemetry
8 Sep, 2024, 03:39

Ok I will try later today.

telemetry
8 Sep, 2024, 07:02

I tried your suggestion.. I turned off the encryption and antivirus and still doesn't work.. well it's worth a shot I guess..

telemetry
8 Sep, 2024, 07:02
Steven
8 Sep, 2024, 12:20

Kk thanks for trying.

Steven
9 Sep, 2024, 15:10

How is it now?

Steven
16 Sep, 2024, 17:02

@telemetry, is it working okay for you now?

telemetry
16 Sep, 2024, 21:55

@Steven It is working okay now thank you! My client is happy, I'm happyy

Steven
16 Sep, 2024, 22:00

[SOLVED] Error uploading more than 1 min

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more