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)




"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"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
"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.
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: 394
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: Tue April 23, 2024 7:12 PM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003