<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am having a problem executing a failure_route 
block when t_relay fails to establish a tcp connection.&nbsp; </FONT><FONT 
face=Arial size=2>Everything works as expected when t_relay connects to a proxy 
and receives back an error like 501.&nbsp;&nbsp;Is there a way to&nbsp;configure 
t_relay to execute a failure_route block an a tcp connection error?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank You in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2>Dmitry</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Here are the logs from connection failure 
-</FONT></DIV>
<DIV>Jun 15 20:52:14 localhost ser[21870]: ERROR: 
tcp_blocking_connect:<BR>SO_ERROR (111) Connection refused <BR>Jun 15 20:52:14 
localhost ser[21870]: ERROR: tcpconn_connect:<BR>tcp_blocking_connect failed 
<BR>Jun 15 20:52:14 localhost ser[21870]: ERROR: tcp_send: connect failed 
<BR>Jun 15 20:52:14 localhost ser[21870]: msg_send: ERROR: tcp_send failed 
<BR>Jun 15 20:52:14 localhost ser[21870]: ERROR: t_forward_nonack: 
sending<BR>request failed <BR></DIV></BODY></HTML>