Strange workers logs issues

Hello all I deploy sveltekit app to cloudflare workers and notice two strange behaviours going on with logs 1) Each page change on sveltekit app logs error POST is not allowed in this path or no action named default found error, I don't see this anywhere else other than worker logs (local, network tab also tried vercel logs and nodejs vps logs jus to make sure) so I think there is some clash happening with worker logs <> sveltekit adapter 2) My worker has two domains assigned www.domain.com and domain.com and I have a vps hosted service on api.domain.com meaning it has no relation to the workers but I get a log when I refresh the page at api.domain.com with not found error (page works fine its just falsy unexpected error log being logged on cloudflare workers logs dashboard) this is my log settings in wrangler.toml

[observability]
enabled = true

[observability.logs]
invocation_logs = false

[observability]
enabled = true

[observability.logs]
invocation_logs = false
1 Reply
Oren
OrenOP3mo ago
example log id for 1)
scriptVersion:

{
id:

"5f7d2cde-4ef2-4bb8-8ed0-0faa4b1aac11"
},
$metadata:

{
requestId:

"FWPLBHH37NQMUXK4",
id:

"01JKHTM6E321HQ346ED7TP69G3",
type:

"cf-worker",
error:

"Error: POST method not allowed. No form actions exist for this page"
}
}
scriptVersion:

{
id:

"5f7d2cde-4ef2-4bb8-8ed0-0faa4b1aac11"
},
$metadata:

{
requestId:

"FWPLBHH37NQMUXK4",
id:

"01JKHTM6E321HQ346ED7TP69G3",
type:

"cf-worker",
error:

"Error: POST method not allowed. No form actions exist for this page"
}
}
example log id for 2)
scriptVersion:

{
id:

"8f893e83-74d7-4af3-95c2-8052891c9bf6"
},
truncated:

false,
$metadata:

{
requestId:

"7R4SAANYGY74DZ8A"
}
}
scriptVersion:

{
id:

"8f893e83-74d7-4af3-95c2-8052891c9bf6"
},
truncated:

false,
$metadata:

{
requestId:

"7R4SAANYGY74DZ8A"
}
}
Ok seems like it was zaraz sending each request for whole root domain to my worker resolved by disabling the option

Did you find this page helpful?