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)




"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"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 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
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"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'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
"It’s so nice to be working with real professionals!" - Comment from Len
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
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 »IQFeed API Questions »HTTP 1.1/ 400 Bad request response upon request
Author Topic: HTTP 1.1/ 400 Bad request response upon request (4 messages, Page 1 of 1)

alexfe
-Interested User-
Posts: 2
Joined: May 24, 2022


Posted: May 24, 2022 02:10 PM          Msg. 1 of 4
I am supporting application using iqfeed, establishing 3 socket connections: Admin, Level1, Lookup.
It works on most of the workstations. However for the one specific workstation I am receiving the following bad request response on Lookup socket:

Normal:
-> S,SET PROTOCOL,5.2
<- S,CURRENT PROTOCOL,5.2

Exception:
-> S,SET PROTOCOL,5.2
<- HTTP/1.1 400
Server: WebSocket++/0.8.2

Actual software installed 6.1.0.20
Any ideas how should I troubleshot this issue?

fwiw, on that specific workstation IQFeed own sample application doesn't show Option Chains.
Thank you.

altmany
-Interested User-
Posts: 73
Joined: Jul 30, 2018

IQML - IQFeed-MATLAB connector


Posted: May 24, 2022 02:23 PM          Msg. 2 of 4
You probably have a non-IQFeed process on that computer that uses the same port number (Lookup=9100 by default). Run `netstat -on` to see which process it is and then either stop that process, or modify the Lookup port number in the Windows registry.

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion

alexfe
-Interested User-
Posts: 2
Joined: May 24, 2022


Posted: May 24, 2022 03:06 PM          Msg. 3 of 4
Yair, thank you! that was it! logitech mouse driver!

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


Posted: May 24, 2022 03:44 PM          Msg. 4 of 4
The Logitech mouse utility "LGHubUpdater" is known to interfere with IQFeed, because it also uses Port 9100. Easiest solution is just to disable that app, though it is also possible to change what ports IQFeed uses via registry entries.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist
 

 

Time: Thu September 28, 2023 9:14 AM CFBB v1.2.0 27 ms.
© AderSoftware 2002-2003