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: ericm
About Contact
Joined: Mar 31, 2008 08:00 AM
Last Post: Mar 20, 2016 06:38 PM
Last Visit: Jan 31, 2017 07:18 AM
Website:  
Location:
Occupation:
Interests:
Email: ericm@ictronics.com
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
ericm has contributed to 145 posts out of 21251 total posts (0.68%) in 6,015 days (0.02 posts per day).

20 Most recent posts:
Data and Content Support » Bad data for QCLK16 Mar 20, 2016 06:38 PM (Total replies: 2)

DateTime: 3/18/2016 16:30:00.0000000
TickId: 21608907
LastPrice: 0.3
TradeSize: 0
TotalVolume: 0

Price should be somewhere over 40

Eric

IQFeed Developer Support » Disconnects Oct 9, 2015 04:11 AM (Total replies: 22)

Two brief disconnections (of about 10 seconds) over the last couple days. But at 03:13:36 (ET) this morning it disconnected and hasn't been able to reconnect; attempted reconnections approaching 7000 at 05:10.

Eric

IQFeed Developer Support » Disconnects Sep 19, 2015 10:06 AM (Total replies: 22)

Now I'm getting P records with no data. Do you do maintenance on Saturday mornings, perhaps? That might explain today's problems.

Eric

IQFeed Developer Support » Disconnects Sep 19, 2015 09:59 AM (Total replies: 22)

Here we go again: About a half hour after startup, we got a disconnect.

Seconds since last update: 185
Reconnections: 0
Attempted reconnections: 177
IQFeed version: 5.1.3.199

Eric

IQFeed Developer Support » Disconnects Sep 13, 2015 01:07 PM (Total replies: 22)

It happened again this morning: Disconnect reported at 10:24:41; Seconds Since Last Update is currently 99685; Attempted Reconnections is somewhat lower at 98300; Reconnections is 1.

Eric

IQFeed Developer Support » Disconnects Aug 28, 2015 10:10 AM (Total replies: 22)

We're still good: 2 Reconnections during the night on 16 Attempted Reconnections; total of 14 seconds lost.

Eric

IQFeed Developer Support » Disconnects Aug 27, 2015 08:24 AM (Total replies: 22)

Thanks, Tim. I received the link and am now running on 5.1.3.199. Time will tell if it resolves the reconnection issue; it didn't solve the previously reported problem of not connecting on the first attempt, which requies me to stop and restart my software.

Eric

IQFeed Developer Support » Disconnects Aug 27, 2015 05:33 AM (Total replies: 22)

A Disconnect occurred again this morning at 2:03:22 (Eastern). It's now 6:30 and Reconnections is 0, and Attempted Reconnections is at around 15900 and still climbing. Our Internet connection is fine, as you can see. I have logging turned on and will send the file (or part of it) if you wish. I will just leave things as they are for now until I hear from you.

Eric

IQFeed Developer Support » Disconnects Aug 21, 2015 11:23 AM (Total replies: 22)

Tim,
Things have stabilized now. We have been up for almost three and a half hours. Reconnects and Attempts have not changed since my last post.

Eric

IQFeed Developer Support » Disconnects Aug 21, 2015 10:06 AM (Total replies: 22)

Tim,
I’m using 5.1.3.1. Sorry, I didn’t think to check for reconnections before restarting. But since the restart about an hour and a half ago we have 2 reconnections and 64 attempted reconnections. Seems like quite a lot of attempts.

Eric

IQFeed Developer Support » Disconnects Aug 21, 2015 08:00 AM (Total replies: 22)

Disconnected again. Reconnected automatically, but took 53 seconds.

Eric

IQFeed Developer Support » Disconnects Aug 21, 2015 07:53 AM (Total replies: 22)

We have had several disconnects this morning, after one of which IQFeed Connection Manager did not reconnect. After a couple of tries we were able to get reconnected, but then got another disconnect followed by the error message "Socket Error: 10054 (WSAECONNRESET)."

Eric


Steve,
Thanks for the response. The firewall has been open for IqConnect for several years on this computer. Otherwise I would not be able to get data after the second or third try--or for the last several years. Something else is going on that is relatively new. As I said, it is not crippling, but is a nuisance.

Eric


Patrick,

Thanks for the information. My network is hard-wired, and I am trying to connect with only one computer at a time; so that doesn't seem to be the solution for me.

I hadn't noticed the new version, so just installed it; Still getting the same result. Guess I'll have to wait for DTN to look at the logs. It's a minor nuisance, but fortunately doesn't interfere with operation here.

Best wishes,

Eric


I had been hoping to see something further about this, since I have been having the problem too. In my case, it fails frequently on the first attempt to start IqConnect, but succeeds on the second attempt. Sometimes I can get it to work when it appears to fail by clicking on Connect, but most times this doesn't work.

I have had another problem with the 5.1.2.5 hanging when I disconnect, preventing me from subsequently starting up. In these cases I must kill the IqConnect process in Task Manager, but this is not usually the problem.

Here's a partial log when it fails:

