Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Unable to publish site (500) #2234

Closed
tillkruss opened this issue Apr 9, 2022 · 7 comments
Closed

Unable to publish site (500) #2234

tillkruss opened this issue Apr 9, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@tillkruss
Copy link

tillkruss commented Apr 9, 2022

πŸ› Bug report

Describe the bug

I'm unable to publish a site using wrangler publish --verbose.

When I run the command I see:

...
✨  Built successfully, built project size is 351 KiB.
πŸŒ€  Using namespace for Workers Site "__objectcachepro-workers_sites_assets"
✨  Success
πŸŒ€  Uploading site files
Error: Something went wrong with the request to Cloudflare...

Internal Server Error

Environment and versions

Fill out the following information about your environment.

  • operating system:
  • output of wrangler -V: 1.19.11
  • output of node -v: v17.8.0
content of `wrangler.toml`:

name = "objectcachepro"
type = "webpack"
route = "objectcache.pro/*"
zone_id = "..."
account_id = "..."
usage_model = "unbound"
compatibility_date = "2021-09-29"
webpack_config = "workers-site/webpack.config.js"

kv-namespaces = [
{ binding = "APP", id = "...", preview_id = "..." },
{ binding = "METRICS", id = "...", preview_id = "..." },
{ binding = "LICENSES", id = "...", preview_id = "..." },
{ binding = "LEADS", id = "...", preview_id = "..." },
]

[site]
bucket = "./public"

[triggers]
crons = [
"*/6 * * * ",
"
/15 * * * ",
"
/20 * * * *",
]

[vars]
ENVIRONMENT = "production"
SENTRY_DSN = "..."

@tillkruss tillkruss added the bug Something isn't working label Apr 9, 2022
@tillkruss
Copy link
Author

When I remove the [triggers] from my wrangler.toml the publish works. Something must have changed at CF end to no accept these anymore?!

@gofannoneth
Copy link

I'm encountering the same issue.

@oliverchank
Copy link

I have the same exact error, but my changes are is still published. 🀷

@rileymiller
Copy link

rileymiller commented Apr 13, 2022

we are having issues with this as well, but our changes are not still being published

@ObsidianMinor
Copy link
Contributor

A fix for this went out in the most recent API release, can someone confirm their uploads are working now?

@tillkruss
Copy link
Author

@ObsidianMinor: Working! Please add a test case for this 🫠

@threepointone
Copy link
Contributor

Closing since this has been fixed in the api. Thanks for reporting!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants