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

    samon

    05/13/2023, 6:49 PM
    hi , any updates about streams compatibility ?
  • s

    Skye

    05/13/2023, 6:50 PM
    Could you clarify what you mean?
  • s

    samon

    05/13/2023, 6:53 PM
    https://github.com/cloudflare/workerd/tree/main/samples/nodejs-compat-streams
  • s

    samon

    05/13/2023, 6:53 PM
    is there information about when it will be supported as stable?
  • s

    Skye

    05/13/2023, 6:53 PM
    Oh, I see a release yesterday
  • s

    Skye

    05/13/2023, 6:54 PM
    So hopefully it'll be put in production pretty soon!
  • s

    samon

    05/13/2023, 6:54 PM
    i hope 😄
  • s

    samon

    05/13/2023, 6:55 PM
    thanks
  • i

    Iann

    05/13/2023, 7:16 PM
    is there a way to invalidate a record from the cache API globally ?
  • d

    dave

    05/13/2023, 7:31 PM
    What generator do you folks recommend for creating TypeScript bindings from an
    openapi.json
    file? I tried this one but I get duplicate identifier errors. https://openapi-generator.tech/docs/generators/typescript/ I was able to get this one working, but it annoyingly does not create any documentation. https://openapi-generator.tech/docs/generators/typescript-fetch/
  • h

    HardAtWork

    05/13/2023, 7:31 PM
    You can do it via the CF API
  • g

    GrnmRDS

    05/13/2023, 8:17 PM
    I need help with
    workers.api.error.unauthorized [code: 10023]
    on latest wrangler... It is often reported I think. So it should be written on anywhere...
  • n

    Neiki

    05/13/2023, 8:37 PM
    hey i get that error
    Copy code
    js
    "outcome": "exception",
      "scriptName": "api",
      "exceptions": [
        {
          "name": "Error",
          "message": "Promise will never complete.",
          "timestamp": 1684010032023
        }
      ],
    My script handles files that got uploaded to the worker, but i only get that if the file is above .fex 50mb if its below it works just fine 🤔 why does it say it "Promise will never complete."
  • s

    sathoro

    05/13/2023, 9:42 PM
    Cloudflare solved the halting problem
  • s

    sathoro

    05/13/2023, 9:42 PM
  • d

    dave

    05/13/2023, 11:42 PM
    @sathoro btw here's a reply from Supabase about Workers getting rate limited that might be useful for you in the future.
    Copy code
    Hi David,
    
    Really appreciate the detailed reply here!
    
    We've discussed this internally and it looks like we'll be going with this approach:
    
    > Another possible simple idea, is to only bypass rate limiting for a new “no limit anon key”.
    
    This will probably take some time to roll out since we have some other on-going tasks. I guess the temporary workaround you have helps for now and we'll definitely let you know once we've implemented the proper fix.
  • s

    sathoro

    05/14/2023, 4:49 AM
    are you using anon keys or service role?
  • d

    dave

    05/14/2023, 4:51 AM
    Both. I know it might seem a little funky since it's all server (Worker) side stuff , but I prefer using the anon key when possible to make it harder to shoot ourselves in the foot when it comes to access controls.
  • d

    dave

    05/14/2023, 4:51 AM
    Either key has the same rate limiting though
  • s

    sathoro

    05/14/2023, 4:52 AM
    it does make sense
  • d

    dave

    05/14/2023, 4:53 AM
    the service key having rate limiting does seem odd to me, but tbh we're very new to supabase so there's probably use-cases we're totally unaware of
  • s

    sathoro

    05/14/2023, 8:01 AM
    can anybody recommend a good logging system for production that will easily allow for filtering errors? I know about Logpush - I'm wondering what I should push to 🙂
  • s

    sathoro

    05/14/2023, 8:03 AM
    also, we have been pushing to R2 but not doing anything with the logs... if there is a solution for seeing logs inside R2 that would work too
  • d

    Dani Foldi

    05/14/2023, 8:42 AM
    We use a tool called axiom (https://axiom.co), they have a built-in integration for worker logs, and they're also working on a logpush endpoint for ingest. Their free tier goes up to something like 500GB a month
  • s

    sathoro

    05/14/2023, 8:46 AM
    looks nice, if they had logpush I would use it
  • s

    sathoro

    05/14/2023, 8:46 AM
    I'm trying to setup Datadog and been quite unsuccessful. Cloudflare is not listed as an option on their logging pages at all

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

  • s

    sathoro

    05/14/2023, 8:51 AM
    okay it worked, not sure I did anything differently this time though 🤣
  • r

    Razvan

    05/14/2023, 10:28 AM
    laravel api can be used with cloudflare workers?
  • z

    zegevlier

    05/14/2023, 10:32 AM
    It looks like laravel is PHP, so no, not really. If you really want to you might be able to get it working with WASM though
  • s

    sathoro

    05/14/2023, 10:37 AM
    no
1...245824592460...2509Latest