https://discord.cloudflare.com logo
Join Discord
Powered by
# workers-discussions
  • j

    James

    05/26/2023, 4:45 AM
    Trace was renamed to tail. They’re the same thing, with trace still supported for backward compatibility
  • u

    柴柴

    05/26/2023, 4:48 AM
    Understood thank you
  • d

    DemosJarco

    05/26/2023, 5:10 AM
    I thought uncaught exceptions in workers triggers a status to fail?

    https://cdn.discordapp.com/attachments/779390076219686943/1111521681480101998/image.png▾

  • d

    DemosJarco

    05/26/2023, 5:11 AM
    Basically I'm intercepting the response being returned, but before it's returned, going to a
    ctx.waitUntil
    and throwing an error based on that
    response.ok
    . That way I can have my worker status code in the cloudflare dashboard match the actual http response (easier for visibility).
  • d

    DemosJarco

    05/26/2023, 5:12 AM
    As you can see in the screenshot, it's picking up that Error I'm throwing, but in the top left, it still says
    OK
  • u

    Unsmart | Tech debt

    05/26/2023, 5:58 AM
    If the worker sends a response the status will be ok. Only failing to send a response will it not be ok
  • d

    DemosJarco

    05/26/2023, 6:07 AM
    even if there's an uncaught error in
    waitUntil
    ?
  • d

    DemosJarco

    05/26/2023, 6:07 AM
    I thought status is supposed to be error if anywhere (before or in
    waitUntil
    ) there's a uncaught exception
  • h

    harris

    05/26/2023, 7:39 AM
    What would cause ``API Request failed: We were unable to enable Workers Unbound on your account. Please try again.``?
  • h

    harris

    05/26/2023, 8:37 AM
    Copy code
    Subscribe to this product to proceed. Your account does not have access to this product.
  • h

    harris

    05/26/2023, 8:37 AM

    https://cdn.discordapp.com/attachments/779390076219686943/1111573894885806110/image.png▾

  • b

    BenParr

    05/26/2023, 9:20 AM
    As workers sit on the edge and happen before page rules, has anyone figured out an efficient way of still utilising cloudflare url normalisation? Or is this impossible?
  • k

    kian

    05/26/2023, 9:25 AM
    Page Rules apply to Workers
  • k

    kian

    05/26/2023, 9:25 AM

    https://cdn.discordapp.com/attachments/779390076219686943/1111585919171039242/image.png▾

  • k

    kian

    05/26/2023, 9:25 AM
    Workers is at the bottom, not before Page Rules
  • b

    BenParr

    05/26/2023, 9:29 AM
    Oh thanks Kian, my mistake!
  • w

    Walshy | Pages

    05/26/2023, 9:39 AM
    What's your account ID?
  • m

    MrCoder

    05/26/2023, 9:40 AM
    I have hit the same issue. I don't think "Please enable cookies" is important here. It is an element on the error page. If the page is rendered in a browser with cookie enabled it will not be displayed. With saying that, I don't know what is the real problem that has caused the error.
  • k

    kian

    05/26/2023, 9:42 AM
    That post is more than a year old - 1101 means your Worker code threw an uncaught exception.
  • h

    harris

    05/26/2023, 9:42 AM
    where can I find this?
  • w

    Walshy | Pages

    05/26/2023, 9:42 AM
  • h

    harris

    05/26/2023, 9:43 AM
    DM'd
  • w

    Walshy | Pages

    05/26/2023, 9:43 AM
    Thanks, I'll escalate in a bit when I start work
  • h

    harris

    05/26/2023, 9:44 AM
    Thanks!
  • l

    Liberator

    05/26/2023, 9:53 AM
    Any decent alternatives to Fauna DB for Workers?
  • b

    BenParr

    05/26/2023, 10:11 AM
    anyone know why I cant seem to use 2
    /
    on a worker route? I have even added url sanitisation to remove duplicates but I get strange errors. I am just trying to return the request
  • p

    phonique

    05/26/2023, 10:31 AM
    Why won't cloudflare serve my images? i've deployed on vercel and everything works fine but when I connect it with cloudflare with their nameservers and point my domain to my vercel deployment, my images don't show.
  • r

    REISUB

    05/26/2023, 10:55 AM
    How can I deploy a node.js-based application onto worker?
  • r

    REISUB

    05/26/2023, 10:56 AM
    It runs on my computer well
  • n

    nora

    05/26/2023, 10:57 AM
    https://developers.cloudflare.com/workers/get-started/guide/
1...249624972498...2509Latest