Skip to content

@vercel/blob never completes stream uploads #881

@johannes-scharlach

Description

@johannes-scharlach

I've created a minimal replication here.

const blob = await upload(fileName, stream, {
  access: "public",
  handleUploadUrl: "/api/test/upload",
  multipart: true,
  contentType: mimeType,
});

this Promise never resolves when stream is a ReadableStream.

The real use case I have is for streaming audio from the client for transcription purposes, so I've also added an example of that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions