Skip to content

Help diagnosing hang in unstable network environments #1210

Answered by pfnsec
pfnsec asked this question in Q&A
Discussion options

You must be logged in to vote

Hi all, my apologies for the noise. It turns out it was a complete wild goose chase. After going slightly mad, I found that the issue still persisted even when I replaced calls to the AWS Route53 SDK with a simple tokio::time::sleep().await .
Every future was being awaited correctly, and yet, the hang didn't happen with a synchronous sleep - only when there was an await point in a certain "leaf" function!
I thought this was just so ridiculous, and so in a hail-mary, migrated the app from axum to actix-web. And... the bug disappeared! I am puzzled. However, everything is now working correctly!

I want to thank you all sincerely for your attention on this matter. My hypotheses about any kind…

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@pfnsec
Comment options

Comment options

You must be logged in to vote
5 replies
@ysaito1001
Comment options

@pfnsec
Comment options

@ysaito1001
Comment options

@pfnsec
Comment options

@ysaito1001
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Velfi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants