Varna
Varna
Explore posts from servers
CDCloudflare Developers
Created by Varna on 5/27/2024 in #workers-help
I renamed my Worker in Dash and wrangler.toml, but became unauthorized in wrangler and can't deploy
Hello, I deploy my worker via CLI. I renamed one of my workers in Cloudflare Dash. I updated the wrangler.toml. If I try to deploy via CLI with wrangler now, it fails with :
[ERROR] A request to the Cloudflare API (/accounts/cfXXXXXXXXXXXXXXXX/workers/scripts/share-worker) failed.

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

If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose

workers.api.error.unauthorized [code: 10023]
[ERROR] A request to the Cloudflare API (/accounts/cfXXXXXXXXXXXXXXXX/workers/scripts/share-worker) failed.

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

If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose

workers.api.error.unauthorized [code: 10023]
wrangler whoami still shows me. I did wrangler logout and logged in again. But it still fails.
3 replies
CDCloudflare Developers
Created by Varna on 5/22/2024 in #workers-help
I'm looking for a way to replicate worker wrangler.toml/routes in local dev mode
# wrangler.toml
# ...

routes = [
{ pattern = "example.test/api*", zone_name = "example.test" },
{ pattern = "localhost:4321/api*", zone_name = "localhost" },
]
# wrangler.toml
# ...

routes = [
{ pattern = "example.test/api*", zone_name = "example.test" },
{ pattern = "localhost:4321/api*", zone_name = "localhost" },
]
Probably not possible with wrangler only. Maybe it's possible with miniflare, zero trust and/or WARP client?
7 replies
CDCloudflare Developers
Created by Varna on 5/16/2024 in #workers-help
How to test RPC Workers?
No description
4 replies
CDCloudflare Developers
Created by Varna on 3/22/2024 in #general-help
Where can I see the answers to Community Call?
Hi, I see that there is a new Community Call planned. I asked a question in previous one, but I couldn't come on Friday because of personal issues. Is there a way to see "Answers" or transcript or smth like that? It is also pretty annoying, that Community Call chats are hidden by default, and get hidden when you leave to another active window. I'm talking about this question: https://discord.com/channels/595317990191398933/1067184198206640188/1208059432932745226 And I see that it was marked as answered
2 replies
CDCloudflare Developers
Created by Varna on 2/15/2024 in #pages-help
`wrangler pages dev -- astro dev` fails to follow Astro redirects
Astro project with wrangler pages dev -- astro dev and default adapter fails to properly execute an Astro redirect return context.redirect("/login", 302) with [wrangler] Could not proxy request: TypeError: fetch failed. Deployed version works. Only dev fails. Astro runs on localhost:3000, and Wrangler on localhost:8788 Node 18.18.2
5 replies
CDCloudflare Developers
Created by Varna on 2/7/2024 in #workers-help
I have a subdomain.domain.com that I want to point to a worker. But domain.com is not in CF
I have a subdomain.domain.com that I want to point to a worker. But domain.com is managed by outside DNS provider. I can't migrate domain.com to cloudflare DNS. I tried adding CNAME, but it fails with ERR_SSL_VERSION_OR_CIPHER_MISMATCH. Any tips? I'm trying to migrate a cloud function (single handler, that takes colour from path and returns coloured png) from Vercel to CF.
1 replies
CDCloudflare Developers
Created by Varna on 12/5/2023 in #general-help
How to make a Team and add an Accountant?
I don't really need Zero Trust, VPS or anything like that. I just want to: 1. Make team, with an app that would be assigned to that team, instead of my personal account. 2. Add my boss to the team, as owner and accountant, that would attach his credit card. I don't really understand how to do that.
4 replies