{{Quickfixn}} Scheduled task issues

Francis Gingras francis at tradeintegration.com
Thu Oct 16 13:40:45 PDT 2014


Hi Curt,

Aren't you supposed to connect to 127.0.0.1 when using sTunnel?

Best regards,

Francis Gingras


__________________________________
Thursday, October 16, 2014, 11:42:24 AM, Curt wrote:


We set up our internal application using QuickFix/n on a server as a scheduled task to run every morning at 4:00 a.m. Our app also utilizes sTunnel for data encryption. The task runs using a service account and we configured the task scheduler to run whether the user is logged on our not. The problem we are having is that the task runs when no one is logged on to the server but is not able to connect to our third-party. We implemented logging and the log is showing that the target machine (which is the server) is refusing the connection when our QuickFix app tries to connect. This will occur over and over. See log excerpt below. 
 
20141016-11:01:01.027 : Session FIX.4.4:552/ADMIN->ICE already disconnected: Resetting...
20141016-11:01:01.199 : Session reset: New session
20141016-11:01:01.199 : Created session
20141016-11:01:01.574 : Connecting to 172.18.133.178 on port 1024
20141016-11:01:02.933 : Connection failed: No connection could be made because the target machine actively refused it 172.18.133.178:1024
20141016-11:01:09.699 : Connecting to 172.18.133.178 on port 1024
20141016-11:01:10.714 : Connection failed: No connection could be made because the target machine actively refused it 172.18.133.178:1024
 
When I logged on to the server this morning to check the task the logs show that the already running app will then successfully connect and work. See log excerpt below.  Also if I kick off the task myself and stay logged on to the machine (with different logon credentials) the app will connect and work just fine.
 
20141016-14:38:03.662 : Connecting to 172.18.133.178 on port 1024
20141016-14:38:04.677 : Connection failed: No connection could be made because the target machine actively refused it 172.18.133.178:1024
20141016-14:38:09.802 : Connecting to 172.18.133.178 on port 1024
20141016-14:38:09.912 : Connection succeeded
20141016-14:38:11.990 : Session reset: ResetOnLogon
20141016-14:38:13.943 : Session reset: ResetSeqNumFlag
20141016-14:38:14.115 : Initiated logon request
20141016-14:38:15.068 : Received logon
 
Any help would be appreciated. 
Thanks,
 
CURT RETTENMIER
Information Developer
Avista Utilities
HP Enterprise Services
Telephone +1 509.495.8492
Email curt.rettenmier at avistacorp.com  
MSC - 28
1411 E. Mission, Spokane, WA 99202
 

 
This message and any attached files or documents may contain information that is confidential and considered proprietary to Avista Corporation. Any unauthorized use, transfer, or disclosure of the information contained herein is strictly forbidden. If you believe that this message has been sent to you in error, please reply to the sender that you have received the message in error and delete the message.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20141016/d5d9d8b2/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 749 bytes
Desc: not available
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20141016/d5d9d8b2/attachment-0001.png>


More information about the Quickfixn mailing list