Error OpenSSL::SSL::Error - SSL_connect: error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac
The error only happens for this specific URI domain, when it's cross compiled and run on my Raspberry Pi, when the line is inside a fibre instead of the main event loop, and when it's compiled with the --release flag. I was also able to prevent it by putting a puts command on the line directly before it.
I also didn't start testing this line until after I upgrade to Crystal 1.4, so I don't know if this bug was present in previous compiler versions.
This is very similar to the previous fixed issue #10040.
The line of code is this:
And it generates the error:
The error only happens for this specific URI domain, when it's cross compiled and run on my Raspberry Pi, when the line is inside a fibre instead of the main event loop, and when it's compiled with the
--release
flag. I was also able to prevent it by putting aputs
command on the line directly before it.I also didn't start testing this line until after I upgrade to Crystal 1.4, so I don't know if this bug was present in previous compiler versions.