<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Tito,<br>
<br>
Well, from OpenSIPS perceptive it is a "Connection refused", so
the destination is rejecting the connect.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
</pre>
<div class="moz-cite-prefix">On 4/20/20 11:49 PM, Tito Cumpen wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANZPVB62iFR=Q7jW6Dhyr_K_7b-nuqZ_14YYe3mcJ_Zt_ht_vg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Yes,
<div><br>
</div>
<div>It closes the socket right after the syn+ack. I can provide
the trace if necessary.Here is an output of the logs</div>
<div><br>
</div>
<div>Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:proto_tls:proto_tls_send: connect failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:msg_send:
send() to 192.xx.xx.xxx:5081 for proto tls/3 failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:tm:t_forward_nonack: sending request failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
WARNING:rabbitmq:amqp_check_status: [ID1] socket error:
Connection reset by peer(104)<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:rabbitmq:rmq_error: closing channel: a socket error
occurred<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:rabbitmq:rmq_error: closing connection: a socket error
occurred<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: should be removing
pw<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: new branch at <a
href="mailto:sip%3Asupport.test@test.org"
moz-do-not-send="true">sip:support.test@test.org</a> within
logic per branch route<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:tcp_connect_blocking_timeout: poll error: flags 28
- 4 8 16 32<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:tcp_connect_blocking_timeout: failed to retrieve
SO_ERROR [server=<a href="http://127.0.0.1:443"
moz-do-not-send="true">127.0.0.1:443</a>] (111) Connection
refused<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:proto_tls:tls_sync_connect: tcp_blocking_connect failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:proto_tls:proto_tls_send: connect failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:msg_send:
send() to <a href="http://127.0.0.1:443"
moz-do-not-send="true">127.0.0.1:443</a> for proto tls/3
failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:tm:t_forward_nonack: sending request failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:tcp_connect_blocking_timeout: poll error: flags 28
- 4 8 16 32<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:tcp_connect_blocking_timeout: failed to retrieve
SO_ERROR [server=<a href="http://127.0.0.1:443"
moz-do-not-send="true">127.0.0.1:443</a>] (111) Connection
refused<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:proto_tls:tls_sync_connect: tcp_blocking_connect failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:proto_tls:proto_tls_send: connect failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:msg_send:
send() to <a href="http://127.0.0.1:443"
moz-do-not-send="true">127.0.0.1:443</a> for proto tls/3
failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:tm:t_forward_nonack: sending request failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:tcpconn_async_connect: poll error: flags 1c<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:tcpconn_async_connect: failed to retrieve SO_ERROR
[server=<a href="http://127.0.0.1:5060" moz-do-not-send="true">127.0.0.1:5060</a>]
(111) Connection refused<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:proto_tcp_send: async TCP connect failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:msg_send:
send() to <a href="http://127.0.0.1:5060"
moz-do-not-send="true">127.0.0.1:5060</a> for proto tcp/2
failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:tm:t_forward_nonack: sending request failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:tcpconn_async_connect: poll error: flags 1c<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:tcpconn_async_connect: failed to retrieve SO_ERROR
[server=<a href="http://127.0.0.1:5060" moz-do-not-send="true">127.0.0.1:5060</a>]
(111) Connection refused<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:proto_tcp_send: async TCP connect failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:msg_send:
send() to <a href="http://127.0.0.1:5060"
moz-do-not-send="true">127.0.0.1:5060</a> for proto tcp/2
failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:tm:t_forward_nonack: sending request failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:tcpconn_async_connect: poll error: flags 1c<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:tcpconn_async_connect: failed to retrieve SO_ERROR
[server=<a href="http://127.0.0.1:5223" moz-do-not-send="true">127.0.0.1:5223</a>]
(111) Connection refused<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:proto_tcp_send: async TCP connect failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:msg_send:
send() to <a href="http://127.0.0.1:5223"
moz-do-not-send="true">127.0.0.1:5223</a> for proto tcp/2
failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:tm:t_forward_nonack: sending request failed<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:tcpconn_async_connect: poll error: flags 1c<br>
Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
ERROR:core:tcpconn_async_connect: failed to retrieve SO_ERROR
[server=<a href="http://127.0.0.1:5223" moz-do-not-send="true">127.0.0.1:5223</a>]
(111) Connection refused<br>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Tito</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Apr 20, 2020 at 7:32
AM Bogdan-Andrei Iancu <<a
href="mailto:bogdan@opensips.org" moz-do-not-send="true">bogdan@opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"> <tt>Hi Tito,<br>
<br>
You say OpenSIPS is sending a RESET without being any data
exchanged on the connection? <br>
<br>
What are the logs for the failed send ?<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">https://www.opensips-solutions.com</a>
</pre>
<div>On 4/17/20 11:43 PM, Tito Cumpen wrote:<br>
</div>
<blockquote type="cite">
<div dir="auto">Hello,
<div dir="auto"><br>
</div>
<div dir="auto">I am attempting to use
t_relay("tls:domain:port") but I am not having much
success with it on 2.4. opensips sends a syn to the
peer then gets an syn ack and sends a rst . The logs
claim that the send failed but it never opened the
socket entirely and did not send the client hello at
all.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Are there any other configs to be
considered when attempting this ?</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>