Skip to content

Upload URL from video.save negotiates HTTP/1.1; SDK's FileFullRequestBody forces duplex (HTTP/2-only) → OkHttp ProtocolException #564

@tergel93

Description

@tergel93

video.save returns an upload_url that negotiates ALPN = HTTP/1.1.
The SDK’s okhttp/FileFullRequestBody unconditionally returns isDuplex=true (meant for HTTP/2).
When uploading to that URL, OkHttp rejects duplex over HTTP/1.1 and throws:
java.net.ProtocolException: Duplex connections are not supported for HTTP/1

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