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: 402
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: Sun July 21, 2024 5:01 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003