cloudflare / serverless-registry

A Docker registry backed by Workers and R2.
Apache License 2.0
680 stars 25 forks source link

Wrangler error related to `logpush = true` #8

Closed harryzcy closed 9 months ago

harryzcy commented 9 months ago

I'm getting the following error running wrangler deploy when logpush is set to true. Logpush is not available to non-enterprise plan, maybe it could be documented. The error message doesn't tell the actual issue.

✘ [ERROR] A request to the Cloudflare API (/accounts/***/workers/scripts/r2-registry) failed.

  workers.api.error.unauthorized [code: 10023]

Related to wrangler: cloudflare/workers-sdk#2991

gabivlj commented 9 months ago

logpush shouldn't be enabled by default in this repository IMO. We will take a look.

skepticfx commented 9 months ago

Don't think it belongs in this template. Removed it altogether.