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

    HardAtWork

    02/12/2023, 5:50 PM
    Yeah, that would work, if they exposed a headless Chromium instance for you to connect to(which they will with the Browser Rendering API). Until then, maybe you could use Vercel's Satori Engine(https://github.com/vercel/satori) to render your meta images? It works on Workers, and is a lot lighter than a full headless Chromium setup.
  • p

    Probert

    02/12/2023, 5:52 PM
    Ok I don't fully understand, but thanks for the explanation
  • p

    Probert

    02/12/2023, 5:52 PM
    And thanks for the Satori link, that looks awesome
  • h

    HardAtWork

    02/12/2023, 5:54 PM
    Just as an explanation, basically, Browserless/Puppeteer connect to a Headless Chromium instance. They don't do any rendering themselves, they are just the connecting glue. It would be fine if you already had a Chromium instance on Cloudflare, but as it isn't available yet, it wouldn't work.
  • z

    zszszsz

    02/12/2023, 5:55 PM
    omg that's the coolest thing this year
  • z

    zszszsz

    02/12/2023, 6:01 PM
    Can this be available during pages build for automatic testing ?
  • h

    HardAtWork

    02/12/2023, 6:01 PM
    No idea, since it isn't even in private beta, as far as I'm aware.
  • j

    justyy - SteemYY.com [Witness]

    02/12/2023, 8:50 PM
    Hello, in workers' subrequests, is it possible to ignore the SSL verification in the fetch API?
  • k

    kian

    02/12/2023, 8:50 PM
    Nope
  • j

    justyy - SteemYY.com [Witness]

    02/12/2023, 8:50 PM
    for NodeJs, i can use https library, and use a custom agent, but worker doesn't allow me to require("https")
  • j

    justyy - SteemYY.com [Witness]

    02/12/2023, 8:50 PM
    oh, ok
  • z

    zszszsz

    02/12/2023, 8:57 PM
    hmmm is it possible to use the origin certificate issued by cf ?
  • z

    zszszsz

    02/12/2023, 8:57 PM
    Or a custom certificate storage ?
  • a

    aaronsean

    02/12/2023, 11:41 PM
    Is Workers TOS different from the Cloudflare standard TOS? We had our account suspended "by" TOS but we're using Workers mainly.
  • h

    HardAtWork

    02/12/2023, 11:42 PM
    ?devtos
  • h

    Helpflare

    02/12/2023, 11:42 PM
  • u

    Unsmart | Tech debt

    02/12/2023, 11:52 PM
    the TOS is really different but there are some things overriden by workers specifically
  • a

    aaronsean

    02/12/2023, 11:52 PM
    Anything specific on 2.8 in Workers?
  • a

    aaronsean

    02/12/2023, 11:52 PM
    We just followed one of your examples and we got suspended by it https://developers.cloudflare.com/workers/examples/images-workers/
  • h

    HardAtWork

    02/12/2023, 11:53 PM
    If you received a TOS ban, contact support. We can’t do anything from here
  • e

    Erisa | Support Engineer

    02/12/2023, 11:54 PM
    Seconded, please make a support ticket, we can handle it
  • s

    Skye

    02/12/2023, 11:54 PM
    If you're serving it from your own images account which you pay for, that's the most ridiculous anti abuse false flag I've seen
  • a

    aaronsean

    02/12/2023, 11:57 PM
    Yeah sorry, I just found some thread that Discord chat was able to help to lift the suspension. Basically, in the example above we're using Workers to fetch images from S3 and serve it via the Cloudflare worker connected domain
  • e

    Erisa | Support Engineer

    02/12/2023, 11:59 PM
    > that Discord chat was able to help to lift the suspension. If you have a ticket, we can help to escalate it and get it seen, but we can't lift it directly from here
  • a

    aaronsean

    02/13/2023, 12:13 AM
    @Erisa | Support Engineer #2704180 thanks
  • r

    renzor

    02/13/2023, 12:38 AM
    anyone else get spammed with Forbidden errors on the Workers routes on a zone?
  • r

    renzor

    02/13/2023, 12:38 AM
    everything works but the red bar keeps appearing with Forbidden
  • s

    sathoro

    02/13/2023, 6:27 AM
    last night I deployed a cron trigger to run every hour but it seems to not be running and I can't find the "Past Events" log anywhere
  • s

    sathoro

    02/13/2023, 6:41 AM
    it works perfectly locally and I just added a new route to call it manually and it worked there too. just seems to simply not run in production
  • s

    sathoro

    02/13/2023, 6:43 AM
    is there a problem here:
    Copy code
    js
    export default {
      async scheduled(event, env, ctx) {
        ctx.waitUntil(refreshAccessToken(env));
      },
      async fetch(request, env) {
        return await handleRequest(request, env);
      },
    };
1...226622672268...2509Latest