Mackenly
CDCloudflare Developers
•Created by Mackenly on 3/12/2024 in #workers-help
Worker Email Mimetext
In this example (see link), mimetext is used to build the email sent by a worker. However, when attempting to run locally I'm getting node compat issues. I'm running in node compat for compatibility, however, its still showing errors:
https://developers.cloudflare.com/email-routing/email-workers/send-email-workers/
Has anyone else encountered this issue or know of any good troubleshooting steps? Hit a brick wall on this one. Thanks!
3 replies
CDCloudflare Developers
•Created by Mackenly on 3/12/2024 in #workers-help
Remove Dev Behind Access
2 replies
CDCloudflare Developers
•Created by Mackenly on 3/6/2024 in #workers-help
Feature Request: Route Zone Link
2 replies
CDCloudflare Developers
•Created by Mackenly on 2/26/2024 in #workers-help
getPlatformProxy Remote/Local Flag
unstable_dev supports passing in a local flag in the options object, but getPlatformProxy doesn't seem to support it. Is there a workaround to allow for unit testing things like AI?
https://developers.cloudflare.com/workers/wrangler/api/#getplatformproxy
6 replies
CDCloudflare Developers
•Created by Mackenly on 12/29/2023 in #general-help
Dashboard Magic Links
I'm putting together a quick chrome extension to make getting magic/deep links into the dashboard easier to copy. I've so far got support for:
- :account ... Account ID
- :zone ... Zone domain name
- :pages-project ... Pages project name
Am I missing anything?
Also outside of just copying magic links for the current page are there any other features that would make it more useful?
This is GPL licensed and open source: https://github.com/mackenly/cloudflare-magic-linker Planning to improve the UI a bit before publishing. Just a community tool to save me some time when sharing links here and other places.
16 replies
CDCloudflare Developers
•Created by Mackenly on 11/16/2023 in #workers-help
Commit KV IDs Publicly?
Quick question, is it safe to commit KV IDs publically? I would presume that only Workers on the same account as the KV store are able to access it, but want to ask to see if anyone more knowledgeable knows for sure.
3 replies
CDCloudflare Developers
•Created by Mackenly on 10/14/2023 in #workers-help
Cannot create binding for class that is not exported by the script [code: 10061]
For some reason I'm running into this issue when attempting to deploy:
Cannot create binding for class ConnectionRoom that is not exported by the script [code: 10061]
I have confirmed that I am indeed exporting a DO class called ConnectionRoom and that it all works fine locally.
Any thoughts? Thanks!2 replies
CDCloudflare Developers
•Created by Mackenly on 10/4/2023 in #general-help
Cloudflare Registrar Error
11 replies
CDCloudflare Developers
•Created by Mackenly on 9/8/2023 in #workers-help
Edit Worker Created Using Quick Edit Locally
Hi all, I have a Worker originally made using the Quick Edit editor in the Workers dashboad but I'm looking to make further changes to it and would prefer to do so in my IDE. Is there a way to pull a Worker down so that I can integrate it within Git and setup proper CI/CD? I'm not seeing a command for this with Wrangler. https://developers.cloudflare.com/workers/wrangler/commands/ Wrangler seems to work from local to cloudflare but not from cloudflare to local.
Not a big deal to copy it from the quick editor into a new worker but it feels like there ought to be a better way that I'm overlooking.
3 replies
CDCloudflare Developers
•Created by Mackenly on 6/27/2023 in #general-help
Account Email Best Practices / Backup
Hi, what's the best practice for your Cloudflare account email when using Cloudflare Registrar?
I'm working with a client right now who's domain name was registered on a GoDaddy account using an email address created with that domain. Through some organizational confusion they didn't renew their domain. So they're locked out of their account. That got me thinking cause I use Cloudflare Registrar for most of my domains and my Cloudflare account email is using one of those domains.
I don't see an option for a secondary email or anything to be used if for whatever reason I can't use my account email. I know this is worst case scenario, however, are there any best practices around this or would it be best to use a random email account for Cloudflare and other registrars?
6 replies
CDCloudflare Developers
•Created by Mackenly on 3/27/2023 in #pages-help
next/server Build Issue
Hi, I'm running into an issue during my builds using Nextjs on Pages. This seems rather strange since the example on the next-on-pages repo shows next/server being used in middleware. (https://github.com/cloudflare/next-on-pages#middleware) Thanks for any pointers/suggestions!
My next.config.js is of course configured to include experimental: {runtime: "experimental-edge",} And I've included the log and my middleware below.
Latest deployment ID is: 5439b547e0894d3022943819c304bcc9
19 replies
CDCloudflare Developers
•Created by Mackenly on 2/21/2023 in #pages-help
"The client and server don't support a common SSL protocol version or cipher suite."
Hi, Cloudflare team and fellow fans!
I'm getting a strange browser error after deploying my Next js site to Pages:
Unsupported protocol
The client and server don't support a common SSL protocol version or cipher suite.
https://process-center.pages.dev/
Deployment: 6662e212-e0b3-4616-a163-17fc5d072bf8
Note, the site does currently have Access Policy enabled, but I tried removing the policy and nothing changed.
Any ideas what's up? It seems suspicious that even Access isn't being reached. So that leads me to believe it's a bug or glitch rather than code issue. I also tried redeploying/rebuilding but no change. Thanks!3 replies