No logs - Tell me why deployment fails

Can someone at Cloudflare tell me why deployments for my project fail silently? It's deployed manually. So the upload is fine etc, we just get no logs or error message on deployment 😦 Only ID for the deployment that I get: https://d6f79798.dashboard-6lb.pages.dev https://066b20a3.dashboard-6lb.pages.dev https://ca48c3d8.dashboard-6lb.pages.dev
17 Replies
Walshy
Walshy•6mo ago
Let me escalate to support (as it's the weekend, someone from the right team may not be around - worst case they respond Monday morning)
arbfay
arbfay•6mo ago
Thx! And sry for the inconvenience
Nolan
Nolan•6mo ago
Hey there, we've got edge_deployment_failed with the following output.
deploy_worker_failed:the binding name 'AUTHPI_ISSUER_ID' cannot be used more than once
deploy_worker_failed:the binding name 'AUTHPI_ISSUER_ID' cannot be used more than once
Walshy
Walshy•6mo ago
Nolan! Happy weekend and ty!
arbfay
arbfay•6mo ago
Thanks! Not sure what it means haha right Binding used twice
Walshy
Walshy•6mo ago
you have 2 bindings with the name AUTHPI_ISSUER_ID
arbfay
arbfay•6mo ago
Prob a secret + var Checking thx
Walshy
Walshy•6mo ago
yeah probably, check the dashboard
arbfay
arbfay•6mo ago
Well it won't be as easy as I'd wish
No description
Walshy
Walshy•6mo ago
got a wrangler.toml?
arbfay
arbfay•6mo ago
The vars are defined in the wrangler.toml file. So it should appear there. Deleting secrets via dashboard also didn't work. Yeah
Walshy
Walshy•6mo ago
can you share?
arbfay
arbfay•6mo ago
Migrated to it, was fine with another page project, but not this one somehow
# Generated by Wrangler on Fri Apr 05 2024 15:23:00 GMT+0200 (Central European Summer Time)
name = "dashboard"
pages_build_output_dir = "./dist"
compatibility_date = "2024-04-05"
compatibility_flags = ["nodejs_compat"]

[vars]
ACCOUNT_ID = "xxx"
ISSUER_ID = "xxx"

[[kv_namespaces]]
id = "xxx"
binding = "KV"

[[services]]
binding = "API"
service = "core-api"
environment = "production"

[env.production]
compatibility_date = "2024-04-05"

[env.production.vars]
ACCOUNT_ID = "xxx"
ISSUER_ID = "xxx"

[[env.production.kv_namespaces]]
id = "xxx"
binding = "KV"

[[env.production.services]]
binding = "API"
service = "core-api"
environment = "production"

[[env.production.queues.producers]]
binding = "EXCEPTIONS"
queue = "exceptions"
# Generated by Wrangler on Fri Apr 05 2024 15:23:00 GMT+0200 (Central European Summer Time)
name = "dashboard"
pages_build_output_dir = "./dist"
compatibility_date = "2024-04-05"
compatibility_flags = ["nodejs_compat"]

[vars]
ACCOUNT_ID = "xxx"
ISSUER_ID = "xxx"

[[kv_namespaces]]
id = "xxx"
binding = "KV"

[[services]]
binding = "API"
service = "core-api"
environment = "production"

[env.production]
compatibility_date = "2024-04-05"

[env.production.vars]
ACCOUNT_ID = "xxx"
ISSUER_ID = "xxx"

[[env.production.kv_namespaces]]
id = "xxx"
binding = "KV"

[[env.production.services]]
binding = "API"
service = "core-api"
environment = "production"

[[env.production.queues.producers]]
binding = "EXCEPTIONS"
queue = "exceptions"
Walshy
Walshy•6mo ago
hmm don't see AUTHPI_ISSUER_ID at all
arbfay
arbfay•6mo ago
Yeah was old name Trying a simplified version of it, to a new dashboard2 project name, and it still fails.
name = "dashboard2"
pages_build_output_dir = "./dist"
compatibility_date = "2024-04-05"
compatibility_flags = ["nodejs_compat"]

[vars]
ACCOUNT_ID = "xxx"
ISSUER_ID = "xxx"

[[kv_namespaces]]
id = "xxx"
binding = "KV"

[[services]]
binding = "API"
service = "core-api"

[[queues.producers]]
binding = "EXCEPTIONS"
queue = "exceptions"
name = "dashboard2"
pages_build_output_dir = "./dist"
compatibility_date = "2024-04-05"
compatibility_flags = ["nodejs_compat"]

[vars]
ACCOUNT_ID = "xxx"
ISSUER_ID = "xxx"

[[kv_namespaces]]
id = "xxx"
binding = "KV"

[[services]]
binding = "API"
service = "core-api"

[[queues.producers]]
binding = "EXCEPTIONS"
queue = "exceptions"
ID of deployment: https://460c9f83.dashboard2-dek.pages.dev Maybe unrelated error (it's an Astro project)
arbfay
arbfay•6mo ago
Got myself a setup with your CI now that monorepos are ok! Can see an error message. Don't spend more time on it for now, thx!
No description
arbfay
arbfay•6mo ago
Found the bug for this error message. Deployment is fine now.
Want results from more Discord servers?
Add your server