=== IQConnect Log File Opened On Sat May 09 10:17:04 ===
Current Log Levels,Information,LookupError,L2Error,L1Error,Admin
Current IQFeed Version,5.1.2.5
STATUS Information 1700 2015-05-09 10:17:04 IQFeed launched without IQ32.dll
STATUS Information 1700 2015-05-09 10:17:04 Retrieving IP information
STATUS Information 1700 2015-05-09 10:17:04 ADMIN SOCKET ACCEPTED
TO CLIENT Admin 1700 2015-05-09 10:17:05 S,STATS,,,0,0,1,1,0,0,,,Not Connected,5.1.2.5,[loginId],0,0,,0.00,0.0,,

FROM CLIENT Admin 1700 2015-05-09 10:17:05 S,SET PROTOCOL,5.1

TO CLIENT Admin 1700 2015-05-09 10:17:05 S,CURRENT PROTOCOL,5.1,


FROM CLIENT Admin 1700 2015-05-09 10:17:05 S,SET CLIENT NAME,[appName]

FROM CLIENT Admin 1700 2015-05-09 10:17:05 S,REGISTER CLIENT APP,[app data]

TO CLIENT Admin 1700 2015-05-09 10:17:05 S,REGISTER CLIENT APP COMPLETED,

FROM CLIENT Admin 1700 2015-05-09 10:17:05 S,SET LOGINID,[loginId]

FROM CLIENT Admin 1700 2015-05-09 10:17:05 S,SET PASSWORD,[password]

FROM CLIENT Admin 1700 2015-05-09 10:17:05 S,SET SAVE LOGIN INFO,On

FROM CLIENT Admin 1700 2015-05-09 10:17:05 S,SET AUTOCONNECT,On

FROM CLIENT Admin 1700 2015-05-09 10:17:05 S,CONNECT

TO CLIENT Admin 1700 2015-05-09 10:17:05 S,CURRENT LOGINID,[loginId],
S,CURRENT PASSWORD,[password],
S,LOGIN INFO SAVED,
S,AUTOCONNECT ON,

TO CLIENT Admin 1700 2015-05-09 10:17:06 S,STATS,,,0,0,1,2,0,0,,,Not Connected,5.1.2.5,[loginId],0,0,,0.21,0.11,,

TO CLIENT Admin 1700 2015-05-09 10:17:07 S,STATS,,,0,0,1,3,0,0,,,Not Connected,5.1.2.5,[loginId],0,0,,0.28,0.09,,

TO CLIENT Admin 1700 2015-05-09 10:17:08 S,STATS,,,0,0,1,4,0,0,,,Not Connected,5.1.2.5,[loginId],0,0,,0.35,0.09,,

TO CLIENT Admin 1700 2015-05-09 10:17:09 S,STATS,,,0,0,1,5,0,0,,,Not Connected,5.1.2.5,[loginId],0,0,,0.42,0.08,,

TO CLIENT Admin 1700 2015-05-09 10:17:10 S,STATS,,,0,0,1,6,0,0,,,Not Connected,5.1.2.5,[loginId],0,0,,0.48,0.08,,

TO CLIENT Admin 1700 2015-05-09 10:17:11 S,STATS,,,0,0,1,7,0,0,,,Not Connected,5.1.2.5,[loginId],0,0,,0.55,0.08,,

STATUS Information 1700 2015-05-09 10:17:11 Retrieving IP information
TO CLIENT Admin 1700 2015-05-09 10:17:12 S,STATS,,,0,0,1,8,0,0,,,Not Connected,5.1.2.5,[loginId],0,0,,0.62,0.08,,

[ad infinitum]


And here's a partial log from the next attempt a couple of minutes later:

=== IQConnect Log File Opened On Sat May 09 10:19:59 ===
Current Log Levels,Information,LookupError,L2Error,L1Error,Admin
Current IQFeed Version,5.1.2.5
STATUS Information 4932 2015-05-09 10:19:59 IQFeed launched without IQ32.dll
STATUS Information 4932 2015-05-09 10:19:59 Retrieving IP information
STATUS Information 4932 2015-05-09 10:19:59 Retrieving IP information
STATUS Information 4932 2015-05-09 10:19:59 Retrieved IP information
STATUS Information 4932 2015-05-09 10:19:59 Received response from login server
STATUS Information 4932 2015-05-09 10:19:59 ADMIN SOCKET ACCEPTED
STATUS Information 4932 2015-05-09 10:19:59 Sending user id
STATUS Information 4932 2015-05-09 10:19:59 Sending password / pin
STATUS Information 4932 2015-05-09 10:20:00 Received authorizations
TO CLIENT Admin 4932 2015-05-09 10:20:00 S,STATS,,,0,0,1,1,0,0,,,Not Connected,5.1.2.5,[loginId],0,0,,0.00,0.0,,

FROM CLIENT Admin 4932 2015-05-09 10:20:00 S,SET PROTOCOL,5.1

TO CLIENT Admin 4932 2015-05-09 10:20:00 S,CURRENT PROTOCOL,5.1,


FROM CLIENT Admin 4932 2015-05-09 10:20:00 S,SET CLIENT NAME,[appName]

