squareclamp
squareclamp
Explore posts from servers
CDCloudflare Developers
Created by squareclamp on 4/3/2024 in #workers-help
Email obfuscated when using HTMLRewriter
Hi, I'm using HTMLRewriter to parse some html data, when deployed I see parsed text has email obfuscated but on my laptop the email shows just fine. I couldn't find this behavior documented anywhere, is it possible to disable this? This is using workers.dev domain. The exact text is [email protected]
9 replies
CDCloudflare Developers
Created by squareclamp on 3/16/2024 in #pages-help
Unknown internal error occurred when deploying remix app
I'm trying to deploy a remix app, and keep getting Unknown internal error occurred. The app works fine locally, not sure how to debug this any further. The deployment id is d087a906-b222-4db0-98f3-552418443753
8 replies
CDCloudflare Developers
Created by squareclamp on 3/16/2024 in #workers-help
Debugging Script startup exceeded CPU time limit.
Hi, I'm using remix on cloudflare pages, when I try deploying I get - Error: Failed to publish your Function. Got error: Error: Script startup exceeded CPU time limit. Seems like a common issue with pages and workers, but I haven't found a good way to debug this other than making heavy imports async. Its not clear what might be the heavy import in my application since my server bundle is 163K, any pointers on how I can debug this further? Is there a way to investigate startup time locally. I'm using note compatibility for remix-auth-totp, but nothing else that happens in global context. I'm also using R2, D1, and KV.
6 replies