Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"I've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
Viewing User Profile for: RCA
About Contact
Joined: Jun 22, 2017 12:59 PM
Last Post: Jun 23, 2017 11:02 AM
Last Visit: Jun 23, 2017 11:02 AM
Website:  
Location:
Occupation:
Interests:
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
RCA has contributed to 6 posts out of 21185 total posts (0.03%) in 2,500 days (0.00 posts per day).

20 Most recent posts:
IQFeed Developer Support » Disconnection from IQConnect.exe Jun 23, 2017 11:02 AM (Total replies: 10)

Hi Tim,

I was able to verify that you are correct, and that this is the cause. I will talk to sales ASAP.

Many thanks for your help

Richard

IQFeed Developer Support » Disconnection from IQConnect.exe Jun 23, 2017 10:19 AM (Total replies: 10)

Hi Tim,

That is entirely possible - I have one machine which is running production software, but I am continuing development on another machine.
Are you saying that we cannot have two connections from two different machines using the same ProductID?
What is the recommended way to manage this scenario? Do we need an additional ProductID or additional UserName and PIN for development?

Richard

IQFeed Developer Support » Disconnection from IQConnect.exe Jun 23, 2017 10:00 AM (Total replies: 10)

Hi Tim,

I have emailed you the log file.

Richard

IQFeed Developer Support » Disconnection from IQConnect.exe Jun 23, 2017 09:11 AM (Total replies: 10)

Hi Tim,

My interpretation of this is that something is terminating a socket used for communication between IQConnect.exe and its server (it's unclear whether this is on the IQConnect.exe side or the server side) and then the shutdown is not completing for some reason. As the shutdown remains pending, subsequent attempts to reconnect from my Admin connection fail.

Why would this be happening?

Thanks,

Richard

IQFeed Developer Support » Disconnection from IQConnect.exe Jun 23, 2017 08:55 AM (Total replies: 10)

Hi Tim,

Logs below. It seems that the critical message is 'Ignoring attempts to reconnect due to pending shutdown', which would explain why I cannot reconnect with the S,CONNECT command.

Richard

TO CLIENT Admin 17816 4 2017-06-23 14:33:36 S,STATS,66.112.156.223,60003,500,1,3,0,3,7,Jun 23 2:12PM,Jun 23 09:33AM,Connected,5.2.6.0,466755,215.72,0.02,0.17,395.63,0.21,0.31,

STATUS Connectivity 17816 0 2017-06-23 14:33:37 Socket close called, socket valid, closing.
STATUS Connectivity 17816 0 2017-06-23 14:33:37 Close called, socket closed. 0
STATUS Connectivity 17816 0 2017-06-23 14:33:37 Close called, socket closed. 0
STATUS Connectivity 17816 0 2017-06-23 14:33:37 Stop called while feed was already disconnected. : 0 :1 : Not Connected
STATUS Connectivity 17816 0 2017-06-23 14:33:37 Ignoring attempts to reconnect due to pending shutdown.
TO CLIENT Admin 17816 4 2017-06-23 14:33:37 S,STATS,,,500,1,3,0,3,7,,,Not Connected,5.2.6.0,466755,215.72,0.02,,395.93,0.21,,

FROM CLIENT Admin 17816 4 2017-06-23 14:33:37 S,CONNECT

STATUS Connectivity 17816 0 2017-06-23 14:33:37 Starting Feed (1:0)
STATUS Connectivity 17816 0 2017-06-23 14:33:37 Initiating a login of type (2).
STATUS Connectivity 45848 0 2017-06-23 14:33:37 Connecting To Login Server - 66.112.156.210:60000
STATUS Connectivity 45848 0 2017-06-23 14:33:37 Connecting to server (66.112.156.210) on port 60000.
STATUS Connectivity 45848 0 2017-06-23 14:33:37 Connect Process: Status 1.
STATUS Connectivity 45848 0 2017-06-23 14:33:37 Connect Process: Status 2.
STATUS Connectivity 45848 0 2017-06-23 14:33:37 Connect Process: Status 3.
STATUS Connectivity 45848 0 2017-06-23 14:33:37 Connected to server 0.
STATUS Connectivity 17816 0 2017-06-23 14:33:38 Ignoring attempts to reconnect due to pending shutdown.
TO CLIENT Admin 17816 4 2017-06-23 14:33:38 S,STATS,,,500,1,3,0,3,8,,,Not Connected,5.2.6.0,466755,215.72,0.02,,396.01,0.21,,

STATUS Connectivity 45848 0 2017-06-23 14:33:38 Setting symbol limit to 500
STATUS Connectivity 45848 0 2017-06-23 14:33:38 Processed Server 15 (66.112.156.223:60003)
STATUS Connectivity 45848 0 2017-06-23 14:33:38 Connection to server 0 closed.
STATUS Connectivity 45848 0 2017-06-23 14:33:38 Connection to server (0) closed gracefully.
STATUS Connectivity 45848 0 2017-06-23 14:33:38 0 products left to authenticate. Ready
STATUS Connectivity 17816 0 2017-06-23 14:33:38 Authentication Complete - Debug value = 1
STATUS Connectivity 45848 0 2017-06-23 14:33:38 Resetting socket in authentication thread.
STATUS Connectivity 17816 0 2017-06-23 14:33:38 Login Initiated without IQ32.dll
STATUS Connectivity 17816 0 2017-06-23 14:33:39 Ignoring attempts to reconnect due to pending shutdown.
TO CLIENT Admin 17816 4 2017-06-23 14:33:39 S,STATS,,,500,1,3,0,3,8,,,Not Connected,5.2.6.0,466755,215.72,0.02,,396.09,0.21,,

IQFeed Developer Support » Disconnection from IQConnect.exe Jun 22, 2017 04:50 PM (Total replies: 10)

Following a successful connection to the admin feed, I find that I get disconnected from the server seemingly at random some time after. This can be from 5 minutes to several hours after connecting. This is reported in the S,STATS messages on the admin feed. Calling S,CONNECT on the admin feed to reconnect has no effect. I can see in the S,STATS messages that IQConnect still believes that a connection exists. The only way I can reconnect is by killing IQConnect.exe and restarting both it and my application.

What is the best method to debug this and discover the reason?

What is the recommended procedure when a disconnection occurs to ensure that a reconnection happens as seamlessly as possible?


Time: Thu April 25, 2024 10:19 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003