calamity icon indicating copy to clipboard operation
calamity copied to clipboard

recently started getting ERROR Something went wrong with the http client

Open Miezhiko opened this issue 1 year ago • 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

Miezhiko avatar Jun 05 '24 11:06 Miezhiko

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

simmsb avatar Jun 05 '24 14:06 simmsb

I will try to check

Miezhiko avatar Jun 05 '24 16:06 Miezhiko

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

Miezhiko avatar Jun 06 '24 07:06 Miezhiko