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 would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"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
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"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
"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
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 »NEW IQFEED FORUMS »New IQFeed Forum »What does this error mean?
Author Topic: What does this error mean? (4 messages, Page 1 of 1)

bards
-Interested User-
Posts: 32
Joined: May 7, 2011


Posted: Oct 3, 2019 11:24 PM          Msg. 1 of 4
Hi,

I have a program that runs daily, and gathers Level1 Data.
What is happening is that the program encounters
errors and then shuts down prematurely.

(I turned on Logging to see what is going on).
This is the last bit of the file:

TO CLIENT L1Error 768 1 2019-10-03 19:00:00 Encountered WSAEWOULDBLOCK while sending to client java.exe. Queuing 44646737 bytes. First 6
4 bytes of data Q,MSFT1918V137,3.10,264,2.98,19,18,15:59:07.464559,2.94,12,88,15
STATUS Information 768 1 2019-10-03 19:00:00 LEVEL1 SOCKET CLOSED - java.exe
STATUS Information 768 0 2019-10-03 19:00:00 LAST CLIENT DISCONNECTED. SHUTTING DOWN IN 5 SEC.
...
STATUS Information 768 0 2019-10-03 19:00:05 Ping Results: Round Trip Time: 22ms
STATUS Connectivity 2288 0 2019-10-03 19:00:05 Authorizations Thread shutting down (156384765) - Context was terminated
STATUS Information 768 0 2019-10-03 19:00:05 IQConnect Exit

What is going on? And how can I avoid this error?

Thanks for any help.

DTN_Gary_Stephen
-DTN Guru-
Posts: 394
Joined: Jul 3, 2019


Posted: Oct 7, 2019 03:44 PM          Msg. 2 of 4
I will review this log and let you know my findings. We may want to get a more complete log from you as well.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

DTN_Gary_Stephen
-DTN Guru-
Posts: 394
Joined: Jul 3, 2019


Posted: Oct 10, 2019 08:49 AM          Msg. 3 of 4
WSAEWOULDBLOCK is a windows socket error code. It means that IQConnect tried to send data to your application, but there was no space left on the socket buffer to receive it. When this happens, IQFeed queues any further data until that data can be delivered, or the app disconnects. The next two lines indicate that this happened (the socket closed and the app disconnected). The remaining lines describe IQConnect/IQFeed shutting down. This is all normal behavior.

So the underlying problem is that the socket buffer is filling, meaning that data is coming in faster than the program is processing it.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

bards
-Interested User-
Posts: 32
Joined: May 7, 2011


Posted: Oct 10, 2019 09:09 AM          Msg. 4 of 4
Thanks Gary for inspecting the log file, and determining
the cause of the error. I will have to rewrite
the program to prevent that.

Thanks again for your response.
bards
 

 

Time: Tue April 23, 2024 11:12 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003