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)




"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"Excellent datafeed !!!" - Comment from Arely
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"It’s so nice to be working with real professionals!" - Comment from Len
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason 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
»Forums Index »Archive (2017 and earlier) »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: 453
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: 453
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: 453
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: 453
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: Wed May 1, 2024 4:47 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003