LeftyLlama
CDCloudflare Developers
•Created by LeftyLlama on 7/20/2024 in #workers-help
Dynamic image rendering with Workers
I'd like to use Cloudflare Workers to dynamically create and serve images, but all of the rendering packages I've found have native dependencies or otherwise don't run on the Workers platform.
Tom Sherman's approach (https://tom-sherman.com/blog/dynamic-og-image-cloudflare-workers) is close to what I'd like but I'd rather not use the browser rendering API if possible
3 replies
CDCloudflare Developers
•Created by LeftyLlama on 4/7/2024 in #workers-help
Worker not finding module when "node:" prefix is used
I'm trying to import an npm module, but if I try to import it with the "node:" prefix as the docs say, I get a "no such module" error. If I remove the "node:" prefix though it is able to find the module but then of course it has compatibility issues, so I assume this isn't what I want. How should I be importing the module?
I have enabled nodejs_compat in my wrangler.toml file
3 replies
CDCloudflare Developers
•Created by LeftyLlama on 11/4/2023 in #pages-help
ERR_SSL_VERSION_OR_CIPHER_MISMATCH on newly deployed Pages site
I've just deployed a new Pages site, and for whatever reason I'm getting an
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
error when I try to access it. The site works just fine testing locally. I am making use of Pages Functions in advanced mode, and using Node.js compatibility mode, which I ensured is enabled in the dashboard.
My guess is this has something to do with the recent outages, since some services aren't fully back online yet, but I want to make sure I'm not doing something stupid.
Pages.dev URL: https://3b15dd82.push-notif-bonk.pages.dev/
Account ID: 4d752d329fbed0b32b01f13e90031e01
Errors: None on Cloudflare's end, ERR_SSL_VERSION_OR_CIPHER_MISMATCH
in Chrome, equivalent errors in other browsers7 replies