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)




"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
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"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 was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"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
"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
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
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 »IQFeed on Linux throws ICMP error
Author Topic: IQFeed on Linux throws ICMP error (4 messages, Page 1 of 1)

karthikkrishnan
-Interested User-
Posts: 22
Joined: Nov 4, 2015


Posted: Apr 7, 2020 01:56 PM          Msg. 1 of 4
I am using wine to run IQFeed and connect using python socket clients. When I run it first time, it connects and downloads the data. If I stop my client and relaunch again, it throws an error as below.

002d:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x32e868 1 C) semi-stub
0032:err:ole:CoUninitialize Mismatched CoUninitialize
002d:err:winediag:IcmpCreateFile Failed to use ICMP (network ping), this requires special permissions.
002d:fixme:msvcrt:__clean_type_info_names_internal (0x1029f8fc) stub
^C0033:fixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
0033:fixme:msvcrt:__clean_type_info_names_internal (0x1029f8fc) stub

Has anyone been successful to have a client connect and reconnect at will ? Now I am left to kill the IQfeed process and relaunch and do it all over again [Not a workable solution]. I am surprised we still don't have a good Linux solution.

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


Posted: Apr 15, 2020 03:26 PM          Msg. 2 of 4
Are you using Wine to run IQConnect.exe? That type of error is usually a Wine error. Let me know, and we may have you turn on some logging, to see what the program is doing behind the scenes.

Sincerely,
Gary Stephen
DTN IQFeed API Support

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

karthikkrishnan
-Interested User-
Posts: 22
Joined: Nov 4, 2015


Posted: Apr 15, 2020 04:03 PM          Msg. 3 of 4
yes, I do use wine using command /opt/wine-stable/bin/wine "/home/ubuntu/.wine/drive_c/Program Files (x86)/DTN/IQFeed/IQLinkLauncher.exe"

This launches which needs a start button clicked manually.

How do I turn on more logging ?

jmv
-Interested User-
Posts: 19
Joined: May 31, 2011


Posted: Apr 21, 2020 03:12 PM          Msg. 4 of 4
Hi,

iqconnect.exe does a ping round trip against its DTN servers (you can see the ping results at IQConnect.log when you stop the feed and iqconnect.exe exits). Thing is, ping uses ICMP protocol, which in linux is somewhat privileged.

So, you need to give wine the appropiate permissions in order to be able to use ICMP. Running wine as root in order to circumvent this problem would be overkill (besides a very bad thing to do!), but fortunately you can use setcap in order to grant permissions in a much more granular way.

First, locate where your wine-preloader file is. In my case, it's on /usr/bin/wine-preloader . Then, type (yoo will need to sudo for this):

sudo setcap cap_net_raw+epi /usr/bin/wine-preloader

and that's all. Now wine is allowed to use ICMP protocol, which in turn will allow IQconnect.eze to make its "ping things" without complaining xD

trade well !

Jose,
 

 

Time: Mon May 20, 2024 3:01 PM CFBB v1.2.0 6 ms.
© AderSoftware 2002-2003