|
From: Colin D. <co...@ma...> - 2019-02-07 18:39:52
|
- you're using SocketAcceptProtocol in the initiator when you should be using SocketConnectProtocol, however, that shouldn't matter as the default is "TCP" - you define the initiator session as FIX.4.0 (with the begin string statement), but you use the FIX41 dictionary. This probably shouldn't matter (much), but it's a potential problem. Also, I would use at least 4.2 Can you provide the initiator output, too? On 2/7/19 9:58 AM, Savage, Sherard wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > Try this again. > > Colin, > > In my search of a resolution to this issue, I decided to give more detail along with screenshots and output for more clarification. I spent a lot of time on the Nabble support site researching troubleshooting tips and found a few similar to the one I have. Here is the summary: > > 2 virtual machines - no internet access on a secure test environment > Banzai (initiator): name: Win7_fix, IP: 10.10.10.116 > Executor (acceptor): name: Win7B, IP: 10.10.10.117 > > Config files Respectively: > Banzai > > # Machine A (name:7_Fix, IP: 10.10.10.116) > > [default] > > FileStorePath=examples/target/data/banzai > ConnectionType=initiator > > SenderCompID=BANZAI > > TargetCompID=EXEC > Socket > ConnectHost=localhost > > StartTime=00:00:00 > > EndTime=00:00:00 > > HeartBtInt=30 > > ReconnectInterval=5 > > > SocketConnectPort=9876 > #Host to connect to (Machine B) > SocketConnectHost=10.10.10.117 > > # session definition > [SESSION] > # inherit ConnectionType, ReconnectInterva and SenderCompID from Default > > > BeginString=FIX.4.0 > > TargetCompID=EXEC > StartTime=12:30:00 > EndTime=23:30:00 > HeartBtInt=20 > SocketConnectPort=9876 > > > SocketConnectHost=10.0.0.117 > SocketAcceptProtocol=TCP > DataDictionary=somewhere/FIX41.xml > > > Executor > > #Machine B (name:Win7B, IP: 10.10.10.117) > > > [default] > > FileStorePath=examples/target/data/executor > > ConnectionType=acceptor > > StartTime=00:00:00 > > EndTime=00:00:00 > HeartBtInt=30 > > ValidOrderTypes=1,2,F > > SenderCompID=EXEC > > TargetCompID=BANZAI > > UseDataDictionary=Y > > DefaultMarketPrice=12.30 > > [session] > BeginString=FIX.4.0 > > SocketAcceptPort=9876 > SocketAcceptAddress=10.10.10.117 > SocketAcceptProtocol=TCP > > > Per your original reply, I was successful in telnetting to the acceptor machine on port 9876 - pic attached Output on Executor: attached Banzai screenshot: attached > > Any further help would be greatly appreciated. > > Thanks, > Sherard > > > > > > > > > Sherard Savage | Business Development Technical Integrator Owl Cyber Defense > > P (203) 894-9342 ext. 309 > M (203) 500-0862 > W www.owlcyberdefense.com > Connect with us! > Facebook | LinkedIn | Twitter > The information contained in this transmission is for the personal and confidential use of the individual or entity to which it is addressed. If the reader is not the intended recipient, you are hereby notified that any review, dissemination, or copying of this communication is strictly prohibited. If you have received this transmission in error, please notify the sender immediately > > See us at the following 2019 events: > DistribuTECH Convention & Exhibition, New Orleans, LA (Feb. 5th - 7th) ARC Industry Forum Orlando 2019, Orlando, FL (Feb. 4th - 7th) AFCEA West 2019, San Diego, CA (Feb. 13th - 15th) ISA Oman Section Event 2019, Muscat, Oman (Feb. 19th - 20th) > > -----Original Message----- > From: Colin DuPlantis <co...@ma...> > Sent: Wednesday, February 6, 2019 2:59 PM > To: qui...@li... > Subject: Re: [Quickfixj-users] QuickFix Set up and usage > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > If it works on one machine, but not across machines, I'm going to guess it's an addressing problem rather than config. > > Make sure you have the IP addresses correct, both machines can see the other IP address (especially important when using VM as you can go down a rabbithole of bridged connections), and you're not binding localhost for your acceptor (need to bind an addressable address). > > From the initiator machine, make sure you can open a telnet session to the acceptor machine on the ip:port you've chosen. If you can't, that's your problem. > > On 2/6/19 11:38 AM, savages203 wrote: >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> >> >> Hi, >> >> My setup below is working across a virtual environment with 2 Windows >> 7 machines. I am not getting QFJ to receive information from either >> side and I am somewhat confused at to which is the sender and which is >> the receiver. I have heard conflicting things. So I will list what I have so far: >> >> When I run quickfix on the same machine, i get the feedback/results >> that i expect. >> I cannot get this to work across a network. >> >> Banzai - Sender >> Executor - receiver >> >> win7 machine 1 - Sender >> Win7 machine 2 - Receiver >> >> I have edited the config file - so that the sender (Banzai) is looking >> to connect to the receiver (Executor). >> >> It seems to just be looking locally for the connection. >> >> Please advise thanks, >> Sherard >> >> >> >> -- >> Sent from: http://quickfix-j.364392.n2.nabble.com/ >> >> >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- > Colin DuPlantis > Chief Architect, Marketcetera > Download, Run, Trade > 888.868.4884 > https://www.marketcetera.com > > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Colin DuPlantis Chief Architect, Marketcetera Download, Run, Trade 888.868.4884 https://www.marketcetera.com |