We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running version 1.2.0
Looking at ssl.recv it expects a record #sslsocket{}, clearly that's not the case here.
ssl.recv
#sslsocket{}
Possible Erlang bug?
%FunctionClauseError{ args: nil, arity: 3, clauses: nil, function: :recv, kind: nil, module: :ssl } Stack trace: [ {:ssl, :recv, [ {:"$inet", :gen_tcp_socket, {#PID<0.2479.0>, {:"$socket", #Reference<0.1046277591.1572208641.9904>}}}, 0, 1200000 ], [file: 'ssl.erl', line: 885]}, {:gen_smtp_client, :read_possible_multiline_reply, 1, [ file: '/collection_server/src/collection_server/deps/gen_smtp/src/gen_smtp_client.erl', line: 839 ]}, {:gen_smtp_client, :connect, 2, [ file: '/collection_server/src/collection_server/deps/gen_smtp/src/gen_smtp_client.erl', line: 822 ]}, {:gen_smtp_client, :open_smtp_session, 2, [ file: '/collection_server/src/collection_server/deps/gen_smtp/src/gen_smtp_client.erl', line: 378 ]}, {:gen_smtp_client, :try_smtp_sessions, 3, [ file: '/collection_server/src/collection_server/deps/gen_smtp/src/gen_smtp_client.erl', line: 316 ]}, {:gen_smtp_client, :send_it, 2, [ file: '/collection_server/src/collection_server/deps/gen_smtp/src/gen_smtp_client.erl', line: 289 ]},
The text was updated successfully, but these errors were encountered:
I think it's because we have explicit is_port(Sock) here
is_port(Sock)
gen_smtp/src/smtp_socket.erl
Line 179 in 99fad81
Sorry, something went wrong.
So I did a quick experiment and it seemed to get it working. Probably needs more extensive tests, especially on pre-R24/R25: nhpip@db38e85
No branches or pull requests
Running version 1.2.0
Looking at
ssl.recv
it expects a record#sslsocket{}
, clearly that's not the case here.Possible Erlang bug?
The text was updated successfully, but these errors were encountered: