|
|
 |
|

10-30-2009, 02:27 PM
|
|
Member
|
|
Join Date: Jun 2008
Posts: 9
|
|
|
Timed out waiting for logon response
Hello,
I get the following errors when running the FIXTradingTester program:
$ java -classpath .:quickfixj-all-1.4.0.jar:mina-core-1.1.0.jar:slf4j-api-1.5.3.jar:slf4j-jdk14-1.5.3.jar FIXTradingTester eg.cfg
<20091030-18:24:52, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Session FIX.4.4:01064006_client1->FXCM/U100D1 schedule is weekly, SUN 00:00:00 UTC - SAT 00:00:00 UTC (weekly, SUN 00:00:00 UTC - SAT 00:00:00 UTC))
<20091030-18:24:52, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Created session: FIX.4.4:01064006_client1->FXCM/U100D1)
Oct 30, 2009 10:24:52 PM quickfix.mina.NetworkingOptions logOption
INFO: Socket option: SocketTcpNoDelay=true
Oct 30, 2009 10:24:52 PM quickfix.mina.NetworkingOptions logOption
INFO: Socket option: SocketSynchronousWrites=false
Oct 30, 2009 10:24:52 PM quickfix.mina.NetworkingOptions logOption
INFO: Socket option: SocketSynchronousWriteTimeout=30000
Oct 30, 2009 10:24:52 PM quickfix.mina.initiator.InitiatorIoHandler sessionCreated
INFO: MINA session created: /192.168.2.2:58110
admin msg to >>> 8=FIX.4.49=9535=A34=149=01064006_client150=52=2009 1030-18:24:53.90456=FXCM57=U100D198=0108=30141=Y10=170
<20091030-18:24:53, FIX.4.4:01064006_client1->FXCM/U100D1, outgoing> (8=FIX.4.49=9535=A34=149=01064006_client150=52=200 91030-18:24:53.90456=FXCM57=U100D198=0108=30141=Y10=170)
<20091030-18:24:53, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Initiated logon request)
<20091030-18:25:04, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Timed out waiting for logon response)
<20091030-18:25:04, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Disconnecting)
got logout FIX.4.4:01064006_client1->FXCM/U100D1
StartSession = null
StopSession = Fri Oct 30 22:25:04 GST 2009
How can I troubleshoot the problem?
Regards,
Venkat
|

11-02-2009, 12:30 PM
|
|
Moderator
|
|
Join Date: Jan 2006
Posts: 1,990
|
|
|
Try again now, I believe you attempted after market closed and during maintenance period.
|

11-02-2009, 01:27 PM
|
|
Member
|
|
Join Date: Jun 2008
Posts: 9
|
|
|
No, still the same. I can log on when using the real account, but not to the demo account, so it is not with the market timings.
|

11-02-2009, 03:10 PM
|
|
Moderator
|
|
Join Date: Jan 2006
Posts: 1,990
|
|
|
you are not sending the subid U100D1 on logon message.
*** error: [Oct 30 14:22:58.579 EDT] Could not resolve a valid connection name from logon message:
|8:BeginString = FIX.4.4
9:BodyLength = 81
35:MsgType = A
49:SenderCompID = 01064006_client1
56:TargetCompID = FXCM
34:MsgSeqNum = 1
52:SendingTime = 20091030-18:22:44.513
98:EncryptMethod = 0
108:HeartBtInt = 30
141:ResetSeqNumFlag = Y
10:CheckSum = 247
Last edited by FXCM Help; 11-02-2009 at 03:13 PM..
|

11-02-2009, 03:15 PM
|
|
Moderator
|
|
Join Date: Jan 2006
Posts: 1,990
|
|
|
try again and post log please.
|

11-02-2009, 04:51 PM
|
|
Member
|
|
Join Date: Jun 2008
Posts: 9
|
|
|
I have tested it again with the same results. The logon message includes 57=U100D1 so I think the TargetSubID is being sent.
admin msg to >>> 8=FIX.4.49=9535=A34=149=01064006_client150=52=2009 1102-21:42:47.29856=FXCM57=U100D198=0108=30141=Y10=173
<20091102-21:42:47, FIX.4.4:01064006_client1->FXCM/U100D1, outgoing> (8=FIX.4.49=9535=A34=149=01064006_client150=52=200 91102-21:42:47.29856=FXCM57=U100D198=0108=30141=Y10=173)
<20091102-21:42:47, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Initiated logon request)
<20091102-21:42:58, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Timed out waiting for logon response)
<20091102-21:42:58, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Disconnecting)
I don't think problem is something to do with the code. I am using the Quickfix java example available on this site to test and it works well with my real account, I face problems only with the demo login.
I have copied the quickfix config file for the demo login in case that is of any help:
[DEFAULT]
ConnectionType=initiator
HeartBtInt=30
FileStorePath=store
StartDay=Sunday
StartTime=00:00:00
EndDay=Saturday
EndTime=00:00:00
UseDataDictionary=Y
DataDictionary=FIXFXCM10.xml
ValidateUserDefinedFields=N
ValidateFieldsHaveValues=N
ValidateFieldsOutOfOrder=N
SocketConnectHost=fixdemo2.fxcorporate.com
SocketConnectPort=80
ReconnectInterval=0
ResetOnDisconnect=Y
ResetSeqNumFlag=Y
ResetOnLogout=Y
SendResetSeqNumFlag=Y
ContinueInitializationOnError=Y
quickfix.cfg=demo.cfg
quickfix.PrintIncoming=Y
quickfix.PrintOutgoing=Y
quickfix.PrintEvents=Y
[SESSION]
BeginString=FIX.4.4
SenderCompID=01064006_client1
TargetCompID=FXCM
TargetSubID=U100D1
Last edited by bvenkat; 11-02-2009 at 05:02 PM..
|

11-02-2009, 05:02 PM
|
|
Moderator
|
|
Join Date: Jan 2006
Posts: 1,990
|
|
|
8:BeginString = FIX.4.4|9:BodyLength = 81|35:MsgType = A|49:SenderCompID = 01064006_client1|56:TargetCompID = FXCM|34:MsgSeqNum = 1|52:SendingTime = 20091030-18:22:44.513|98:EncryptMethod = 0|108:HeartBtInt = 30|141:ResetSeqNumFlag = Y|10:C
heckSum = 247|16586:WireProtocolVersion = FIX.4.4|16575:IsFromCounterParty = Y|
|

11-02-2009, 05:13 PM
|
|
Moderator
|
|
Join Date: Jan 2006
Posts: 1,990
|
|
|
Can you post a recent log excerpt. This one seems to be the one from earlier. i havn't seen any newer login attempts on our side since the first attempt where the targetsubid was missing.
|

11-02-2009, 06:19 PM
|
|
Member
|
|
Join Date: Jun 2008
Posts: 9
|
|
|
Thanks for your assistance. Log copied below:
$ java -classpath .:quickfixj-all-1.4.0.jar:mina-core-1.1.0.jar:slf4j-api-1.5.3.jar:slf4j-jdk14-1.5.3.jar FIXTradingTester demo.cfg
<20091102-23:18:01, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Session FIX.4.4:01064006_client1->FXCM/U100D1 schedule is weekly, SUN 00:00:00 UTC - SAT 00:00:00 UTC (weekly, SUN 00:00:00 UTC - SAT 00:00:00 UTC))
<20091102-23:18:01, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Created session: FIX.4.4:01064006_client1->FXCM/U100D1)
Nov 3, 2009 3:18:01 AM quickfix.mina.NetworkingOptions logOption
INFO: Socket option: SocketTcpNoDelay=true
Nov 3, 2009 3:18:01 AM quickfix.mina.NetworkingOptions logOption
INFO: Socket option: SocketSynchronousWrites=false
Nov 3, 2009 3:18:01 AM quickfix.mina.NetworkingOptions logOption
INFO: Socket option: SocketSynchronousWriteTimeout=30000
Nov 3, 2009 3:18:02 AM quickfix.mina.initiator.InitiatorIoHandler sessionCreated
INFO: MINA session created: /192.168.2.2:65477
admin msg to >>> 8=FIX.4.49=9535=A34=149=01064006_client150=52=2009 1102-23:18:03.10856=FXCM57=U100D198=0108=30141=Y10=160
<20091102-23:18:03, FIX.4.4:01064006_client1->FXCM/U100D1, outgoing> (8=FIX.4.49=9535=A34=149=01064006_client150=52=200 91102-23:18:03.10856=FXCM57=U100D198=0108=30141=Y10=160)
<20091102-23:18:03, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Initiated logon request)
<20091102-23:18:14, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Timed out waiting for logon response)
<20091102-23:18:14, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Disconnecting)
got logout FIX.4.4:01064006_client1->FXCM/U100D1
StartSession = null
StopSession = Tue Nov 03 03:18:14 GST 2009
Nov 3, 2009 3:18:14 AM quickfix.mina.initiator.InitiatorIoHandler sessionCreated
INFO: MINA session created: /192.168.2.2:65479
admin msg to >>> 8=FIX.4.49=9535=A34=149=01064006_client150=52=2009 1102-23:18:15.04556=FXCM57=U100D198=0108=30141=Y10=163
<20091102-23:18:15, FIX.4.4:01064006_client1->FXCM/U100D1, outgoing> (8=FIX.4.49=9535=A34=149=01064006_client150=52=200 91102-23:18:15.04556=FXCM57=U100D198=0108=30141=Y10=163)
<20091102-23:18:15, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Initiated logon request)
<20091102-23:18:25, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Timed out waiting for logon response)
<20091102-23:18:25, FIX.4.4:01064006_client1->FXCM/U100D1, event> (Disconnecting)
got logout FIX.4.4:01064006_client1->FXCM/U100D1
|

11-02-2009, 06:56 PM
|
|
Moderator
|
|
Join Date: Jan 2006
Posts: 1,990
|
|
|
I am not seeing any more connection attempts for your client id. This would suggest to me that your settings are incorrect somewhere. Please make sure you that your code is
SocketConnectHost=fixdemo2.fxcorporate.com
SocketConnectPort=80
I would test to see if you can telnet to this server, and to see if your machine is attempting to connect to this server while your program is running.
|

11-02-2009, 07:06 PM
|
|
Member
|
|
Join Date: Jun 2008
Posts: 9
|
|
|
Yes, I can telnet to the server. Have left the program on, so it tries to reconnect every few seconds ... in case you would like to check on the server.
|

11-02-2009, 07:29 PM
|
|
Moderator
|
|
Join Date: Jan 2006
Posts: 1,990
|
|
|
Still havn't seen any attempt in our logs. Can you list your ip address, so that I can see if it is connecting. Also leave your telnet session connected so i can find your session.
|

11-02-2009, 08:48 PM
|
|
Member
|
|
Join Date: Jun 2008
Posts: 9
|
|
|
IP Address: 91.75.152.138
Have left the telnet session on as well.
|

11-03-2009, 01:35 PM
|
|
Member
|
|
Join Date: Jun 2008
Posts: 9
|
|
|
Is there anything else you want me to check out? Here is a summary of what I know so far:
- I can telnet to fixdemo2.fxcorporate.com on port 80, so I don't think it is a network problem
- I am using the Java example available on the forexforums.dailyfx.com site.
- Using the real account credentials/connection info, I can login to the server and get the market data. However logging on using the demo credentials and connection info throws the error
|

11-03-2009, 02:08 PM
|
|
Moderator
|
|
Join Date: Jan 2006
Posts: 1,990
|
|
|
I just ran a test on this connection and it seems just fine. The only thing I can guess is networking issue or incorrect configuration. If you like I can email you a working test zip you can run yourself.
|
 |
|
| Thread Tools |
|
|
| Rate This Thread |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|