John The Cooling Fan
CDCloudflare Developers
•Created by John The Cooling Fan on 2/29/2024 in #workers-help
No TLS on workers.dev unless VPN is used
I was unable to make requests via curl with
SSL_ERROR_SYSCALL
for a long time, and I also can only get logs in the dashboard if I turn on my vpn. Deploying via wrangler works, but log streaming and dev environment don't.
sslscan workers.dev
(same with <worker>.<account>.workers.dev
)
I am located in Russia and I use my company's account.21 replies
CDCloudflare Developers
•Created by John The Cooling Fan on 12/5/2023 in #workers-help
"A hanging Promise was cancelled" in a rust-wasm worker
I am getting this message from one route handler in my worker. With
console_debug
I managed to pinpoint it to call to hound::WavWriter::new
. I don't think there was a panic, but the function doesn't even return before the hanging promise is cancelled. What part of the used tools/libraries might be the actual culprit and how do I fix this?8 replies
CDCloudflare Developers
•Created by John The Cooling Fan on 10/4/2023 in #workers-help
Worker using reqwest fails to compile because of mio
When I try to build and run my worker with
npx wrangler dev
, i get a lot of compilation errors about non-existing types and methods used in mio
crate. From cargo tree --target=wasm32-unknown-unknown
, I see that this is only used by tokio. Code attached.2 replies