[QFJ-871] Print address for unsuccessful connection attempts Created: 03/Dec/15  Updated: 21/Apr/16  Resolved: 23/Dec/15

Status: Closed
Project: QuickFIX/J
Component/s: Networking
Affects Version/s: 1.6.1
Fix Version/s: 1.6.2

Type: Improvement Priority: Default
Reporter: Kou Jun Assignee: Christoph John
Resolution: Fixed Votes: 0
Labels: None


 Description   

If fail-over case, I config like below
SocketConnectHost=host1
SocketConnectPort=1111
SocketConnectHost1=host2
SocketConnectPort1=1111
,if the two accepter are not exist,the log will be like as below,

20151203-21:17:14.014 ERROR [QFJ Timer] errorEvent - FIX.4.2:XXX->YYY: java.net.ConnectException: java.net.ConnectException: Connection refused: no further information (Next retry in 15000 milliseconds)
20151203-21:17:29.037 ERROR [QFJ Timer] errorEvent - FIX.4.2:XXX->YYY: java.net.ConnectException: java.net.ConnectException: Connection refused: no further information (Next retry in 15000 milliseconds)
20151203-21:17:44.048 ERROR [QFJ Timer] errorEvent - FIX.4.2:XXX->YYY: java.net.ConnectException: java.net.ConnectException: Connection refused: no further information (Next retry in 15000 milliseconds)
20151203-21:17:59.065 ERROR [QFJ Timer] errorEvent - FIX.4.2:XXX->YYY: java.net.ConnectException: java.net.ConnectException: Connection refused: no further information (Next retry in 15000 milliseconds)

I could'nt know this connection is connect to which host and port is failed,
if print out the host and port,will be very useful!



 Comments   
Comment by Kou Jun [ 03/Dec/15 ]

someone could hide my SendCompID and TargetCompID?
thanks.

Comment by Christoph John [ 03/Dec/15 ]

Done

Generated at Thu May 09 00:47:03 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.