workers-help
pages-help
general-help
durable-objects
workers-discussions
pages-discussions
wrangler
coding-help
kv
🦀rust-on-workers
miniflare
stream
general-discussions
functions
zaraz
⚡instant-logs
email-routing
r2
pubsub-beta
analytics-engine
d1-database
queues
workers-for-platforms
workerd
web3
🤖turnstile
radar
web-research
logs-engine
cloudflare-go
terraform-provider-cloudflare
workers-ai
browser-rendering-api
analytics
next-on-pages
cloudflare-ai
build-caching-beta
hyperdrive
vectorize
ai-gateway
python-workers-beta
vitest-integration-beta
workers-observability
workflows-beta
How can we detect web request vs non-web (backend/curl/etc)?
origin
header as part of our access control strategy but realized this header can be set via non-web clients. Is there a strategy to detect requests coming from the web vs curl-type or backend environments?Alternative to Fetch API (can't add body to GET)
How to cache a global data?
Can we do this with tcp connect?
Why do all workers use for same IP for sending requests?
2a06:98c0:3600::103
), as we can see when we request, e.g., https://icanhazip.com/.
This behaviour is somewhat unfortunate in cases where we use several workers for webscraping. In my case, if two workers happen to make the same request to a website I want to scrape data from, one of them is refused.
Can this be changed by some operation?...error rate limiting without set custom role
Worker exit IP
Data Dropped from Queue?
520 error received by Client
Global ContextHolder
async handle(ctx: Context<Env>) { .. }
async handle(ctx: Context<Env>) { .. }
Workers technical documentation
Simple logging in development
logger.debug('Fetching customer with id=%s', id);
logger.trace('Querying database for customer with id=%s', id);
logger.debug('Fetching customer with id=%s', id);
logger.trace('Querying database for customer with id=%s', id);
Intermittent Errors Related to Permissions-Policy Header
Worker is lowercasing URL using Response.redirect
Cannot find module '__STATIC_CONTENT_MANIFEST' or its corresponding type declarations
index.ts
now looks like this:
```
import { Hono } from 'hono'
import { serveStatic } from 'hono/cloudflare-workers'
import manifest from '__STATIC_CONTENT_MANIFEST'...Logging into Worker
Intermittent errors with wrangler deploy
wrangler deploy
...
For now, I'm using pnpm run -r deploy
to run the deploy tasks in each workspace and am getting workers.api.error.unknown [code: 10013]
, although it's not always on the same app. When I run the deployments individually from each app, everything works fine.
Currently there are only 3 workers and 2 pages apps, but I'm planning on having several more of each (and using GHA)....Web Scraper Proxy Issue
How to deploy next app using cloudflare workers?
next-on-pages
as the build command in my script which creates a .vercel
directory and I have setup the main file of the worker correctly as well. This is my wrangler.toml
file:
```
name = "dashboard"...Trying to subscribe to paid workers plan but getting error "Internal Server Error (Code: 1000)"