Back

Im getting this error when i try to create a new file on storage

  • 0
  • Flutter
  • Storage
  • Cloud
dyslexic_daddy
27 Feb, 2025, 17:27

SSLV3_ALERT_BAD_RECORD_MAC(tls_record.cc:583) error 268436476, uri=https://cloud.appwrite.io/v1/storage/buckets/67bxxxxxxxxxxxxd026/files (0)

as well as this error

ClientException: Connection reset by peer, uri=https://cloud.appwrite.io/v1/storage/buckets/67b10xxxxxxxxxxxx026/files (0)

yes my internet is stable and im able to perform reads and write to the Database. I'm only facing this issue with storage i have checked if its the permissions by setting it to any

this is the code i have used to create a new file on storage

TypeScript
          bucketId: bucketId,
          fileId: fileId,
          file: InputFile.fromPath(path: image),
          permissions: [
            Permission.read(Role.any()), // Anyone can read
            Permission.write(
                Role.user(userId)), // Only the user can edit/delete
          
          ]);
      return result; ```
TL;DR
Developers are encountering errors when trying to create a new file on storage using Appwrite SDK version 13.0.0 and Flutter 3.29.0. The errors include SSLV3_ALERT_BAD_RECORD_MAC and Connection reset by peer. Ensure internet connection stability, check permissions, and use the proper versions of Appwrite and Flutter for compatibility.
Steven
27 Feb, 2025, 17:33

weird....i wonder if this is a flutter bug. what version of flutter do you have?

dyslexic_daddy
27 Feb, 2025, 17:34

flutter 3.29.0

WhMonkey
27 Feb, 2025, 17:37

What flutter appwrite version are you on?

dyslexic_daddy
27 Feb, 2025, 17:38

appwrite: ^14.0.0

WhMonkey
27 Feb, 2025, 17:59

Try appwrite: 13.0.0

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