Skip to content

bug: error "internal error" appears when uploading any image #1171

@dewmguy

Description

@dewmguy

What happened?

at any available option to upload an image, doing so results in the error "internal error"

built a few minutes ago, using docker, compiled a config from examples provided in the github repo. if there is something special i need to do, like if an S3 server is required to enable file uploads, then that's not effectively communicated in the instructions.

edit: looking at logs while i upload appears to indicate there is a valid connection and potentially successful upload, but the error is being returned in spite of that.

Branch

Nightly (nightly.revolt.chat)

Commit hash

41f47a1 (master)
Nightly 1.0.1
API: 0.8.9
revolt.js: 6.0.17

What browsers are you seeing the problem on?

Firefox

Relevant log output

autumn-1  |  INFO  revolt_autumn::api > Received file sinistar.png
autumn-1  | Original hash: d6ebe22a6bc019f064c09f870ae303bd6544953150d04ccfa00c63cc23f04de2
autumn-1  | Original size: 351361 bytes
autumn-1  | Mime type: image/png
autumn-1  | Metadata: Image { width: 920, height: 920 }
autumn-1  | Processed file size: 336556 bytes (95.79%).
autumn-1  | Processed hash: a52045a9931484a67708a5383d67890d30ff00105c8e4dc9ad3dde8d2aca2f26
autumn-1  | Processing took 17.562582ms

Desktop

  • Yes, this bug is specific to Revolt Desktop and is not an issue with Revolt Desktop itself.

PWA

  • Yes, this bug is specific to the PWA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions