Workers Routes keep disappearing

I have both set http routes up from my wrangler config and from the dashboard, and after a few hours the configuration disappears. Can someone explain why this happens?
6 Replies
Walshy
Walshy6d ago
Routes won't disappear randomly. You shouldn't be setting them in the dash if you're using wrangler, keep everything in the wrangler.toml If you define in the dash and then deploy with wrangler, wrangler will overwrite with the ones it knows about
Pasithea (Pas)
Pasithea (Pas)OP6d ago
I tried with two separate projects. Both worked initially. The first I created a worker from the dashboard, replacing the hello world script with my own, then defining the http routes. The second was a different project, deployed using wrangler and it too showed correctly in the dashboard, but both configurations disappeared after an hour ish
Walshy
Walshy6d ago
got an account id + worker name?
Pasithea (Pas)
Pasithea (Pas)OP6d ago
5da57bc2aca85ec622e2b00f1254a1bc meta-rewrite very simple worker, so i dont think it should overwrite the routes
Walshy
Walshy6d ago
I don't see a route active or deleted for that Worker
Pasithea (Pas)
Pasithea (Pas)OP6d ago
Ah, sorry I created a new one. I’ll set the route, and let you know when it disappears again. It disappeared again.

Did you find this page helpful?