-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TLS retry_middlebox_assert issue after upgrading to erlang 26.0.2 #7586
Comments
Have you tried to disable middle_box mode ? {middlebox_comp_mode, false}. I do not know hackney but it should let you pass this ssl option to the client. You probably do not need this mode. |
@nulian You should also be able to supply the {versions, ['tlsv1.3']} to the client as you know the server knows TLS-1.3 and that should also make your problem go away. As this is not a bug in our code but in the server that was previously undetected. Of course it could be possible to have a flag to ignore this bug (as it seems harmless at the moment), but that is a "dirty" solution that we prefer not implement. |
Do you have to supply only tlsv1.3 then to version because I tried adding it to the existing ones like |
Well yes if it does help with the version you must specify only TLS-1.3 ( {versions, ['tlsv1.3']} ) . Does it not allow you to put {middlebox_comp_mode, false}, you should be able to supply it in the same list as the versions option? But it might be the case, that versions, will not be sufficient as a work around for this specific version of middlebox compatibility mode issues (so far it seems to have caused more problems than it solved). |
It of course could also work to downgrade to run tlsv-1.2 ( {versions, ['tlsv1.2']} ) , but probably that would be less desirable. Maybe you can make PR to allow you to set middle_box mode in hackny? |
Tried also with tlsv1.3 still had issue so forked the bamboo_smtp and added the middlebox_comp_mode to it's tls settings so I could disable it. |
After I upgraded our project to erlang 26.0.2 i'm sometimes randomly getting
hello_retry_middlebox_assert
errors when sending mails through smtp client that uses hackneyThe error doesn't happen every time it seems very random if it works or not. Even got 2 different errors while trying to send mails and other times it works without any error.
Did see this being talked about in #6807 but not sure how I can configure or change something that it works consistent again like it did in erlang 25.3.2.5
The mailing domain is of an external service we use so we don't have control on their ssl configuration.
Using domain smtp.flowmailer.net and see in the result it get's converted to front.flowmailer.net
Error
The text was updated successfully, but these errors were encountered: