Connection issue

View: New views
2 Messages — Rating Filter:   Alert me  

Connection issue

by Julian-63 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


I've been working with QuickFix as an Initiator client (ICE) and it run great. But when I attempt to change the server (I need to connect to NYMEX also) it just do not connect. The Setting field are the same and I've check with NYMEX for the correct values... I've attached breakpoint in:
 
                      public void toAdmin(Message message, SessionID sessionID){...........}
 
But it never go trow it, I imagine it never sent the loggin message. Why could this be happening? Seems it can't connect to the socket port.... what do you thing, someone go through this problem. How do I fix it?
 
The line where my application stop is:
 
                this.initiator = new SocketInitiator(this.application, storeFactory, this.settings, logFactory, messageFactory);
                initiator.start();
     ------>   while (!initiator.isLoggedOn());
 
And my setting file is:

   
    NYMEX Session
    [SESSION]
    BeginString=FIX.4.4
    SenderCompID=MyAsignedId
    SenderSubID=TRDGR
    TargetCompID=NYMEX 
    DeliverToCompID=CPT  
    StartTime=00:00:00
    EndTime=21:30:00
    HeartBtInt=30
    SocketConnectPort=443
    SocketConnectHost=204.10.10.233
    Password=my_password
    UserName=my_username
    EncryptMethod=0
    SessionQualifier=NYMEX
    UseDataDictionary=Y
    DataDictionary=C:\FIXML Definition\NymexFIX44.xml
 
Thanks, Julian.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Quickfix-developers mailing list
Quickfix-developers@...
https://lists.sourceforge.net/lists/listinfo/quickfix-developers

Parent Message unknown Re: Connection issue

by Oren Miller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

So you have the logs from this session?  They should give more details
about why the connection is failing.

--oren

> -------- Original Message --------
> Subject: [Quickfix-developers] Connection issue
> From: "Julián_Mendiola" <julian.mendiola@...>
> Date: Mon, June 30, 2008 12:54 pm
> To: quickfix-users
> <quickfix-users@...>,"oren@..."
> <oren@...>,quickfix-developers@...
> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html<hr>I've been working with QuickFix as an Initiator client (ICE) and it run
> great. But when I attempt to change the server (I need to connect to NYMEX
> also) it just do not connect. The Setting field are the same and I've check
> with NYMEX for the correct values... I've attached breakpoint in:
>                       public void toAdmin(Message message, SessionID
> sessionID){...........}
> But it never go trow it, I imagine it never sent the loggin message. Why
> could this be happening? Seems it can't connect to the socket port.... what
> do you thing, someone go through this problem. How do I fix it?
> The line where my application stop is:
>                 this.initiator = new SocketInitiator(this.application,
> storeFactory, this.settings, logFactory, messageFactory);
>                 initiator.start();
>      ------>   while (!initiator.isLoggedOn());
> And my setting file is:
>     NYMEX Session
>     [SESSION]
>     BeginString=FIX.4.4
>     SenderCompID=MyAsignedId
>     SenderSubID=TRDGR
>     TargetCompID=NYMEX
>     DeliverToCompID=CPT
>     StartTime=00:00:00
>     EndTime=21:30:00
>     HeartBtInt=30
>     SocketConnectPort=443
>     SocketConnectHost=204.10.10.233
>     Password=my_password
>     UserName=my_username
>     EncryptMethod=0
>     SessionQualifier=NYMEX
>     UseDataDictionary=Y
>     DataDictionary=C:\FIXML Definition\NymexFIX44.xml
> Thanks, Julian.<hr>-------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php<hr>_______________________________________________
> Quickfix-developers mailing list
> Quickfix-developers@...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Quickfix-developers mailing list
Quickfix-developers@...
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
LightInTheBox - Buy quality products at wholesale price