simmsb/calamity

recently started getting ERROR Something went wrong with the http client

Opened this issue · 3 comments

(InternalException (HandshakeFailed (Error_Protocol ("expecting server hello, got alert : [(AlertLevel_Fatal,DecodeError)]",True
,HandshakeFailure)))))

024-06-05T11:41:27.596422788Z /calamity /calamity route=https://discord.com/api/v10/gateway/bot DEBUG Internal error, retrying
024-06-05T11:41:27.596439133Z /calamity /calamity route=https://discord.com/api/v10/gateway/bot DEBUG unknown ratelimit
024-06-05T11:41:27.596451625Z /calamity /calamity route=https://discord.com/api/v10/gateway/bot DEBUG Request failed after 5 retries

wasn't able to guess what exactly broked and how, I did no changes, might be some discord API update

This looks like an issue with HTTPS negotiation in the tls library
Perhaps this might be an issue with discord?

I will try to check

I've found no solution to problem there except comment to increase the timeout, and not sure if this issue still actual, I'm on tls 1.8.0, calamity even currently has limit over tls to be < 2 and it was working before I think

so might be indeed some issue with discord @simmsb may you try restarting some calamity bot from your side to check