Skip to content

Unable to use Serve API behind Cloudflare #57

@Puyodead1

Description

@Puyodead1

Describe the bug
If you run a serve API behind Cloudflare, pywidevine will refuse to load the remote CDM because of the server header. The Server header is overwritten by Cloudflare.

To Reproduce

  • Run a serve API behind Cloudflare and attempt to connect to it
  • Failed to load CDM, This Remote CDM API does not seem to be a pywidevine serve API (cloudflare).

Expected behavior
Continues loading the remote cdm.

Additional context
This is most likely an issue with other things also besides just Cloudflare. Maybe use a custom header instead

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