Closed dvic closed 2 years ago
By the way: it seems specific to login.microsoftonline.com
, for example, github.com
works just fine. Could it be because tls 1.0 and tls 1.1 is enabled? https://www.ssllabs.com/ssltest/analyze.html?d=login.microsoftonline.com&s=20.190.151.9&hideResults=on&ignoreMismatch=on
@dvic heyo, thanks for the report. Yep, it could be a set of things, but I don't really have a clue π I don't have cycles to dedicate to Mint right now, but figured I would maybe ping @voltone to see if this is something that they've seen already π
This does appear to be an issue in :ssl
in OTP 25. I haven't seen prior reports and I didn't find a ticket/PR in the OTP repo. If I have some time later I will have a closer look...
I think this is due to https://github.com/erlang/otp/pull/6037. I'm having some trouble building OTP from source, so I won't be able to verify this today, but if this is indeed the case I suspect it will be addressed in an upcoming patch release of OTP 25.
I think this is due to erlang/otp#6037. I'm having some trouble building OTP from source, so I won't be able to verify this today, but if this is indeed the case I suspect it will be addressed in an upcoming patch release of OTP 25.
Hmm, not 100% sure if this is the issue because it looks like that PR fixes https://github.com/erlang/otp/issues/5961, which is about OTP 24.3.4, and we just downgraded to that version and it has no problems.. But thanks for looking into it!
I'm also not 100% sure, but that issue does seem to relate to the difference in the way Windows server send the ServerHello: that was the main difference between the failing handshake and a working one, according to Wireshark. And in tracing the difference through the :ssl
source code I did come across some suspicious code that is being touched by that PR I mentioned. Anyway, I'll see if I can look into it more tomorrow.
Awesome, thank you so much @voltone β€οΈ
We also ran into this issue for one of our failing API calls, but we're using Hackney. As part of the troubleshooting process, I rebuilt the request with Req
, which also failed with a timeout. I can also confirm that the exact requests work as expected with OTP 24βthis is specific to OTP 25 and is not related to anything mint is doing.
Awesome, thanks for the insight @sorentwo. Iβm going to close this issue since it's not Mint specific. Thanks all! π
@voltone I can confirm that the HEAD git OTP version fixes this issue.
Thanks for the update @dvic
Another update: OTP 25.0.1 is released and this contains the fix :) π
We're seeing weird behaviour with OTP 25 (Elixir 1.13.4):
With OTP 24:
Any idea what's causing this difference?