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 just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"Excellent datafeed !!!" - Comment from Arely
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"It’s so nice to be working with real professionals!" - Comment from Len
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"I'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"You have an excellent product !!!!!!" - Comment from Arely
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
»Forums Index »Product Support »Data and Content Support »Regular SERVER DISCONNECTED
Author Topic: Regular SERVER DISCONNECTED (7 messages, Page 1 of 1)

AHA
-Interested User-
Posts: 37
Joined: Jan 31, 2012


Posted: Apr 19, 2021 06:21 AM          Msg. 1 of 7
The last few weeks I have been monitoring several regular disconnects from IQF.

- All disconnects happenend excactly at the same TimeSpan between 8, 0, 0 and 8, 0, 59 CET
- My ISP connection was stable all the while
- Got disconnected today at 08:00:20.730
- Disconnect on 4/13/21 08:00:55.755

The data I received before the disconnect was "S,SERVER DISCONNECTED"

It is kind of annoying since it happens right after the start of most european market futures.


Any ideas?
Edited by AHA on Apr 19, 2021 at 06:26 AM

DTN_Stephen
-DTN Guru-
Posts: 438
Joined: Aug 22, 2014


Posted: Apr 19, 2021 06:29 AM          Msg. 2 of 7
There are unknowns in the equation that I am unable to answer.

(1) Perform a traceroute to the IQ Feed Server you are connected to at the time this happens. You can locate that in the IQ Feed Connection Manger that is located in your system tray by your clock in the lower right of Windows.

(2) You can run an IQ Logfile during these timeframes and we can have it reviewed to see how the client responds at the time of the disconnect.

These are a couple basics steps; for additional support I would contact us at support@iqfeed.net so we can gather additional information to assist you.

Stephen Shockey
Senior Customer Support Representative and Product Support Specialist

DTN
800-779-7299
support@iqfeed.net

AHA
-Interested User-
Posts: 37
Joined: Jan 31, 2012


Posted: Apr 22, 2021 03:44 AM          Msg. 3 of 7
Another disconnect. Here is an extract of the IQ Logfile during that time. For what ever reason I didn't get Level 1 updates for 6s. I received heartbeats every second and was connected to quote server 66.112.148.226

STATUS Connectivity 508 0 2021-04-22 08:01:02 No data from Level 1 server in 6s. Reconnecting
STATUS Connectivity 508 0 2021-04-22 08:01:02 Close called, socket closed. 0
STATUS Connectivity 508 0 2021-04-22 08:01:02 Starting Feed (0:0)
STATUS Connectivity 508 0 2021-04-22 08:01:02 Initiating a login of type (2).
STATUS Connectivity 416 0 2021-04-22 08:01:02 Connecting To Login Server - 66.112.148.211:60000
STATUS Connectivity 416 0 2021-04-22 08:01:02 Connecting to server (66.112.148.211) on port 60000.

Seems like it always happens between 08:00 am and 08:01 am CET, one to two times a week. My internet connection was stable, also did a traceroute.
Edited by AHA on Apr 22, 2021 at 03:49 AM

DTN_Stephen
-DTN Guru-
Posts: 438
Joined: Aug 22, 2014


Posted: Apr 22, 2021 10:26 AM          Msg. 4 of 7
Thank you for the information. I have passed this on to our development team. I will post a response once they have had an opportunity to review the information you have provided.

Stephen Shockey
Senior Customer Support Representative and Product Support Specialist

DTN
800-779-7299
support@iqfeed.net

DTN_Stephen
-DTN Guru-
Posts: 438
Joined: Aug 22, 2014


Posted: Apr 22, 2021 02:26 PM          Msg. 5 of 7
The messages from the logfile show that a reconnection has happened as a result of no data arriving at your machine from the primary quote server connection for 6 seconds and reconnecting which is IQ Connects intended operation for this scenario.

IQFeed’s servers send a timestamp/keepalive message to the client every second (even if the 3rd party app doesn’t want them and tells IQFeed not to send them, the servers still send them to the machine) so if 5 are missed in a row, we reconnect. We do this to detect bad connections to our servers quicker than waiting for windows to tell us the connection is bad which can take 45-90s and sometimes due to the way TCP works, never triggers.

The question is why aren't the timestamps arriving like they should(during those times when you are experiencing a disconnect.)

Unfortunately the IQ Connect Logfile cannot provide that answer.

Since this appears to be a consistent behavior; the speculation is that some router that your internet traffic is passing through kills the connection occasionally due to policies governing that hardware. This would be similar to back in the dialup days for Internet Service Providers used to kick off once every "X Hours"

The likely behavior is happening on the internet somewhere between our servers and your endpoint or PC.

If you would like to contact us at support@iqfeed.net we can provide some troubleshooting ideas that may help locate the problem.

You can utilize WIN MTR or a traceroute using windows CMD line to locate servers that may be causing a problem. You can contact your ISP and see if they can help resolve this issue.

To locate the IP of the server you are currently connecting to you can open the IQ Feed Connection Manager in the lower right of your Windows(System Tray); depending on your windows setup it may be under ^ - SHOW HIDDEN ICONS. Once you locate the IQ Connection Manager double left click on it to get the Connection Manager window.

You will now have a display that has our server IP listed at the top

Stephen Shockey
Senior Customer Support Representative and Product Support Specialist

DTN
800-779-7299
support@iqfeed.net

AHA
-Interested User-
Posts: 37
Joined: Jan 31, 2012


Posted: Apr 26, 2021 03:10 PM          Msg. 6 of 7
Stephen, thanks for your help on this, specially on your assumption that it could be a routing issue. I was able to locate a time based rule in my firewall, which was the cause of the disconnect.

Still not sure why this can cause the error, at least I found the culprit

DTN_Stephen
-DTN Guru-
Posts: 438
Joined: Aug 22, 2014


Posted: Apr 26, 2021 03:13 PM          Msg. 7 of 7
I know these issues can be especially difficult to troubleshoot and involve hours of investigation.

I am glad you made it to the other side with a positive outcome.

Have a wonderful rest of your day.

Stephen Shockey
Senior Customer Support Representative and Product Support Specialist

DTN
800-779-7299
support@iqfeed.net
 

 

Time: Fri July 1, 2022 3:28 PM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003