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

    HardAtWork

    02/20/2023, 8:09 PM
    It does render? Because the map should use Range requests to render
  • j

    johtso

    02/20/2023, 8:09 PM
    yes it renders fine
  • j

    johtso

    02/20/2023, 8:09 PM
    and my site works fine if I disable "cache everything"
  • j

    johtso

    02/20/2023, 8:28 PM
    is it possible to have more than one custom url pointing to the same bucket?
  • j

    johtso

    02/20/2023, 8:31 PM
    oh yes, I can just do that through the web interface, just can't use a CNAME to point at it
  • d

    daniel_klungo

    02/20/2023, 8:31 PM
    @johtso : maybe worth looking at how protomaps does this https://protomaps.com/docs/cdn/cloudflare
  • j

    johtso

    02/20/2023, 8:34 PM
    is this a project that uses range request against a larger file served on CF to serve map tiles?
  • j

    johtso

    02/20/2023, 8:34 PM
    it seems to use a worker
  • j

    johtso

    02/20/2023, 8:35 PM
    not exactly sure what bit of the project I'd look at
  • d

    daniel_klungo

    02/20/2023, 8:37 PM
    Yup. Could be a workaround 🤷‍♂️
  • h

    HardAtWork

    02/20/2023, 8:37 PM
    I actually used Protomap in the map above, so if that didn’t work, it probably wouldn’t work for you either
  • h

    HardAtWork

    02/20/2023, 8:37 PM
    ^What they did there
  • j

    johtso

    02/20/2023, 8:41 PM
    I actually just realised I had this problem half a hear ago
  • j

    johtso

    02/20/2023, 8:41 PM
    and had my ticket escalated
  • j

    johtso

    02/20/2023, 8:41 PM
    but it didn't go anywhere, support just kept asking if it was still a problem
  • j

    johtso

    02/20/2023, 8:42 PM
    I just reopened the ticket.. will see if it goes anywhere
  • j

    johtso

    02/20/2023, 9:04 PM
    oh yeah, that's what's going on, I'd forgotten. When it looks like the request has stalled it's actually downloading all 700MB of data
  • j

    johtso

    02/20/2023, 9:04 PM
    even though the request only asked for a few thousand bytes
  • j

    johtso

    02/20/2023, 9:05 PM
    and support always ask for a HAR file, but it's not possible to generate a HAR file for a request that wont complete
  • z

    Zeblote

    02/20/2023, 9:05 PM
    interesting
  • z

    Zeblote

    02/20/2023, 9:06 PM
    when cache gets a range request, the intended behavior is that it fetches full file and caches it, then serves range requests from that in future
  • z

    Zeblote

    02/20/2023, 9:06 PM
    so it seems that combining file too large to be cached with "eligible" cache rule results in "broken"
  • j

    johtso

    02/20/2023, 9:06 PM
    yeah, definitely something like that going on!
  • z

    Zeblote

    02/20/2023, 9:07 PM
    so you could fix™️ it by adding a cache rule to exclude those too large files
  • z

    Zeblote

    02/20/2023, 9:07 PM
    or split them up into smaller ones that can go in cache
  • z

    Zeblote

    02/20/2023, 9:08 PM
    which makes sense because the cache doesn't know how big your file is until after it requested it
  • z

    Zeblote

    02/20/2023, 9:08 PM
    and you gave it a cache rule that says "yes cache this"
  • j

    johtso

    02/20/2023, 9:12 PM
    I'm not convinced it would behave any better if the file was 300MB for example, but I'll give it a try
  • j

    johtso

    02/20/2023, 10:58 PM
    okay, 400MB file causes the request to block for 3-4 seconds when the cache is cold
  • k

    kaichao

    02/21/2023, 1:47 AM
    Hey I'm getting
    ECONNRESET
    when fetching cloudflare storage files with presigned URL when using VPN (cloudflare is blocked, so VPN is necessary), the issue detail https://github.com/perspect3vism/ad4m/issues/240. I have tried switch http client library in NodeJS, but still no lucky, anyone seeing similar issues or have any context?
1...891892893...1050Latest