https://discord.cloudflare.com logo
Join Discord
Powered by
# r2
  • k

    kev-ac

    03/01/2023, 3:05 PM
    Have you tried this?
  • u

    ucinteractivesl

    03/01/2023, 3:06 PM
    No I haven`t trieid
  • k

    kian

    03/01/2023, 3:06 PM
    Probably needs the Content- headers
  • u

    ucinteractivesl

    03/01/2023, 3:06 PM
    I tried to connect a custom domain but it says the zone alrady exist
  • k

    kian

    03/01/2023, 3:06 PM
    Oh, it’s GET
  • k

    kev-ac

    03/01/2023, 3:07 PM
    HLS should work fine with no special configuration. At least it does for me.
  • k

    kev-ac

    03/01/2023, 3:08 PM
    Just needs correct CORS settings and a non-S3-endpoint (or Presigned URL on S3 endpoint according to the docs)
  • u

    ucinteractivesl

    03/01/2023, 3:08 PM
    What do you mean by non-S3-endpoint (?
  • u

    ucinteractivesl

    03/01/2023, 3:08 PM
    What`s the cors settings you are using?
  • k

    kev-ac

    03/01/2023, 3:09 PM
    Custom domain
  • k

    kev-ac

    03/01/2023, 3:09 PM
    https://vod-cdn.shopo.video/bbb/master.m3u8 This comes from a test bucket of me. CORS setting is the following:
  • k

    kev-ac

    03/01/2023, 3:10 PM
    Copy code
    [
      {
        "AllowedOrigins": [
          "*"
        ],
        "AllowedMethods": [
          "GET"
        ]
      }
    ]
  • u

    ucinteractivesl

    03/01/2023, 3:11 PM
    Pl
  • u

    ucinteractivesl

    03/01/2023, 3:11 PM
    Ok
  • u

    ucinteractivesl

    03/01/2023, 3:11 PM
    Trying with that cors settings
  • u

    ucinteractivesl

    03/01/2023, 3:11 PM
    Not working
  • u

    ucinteractivesl

    03/01/2023, 3:12 PM
    So you have a custom domain connected in bucket settings don´t you?
  • k

    kev-ac

    03/01/2023, 3:12 PM
    Yours should also work fine. Just use a custom domain instead of the S3-endpoint.
  • k

    kev-ac

    03/01/2023, 3:12 PM
    Yes
  • k

    kev-ac

    03/01/2023, 3:12 PM
    It will look something like this.
  • u

    ucinteractivesl

    03/01/2023, 3:12 PM
    Ok I see
  • u

    ucinteractivesl

    03/01/2023, 3:13 PM
    The thing is that I tried that a few times and it is always saying that the domain that I´m adding already exists in that zone
  • k

    kev-ac

    03/01/2023, 3:14 PM
    Does the subdomain you try to add exist as a DNS record in your zone? Then this can result in a error message
  • u

    ucinteractivesl

    03/01/2023, 3:14 PM
    Ok is because you can`t use then the same domain as the url of the public service
  • u

    ucinteractivesl

    03/01/2023, 3:14 PM
    Ok
  • u

    ucinteractivesl

    03/01/2023, 3:14 PM
    I added a subdomain now
  • u

    ucinteractivesl

    03/01/2023, 3:14 PM
    Is set
  • k

    kev-ac

    03/01/2023, 3:15 PM
    Give it a minute to issue a SSL certificate, then you can try again to access the content
  • u

    ucinteractivesl

    03/01/2023, 3:15 PM
    So you suggest to use this subdomain rather than the S3-endpoint in my web app config file?
  • k

    kev-ac

    03/01/2023, 3:15 PM
    It depends what you are doing in your web app. For uploads to the bucket you have to use the S3 endpoint.
1...922923924...1050Latest