FROM CLIENT Admin 4932 2015-05-09 10:20:00 S,REGISTER CLIENT APP,[appData],1.0.0.0

TO CLIENT Admin 4932 2015-05-09 10:20:00 S,REGISTER CLIENT APP COMPLETED,

FROM CLIENT Admin 4932 2015-05-09 10:20:00 S,SET LOGINID,[loginId]

FROM CLIENT Admin 4932 2015-05-09 10:20:00 S,SET PASSWORD,[password]

FROM CLIENT Admin 4932 2015-05-09 10:20:00 S,SET SAVE LOGIN INFO,On

FROM CLIENT Admin 4932 2015-05-09 10:20:00 S,SET AUTOCONNECT,On

FROM CLIENT Admin 4932 2015-05-09 10:20:00 S,CONNECT

TO CLIENT Admin 4932 2015-05-09 10:20:00 S,CURRENT LOGINID,[loginId],
S,CURRENT PASSWORD,[password],
S,LOGIN INFO SAVED,
S,AUTOCONNECT ON,

STATUS Information 4932 2015-05-09 10:20:00 Login Initiated without IQ32.dll
STATUS L1Error 4932 2015-05-09 10:20:00 Unable to receive from server. Error:10057 - 1048560 - 0
STATUS L1Error 4932 2015-05-09 10:20:00 Unable to receive from server. Error:10057 - 1048560 - 0
STATUS L1Error 4932 2015-05-09 10:20:00 Unable to receive from server. Error:10057 - 1048560 - 0
STATUS L1Error 4932 2015-05-09 10:20:00 Unable to receive from server. Error:10057 - 1048560 - 0
STATUS L1Error 4932 2015-05-09 10:20:00 Unable to receive from server. Error:10057 - 1048560 - 0
STATUS L1Error 4932 2015-05-09 10:20:00 Unable to receive from server. Error:10057 - 1048560 - 0
TO CLIENT Admin 4932 2015-05-09 10:20:01 S,STATS,66.112.156.110,60003,500,0,1,0,0,0,May 09 10:20AM,May 09 10:20AM,Connected,5.1.2.5,[loginId],0.06,0.06,0,0.21,0.11,0,

STATUS Information 1284 2015-05-09 10:20:01 LOOKUP SOCKET ACCEPTED
STATUS Information 4932 2015-05-09 10:20:01 LEVEL1 SOCKET ACCEPTED
STATUS Information 4932 2015-05-09 10:20:01 Login Initiated without IQ32.dll
TO CLIENT Admin 4932 2015-05-09 10:20:02 S,STATS,66.112.156.227,60002,500,3,3,0,0,0,May 09 10:20AM,May 09 10:20AM,Connected,5.1.2.5,[loginId],0.40,0.35,0.40,17.19,16.97,17.19,

[continues successfully]

Eric

IQFeed Developer Support » Could not connect to History socket. Dec 22, 2014 07:48 AM (Total replies: 8)

Steve,

Thanks for taking the time to explain the cause of this message. Understanding what's going on in the code behind sometimes-cryptic error messages is an immense help.

Best to you and Tim this holiday season.

Eric

IQFeed Developer Support » Could not connect to History socket. Dec 19, 2014 12:22 PM (Total replies: 8)

Unfortunately, the "Could not connect to History socket" is still with us.

Eric

IQFeed Developer Support » Could not connect to History socket. Dec 19, 2014 10:12 AM (Total replies: 8)

Tim,

Put this one on hold for a bit; I may have found the source of the problem.

When I ran my software on a faster computer this morning, it appeared that some of the lookup data were getting processed out of order. Since I put all data in a queue as soon as it comes in, this seemed impossible. I have since traced the problem to a too-small lookup buffer; data were being truncated, not rearranged. Because we have upgraded our LAN and Internet speed lately, data are coming in and filling the buffer more quickly. I doubled the size of the buffer, and the problem disappeared. My suspicion is that this was also causing the problem connecting to the history socket, although it may take a day or so to make sure it too has gone away.

Eric

IQFeed Developer Support » Could not connect to History socket. Dec 18, 2014 06:06 PM (Total replies: 8)

Tim,

I added code to track my requests and IQFeed responses, but for a while I thought it was going to be a variant of the Heisenberg principle: observation changes the behavior. But on a restart this afternoon I got several examples (attached). One is an expired or expiring contract, but two are high-volume contracts. I'll appreciate hearing if there's something I am doing wrong. As I mentioned earlier, however, the majority of the requests succeed without this error. (Note that I have added a horizontal rule to separate the contracts, and in the successful responses an ellipsis [. . .] to shorten the file.)

Eric

IQFeed Developer Support » Could not connect to History socket. Dec 18, 2014 10:29 AM (Total replies: 8)

Tim,

Since I had never seen this error before, I don't have any code to log it to disk. I'll put something in today, but it may be tomorrow before I can get you results.

It happened again a few minutes ago on another startup. It occurred to me that it might be a connection problem, but IQFeed didn't report a disconnect, and the Connection Manager showed no Reconnections or Attempted Reconnections.

Thanks for the quick response.

Eric


Time: Tue September 17, 2024 5:50 AM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003