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.
"Everything is working great with the API. I love it." - Comment from Calvin
"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.
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"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
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"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 will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
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 »Product Support »DTN.IQ Client Software Support »IQConnect not working on a new system
Author Topic: IQConnect not working on a new system (13 messages, Page 1 of 1)

Rohan2008
-Interested User-
Posts: 11
Joined: Mar 27, 2019


Posted: Sep 8, 2020 06:23 PM          Msg. 1 of 13
Hi,

I have migrated my trading system to a datacenter and I am noticing that IQConnect has issues. Any advice/comments/pointers can help


Linux Ubuntu 18.04
wine-4.0.3
Firewall details:

/home/ats/DTN/IQFeed# ufw status numbered
Status: active
To Action From
-- ------ ----
[ 1] 22/tcp ALLOW IN Anywhere
[ 2] 22 ALLOW IN Anywhere
[ 3] 2323 ALLOW IN Anywhere
[ 4] 127.0.0.1 9100 ALLOW IN 127.0.0.1
[ 5] 127.0.0.1 5009 ALLOW IN 127.0.0.1
[ 6] 127.0.0.1 9200 ALLOW IN 127.0.0.1
[ 7] 127.0.0.1 9300 ALLOW IN 127.0.0.1
<img src="http://forums.dtn.com/images/icon_smile_8ball.gif"> 127.0.0.1 7050 ALLOW IN 127.0.0.1
[ 9] 127.0.0.1 7051 ALLOW IN 127.0.0.1
[10] 22/tcp (v6) ALLOW IN Anywhere (v6)
[11] 22 (v6) ALLOW IN Anywhere (v6)
[12] 2323 (v6) ALLOW IN Anywhere (v6)

Issue 1:
I run iqconnect.exe using the following command:
/usr/bin/wine /home/ats/.wine/drive_c/iqconnect.exe -product REDACTED -version 1.0.0.0 -login 480166 -password XXXXXXXXX -autoconnect
I get the window, but the connect button is greyed out. I can't make it active by typing in any text boxes. The "Quit" button is fully active & functional though

Issue 2:
My application starts IQFeed with the following command:
/usr/bin/xvfb-run -s -noreset -a /usr/bin/wine /home/ats/.wine/drive_c/iqconnect.exe -product REDACTED -version 1.0.0.0 -login 480166 -password XXXXXX -autoconnect
I see that IQFeed starts correctly, but is not getting any data from the server. I see the following log

(base) ats@ip83:/opt/pegasus/build-default/bin$ ./iqserver config /usr/sbin/pegasus/config/
/usr/bin/xvfb-run -s -noreset -a /usr/bin/wine /home/ats/.wine/drive_c/iqconnect.exe -product REDACTED -version 1.0.0.0 -login 480166 -password XXXXXXXXX -autoconnect
0073:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32e804, 0x32e818 0x32e80c
0073:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32e804 0x32e818 0x32e80c) returning a dummy value (current locale)
0073:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x31ee58, 0x31ee6c 0x31ee60
0073:fixme:nls:get_dummy_preferred_ui_language (0x38 0x31ee58 0x31ee6c 0x31ee60) returning a dummy value (current locale)
0073:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x31ee04, 0x31ee18 0x31ee0c
0073:fixme:nls:get_dummy_preferred_ui_language (0x38 0x31ee04 0x31ee18 0x31ee0c) returning a dummy value (current locale)
0073:fixme:wer:WerRegisterFile (L"C:\\users\\ats\\My Documents\\DTN\\IQFeed\\IQConnectLog.txt", 2, 0) stub!
Attempting to connecting to IQ Admin port...
Admin port connection UP
S,SELECT UPDATE FIELDS,Symbol,Most Recent Trade Date,Most Recent Trade Time,Most Recent Trade,Most Recent Trade Size,Bid,Bid Size,Ask,Ask Size,Message Contents
NULL message at lvl1 dialog
Live Server Port: 7050
History Server port: 7051
Live data request...
MESSAGE: futures,livestrategy,DX,CT,SB,KC,CC
Registering: KC futures
Registering: @KCZ20
Registering: @KCH21
Registering: CC futures
Registering: @CCZ20
Registering: @CCH21
Registering: SB futures
Registering: @SBV20
Registering: @SBH21
Registering: DX futures
Registering: @DXU20
Registering: @DXZ20
Registering: CT futures
Registering: @CTV20
Registering: @CTZ20
2020-9-08 19:15:55 ADMIN: S,CLIENTSTATS,1,1,PEGASUS,20200908 181549,10,0,1.84,0.52,0.00,
2020-9-08 19:16:15 ADMIN: S,CLIENTSTATS,1,1,PEGASUS,20200908 181549,10,0,1.84,0.52,0.00,
2020-9-08 19:16:35 ADMIN: S,CLIENTSTATS,1,1,PEGASUS,20200908 181549,10,0,1.84,0.52,0.00,
Edited by Rohan2008 on Sep 8, 2020 at 06:24 PM
Edited by Rohan2008 on Sep 8, 2020 at 06:25 PM
Edited by Rohan2008 on Sep 8, 2020 at 06:26 PM
Edited by DTN_Stephen on Sep 9, 2020 at 03:02 PM



File Attached: IQConnectLog12.txt (downloaded 34 times)

Rohan2008
-Interested User-
Posts: 11
Joined: Mar 27, 2019


Posted: Sep 8, 2020 07:14 PM          Msg. 2 of 13
Not sure, if this helps, I get the following error when I attempt to connect to the history port:

(base) ats@ip83:/opt/pegasus/build-default/bin$ ./iqserver --config /usr/sbin/pegasus/config/
0081:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x33e804, 0x33e818 0x33e80c
0081:fixme:nls:get_dummy_preferred_ui_language (0x38 0x33e804 0x33e818 0x33e80c) returning a dummy value (current locale)
0081:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32ee58, 0x32ee6c 0x32ee60
0081:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32ee58 0x32ee6c 0x32ee60) returning a dummy value (current locale)
0081:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32ee04, 0x32ee18 0x32ee0c
0081:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32ee04 0x32ee18 0x32ee0c) returning a dummy value (current locale)
0081:fixme:wer:WerRegisterFile (L"C:\\users\\ats\\My Documents\\DTN\\IQFeed\\IQConnectLog.txt", 2, 0) stub!
Attempting to connecting to IQ Admin port...
Admin port connection UP
S,SELECT UPDATE FIELDS,Symbol,Most Recent Trade Date,Most Recent Trade Time,Most Recent Trade,Most Recent Trade Size,Bid,Bid Size,Ask,Ask Size,Message Contents
NULL message at lvl1 dialog
Error while connecting to IQHistory: Connection refused: 127.0.0.1:9100
(base) ats@ip83:/opt/pegasus/build-default/bin$ 0081:fixme:event:wait_for_withdrawn_state window 0xe0156/400006 wait timed out
0081:fixme:msvcrt:__clean_type_info_names_internal (0x1029f8fc) stub



$ cat IQConnectLog.txt

=== IQConnect Log File Opened On Tue Sep 08 19:11:37 ===
Current Log Levels,Connectivity,Debug,Information,L1Error,L1System,Admin
Current IQFeed Version,6.1.0.20
STATUS Connectivity 132 0 2020-09-08 19:11:37 Initializing the login thread
STATUS Connectivity 130 0 2020-09-08 19:11:37 Creating trader account verification thread. Status idle
STATUS Connectivity 129 0 2020-09-08 19:11:37 Getting login from registry: 480166
STATUS Connectivity 129 0 2020-09-08 19:11:37 Getting Password from registry: (8 characters)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Retrieving IP addresses.
STATUS Connectivity 129 0 2020-09-08 19:11:37 Processing Command Line
STATUS Connectivity 132 0 2020-09-08 19:11:37 Connecting to server (login.interquote.com) on port 60020.
STATUS Information 129 0 2020-09-08 19:11:37 Initialization complete.
STATUS Connectivity 132 0 2020-09-08 19:11:37 Connect Process: Status 1.
STATUS Connectivity 132 0 2020-09-08 19:11:37 Connect Process: Status 2.
STATUS Connectivity 132 0 2020-09-08 19:11:37 Connect Process: Status 3.
STATUS Connectivity 132 0 2020-09-08 19:11:37 Connected to server 14.
STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 0 (66.112.148.211:60000)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 1 (0.0.0.0:59000)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 2 (0.0.0.0:59000)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 3 (66.112.148.212:60009)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 4 (66.112.148.213:60001)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 5 (66.112.148.211:60005)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 6 (66.112.156.211:60012)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 7 (66.112.156.200:60003)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 8 (66.112.148.211:60015)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 9 (66.112.148.210:60050)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 10 (66.112.148.213:60014)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 11 (66.112.148.185:60045)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 12 (66.112.148.211:60016)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 13 (66.112.148.211:60018)
STATUS Connectivity 132 0 2020-09-08 19:11:37 Initiating disconnection from server 14.
STATUS Connectivity 132 0 2020-09-08 19:11:37 Connection to server 14 closed.
STATUS Connectivity 132 0 2020-09-08 19:11:37 Connection to server (14) closed gracefully.
STATUS Connectivity 132 0 2020-09-08 19:11:37 0 products left to authenticate. Ready
STATUS Connectivity 132 0 2020-09-08 19:11:37 Resetting socket in authentication thread.
STATUS Information 129 1 2020-09-08 19:11:42 ADMIN SOCKET ACCEPTED -
TO CLIENT Admin 129 1 2020-09-08 19:11:42 S,CURRENT PROTOCOL,6.0,

FROM CLIENT Admin 129 1 2020-09-08 19:11:42 S,SET PROTOCOL,6.0
FROM CLIENT Admin 129 1 2020-09-08 19:11:42 S,SET CLIENT NAME,PEGASUS
FROM CLIENT Admin 129 1 2020-09-08 19:11:42 S,REGISTER CLIENT APP,(P*****0)
STATUS Connectivity 129 0 2020-09-08 19:11:42 Received product ID from 3rd party application: (20 characters)
STATUS Connectivity 129 0 2020-09-08 19:11:42 Received product version from 3rd party application: (1.3.0.0)
STATUS Connectivity 129 0 2020-09-08 19:11:42 Adding Product. Request Auth 0
FROM CLIENT Admin 129 1 2020-09-08 19:11:42 S,SET LOGINID,480166
FROM CLIENT Admin 129 1 2020-09-08 19:11:42 S,SET PASSWORD,(1*****8)
FROM CLIENT Admin 129 1 2020-09-08 19:11:42 S,CLIENTSTATS ON
TO CLIENT Admin 129 1 2020-09-08 19:11:42 S,REGISTER CLIENT APP COMPLETED,
S,CURRENT LOGINID,480166,
S,CURRENT PASSWORD,(1*****8),

STATUS Information 129 1 2020-09-08 19:11:43 LEVEL1 SOCKET ACCEPTED -
TO CLIENT Admin 129 1 2020-09-08 19:11:43 S,CLIENTSTATS,0,1,PEGASUS,20200908 191142,,,0.16,0.11,0.00,
S,CLIENTSTATS,1,1,PEGASUS,20200908 191143,0,0,1.56,0.51,0.00,

TO CLIENT Admin 129 1 2020-09-08 19:11:43 S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,0.62,0.11,,

STATUS Connectivity 131 0 2020-09-08 19:11:51 Authorizations Thread shutting down (156384765) - Context was terminated

DTN_Gary_Stephen
-DTN Evangelist-
Posts: 135
Joined: Jul 3, 2019


Posted: Sep 9, 2020 06:33 AM          Msg. 3 of 13
To answer Issue 1:

Quote:
I run iqconnect.exe
I get the window, but the connect button is greyed out. I can't make it active by typing in any text boxes. The "Quit" button is fully active & functional though


This is normal behavior. The Connect button will be grayed out if you don't have any connections active. To make it active, launch one of the IQFeed apps or connect to one of the ports via the API. That will make the Connect button visible.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

DTN_Gary_Stephen
-DTN Evangelist-
Posts: 135
Joined: Jul 3, 2019


Posted: Sep 9, 2020 08:02 AM          Msg. 4 of 13
Regarding #2, the key log entry is:

Quote: Error while connecting to IQHistory: Connection refused: 127.0.0.1:9100


This is usually caused by one of the following (in no particular order):

The port is in use. Make sure nothing else is using port 9100. To do this, use the IQFeed Diagnostics app, with IQFeed otherwise not running. The "Start Listening" button should give you success on all ports. If it fails on 9100 but not the others, something else may be occupying that port.

Firewall interference. Make sure you are whitelisting IQFeed API's IP addresses, which are 66.112.156.* and 66.112.148.*, ports 5000-5050 and 60000-60050, inclusive.

No socket connections exist. If you close all socket connections, the server will disconnect you after 30 seconds. This is easy to identify in the logs. Your iqconnect.exe parameters are correct to establish a connection, so I don't think that's the problem in your case, but I include it for completeness.

Look into those and let me know your results.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

Rohan2008
-Interested User-
Posts: 11
Joined: Mar 27, 2019


Posted: Sep 9, 2020 11:26 AM          Msg. 5 of 13
1. I have tried diagnostics on the prior machine where iqconnect works correctly and on the latest data center system that I am trying to migrate to (that I am having trouble with). Please see the attachment for the results.

2. I have enabled and ‘disabled’ the firewall in the datacenter machine. I don't see any change in the behavior. Diagnostics was able to start iqconnect, but somehow it is not able to connect to it and maintain connection.

3. Port 9100 is weird. I don’t have any application that is using that port but my application still fails. I have commented out the 9100 port usage (historic data) for now to figure out the other issues.

Not sure why I am not able to attach multiple files.. but please see the subsequent posts for attachments



File Attached: pic1-debug.png (downloaded 33 times)

Rohan2008
-Interested User-
Posts: 11
Joined: Mar 27, 2019


Posted: Sep 9, 2020 11:27 AM          Msg. 6 of 13
Ports



File Attached: pic2-debug.png (downloaded 32 times)

Rohan2008
-Interested User-
Posts: 11
Joined: Mar 27, 2019


Posted: Sep 9, 2020 11:27 AM          Msg. 7 of 13
log file

To give some context here:
1. This is a dedicated machine in a data center. I have disabled password login and enable ed sshkey based login.

2. I am using ufw firewall... I am having the same issue without the firewall as well.

root@ip83:/home/ats# ufw status
Status: active

To Action From
-- ------ ----
22/tcp ALLOW Anywhere
22 ALLOW Anywhere
2323 ALLOW Anywhere
127.0.0.1 9300 ALLOW 127.0.0.1
127.0.0.1 9100 ALLOW 127.0.0.1
127.0.0.1 9200 ALLOW 127.0.0.1
127.0.0.1 5009 ALLOW 127.0.0.1
127.0.0.1 6000 ALLOW 127.0.0.1
127.0.0.1 7050 ALLOW 127.0.0.1
127.0.0.1 7051 ALLOW 127.0.0.1
127.0.0.1 ALLOW 127.0.0.1
Anywhere ALLOW 66.112.156.0/24
Anywhere ALLOW 66.112.148.0/24
5000:5050/tcp ALLOW 66.112.156.0/24
60000:60050/tcp ALLOW 66.112.156.0/24
60000:60050/udp ALLOW 66.112.156.0/24
5000:5050/udp ALLOW 66.112.148.0/24
22/tcp (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
2323 (v6) ALLOW Anywhere (v6)




root@ip83:/home/ats# cat /etc/network/interfaces
# ifupdown has been replaced by netplan(5) on this system. See
# /etc/netplan for current configuration.
# To re-enable ifupdown on this system, you can run:
# sudo apt install ifupdown

Edited by Rohan2008 on Sep 9, 2020 at 11:35 AM
Edited by Rohan2008 on Sep 9, 2020 at 11:36 AM



File Attached: IQConnectLog13.txt (downloaded 35 times)

Rohan2008
-Interested User-
Posts: 11
Joined: Mar 27, 2019


Posted: Sep 9, 2020 01:31 PM          Msg. 8 of 13
Not sure, if these messages help:

(base) ats@ip83:/opt/pegasus/build-default/bin$ clear; ./iqserver --config /usr/sbin/pegasus/config/
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32e4d4, 0x32e4e8 0x32e4dc
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32e4d4 0x32e4e8 0x32e4dc) returning a dummy value (current locale)
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x31eec8, 0x31eedc 0x31eed0
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x31eec8 0x31eedc 0x31eed0) returning a dummy value (current locale)
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x31ee74, 0x31ee88 0x31ee7c
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x31ee74 0x31ee88 0x31ee7c) returning a dummy value (current locale)
0009:fixme:wer:WerRegisterFile (L"C:\\users\\ats\\My Documents\\DTN\\IQFeed\\IQConnectLog.txt", 2, 0) stub!
Attempting to connecting to IQ Admin port...
Admin port connection UP
Admin: S,CURRENT PROTOCOL,6.0,
Admin: S,REGISTER CLIENT APP COMPLETED,
Admin: S,CURRENT LOGINID,480166,
Admin: S,CURRENT PASSWORD,(*******),
S,SELECT UPDATE FIELDS,Symbol,Most Recent Trade Date,Most Recent Trade Time,Most Recent Trade,Most Recent Trade Size,Bid,Bid Size,Ask,Ask Size,Message Contents
LVL1: 0 2020-9-09 14:24:25 S,KEY,99999
LVL1: 1 2020-9-09 14:24:25 S,SERVER DISCONNECTED
LVL1: 2 2020-9-09 14:24:25
NULL message at lvl1 dialog
2020-9-09 18:24:25.158657PLVL1: S,KEY,99999
2020-9-09 18:24:25.158696PLVL1: S,SERVER DISCONNECTED
Live Server Port: 7050
History Server port: 7051
Adding: AUDCAD.FXCM
Adding: AUDCHF.FXCM
Adding: AUDJPY.FXCM
Adding: AUDNZD.FXCM
Adding: AUDUSD.FXCM
Adding: CADCHF.FXCM
Adding: CADJPY.FXCM
Adding: CHFJPY.FXCM
Adding: ZARJPY.FXCM
LVL1: 2 2020-9-09 14:24:25 S,CURRENT PROTOCOL,6.0,
LVL1: 3 2020-9-09 14:24:25 S,CURRENT UPDATE FIELDNAMES,Symbol,Most Recent Trade,Most Recent Trade Size,Most Recent Trade Time,Most Recent Trade Market Center,Total Volume,Bid,Bid Size,Ask,Ask Size,Open,High,Low,Close,Message Contents,Most Recent Trade Conditions
LVL1: 4 2020-9-09 14:24:25 S,CURRENT LOG LEVELS,Admin,L1System,L1Error,Debug,Connectivity
LVL1: 5 2020-9-09 14:24:25 S,CURRENT UPDATE FIELDNAMES,Symbol,Most Recent Trade Date,Most Recent Trade Time,Most Recent Trade,Most Recent Trade Size,Bid,Bid Size,Ask,Ask Size,Message Contents
LVL1: 6 2020-9-09 14:24:25 S,KEYOK
2020-9-09 18:24:25.258764PLVL1: S,CURRENT PROTOCOL,6.0,
2020-9-09 18:24:25.258776PLVL1: S,CURRENT UPDATE FIELDNAMES,Symbol,Most Recent Trade,Most Recent Trade Size,Most Recent Trade Time,Most Recent Trade Market Center,Total Volume,Bid,Bid Size,Ask,Ask Size,Open,High,Low,Close,Message Contents,Most Recent Trade Conditions
2020-9-09 18:24:25.258809PLVL1: S,CURRENT LOG LEVELS,Admin,L1System,L1Error,Debug,Connectivity
2020-9-09 18:24:25.258818PLVL1: S,CURRENT UPDATE FIELDNAMES,Symbol,Most Recent Trade Date,Most Recent Trade Time,Most Recent Trade,Most Recent Trade Size,Bid,Bid Size,Ask,Ask Size,Message Contents
2020-9-09 18:24:25.258829PLVL1: S,KEYOK
Admin: S,CLIENTSTATS,0,1,PEGASUS,20200909 132424,,,0.16,0.11,0.00,
Admin: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00,
Admin: S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,0.63,0.11,,
Admin: S,CLIENTSTATS,0,1,PEGASUS,20200909 132424,,,0.16,0.30,0.00,
Admin: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00,
Admin: S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,0.82,0.67,,
Admin: S,CLIENTSTATS,0,1,PEGASUS,20200909 132424,,,0.16,0.49,0.00,
Admin: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00,
Admin: S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,1.01,0.42,,
Admin: S,CLIENTSTATS,0,1,PEGASUS,20200909 132424,,,0.16,0.68,0.00,
Admin: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00,
Admin: S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,1.20,0.34,,
Admin: S,CLIENTSTATS,0,1,PEGASUS,20200909 132424,,,0.16,0.87,0.00,
Admin: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00,
Admin: S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,1.38,0.30,,
Admin: S,CLIENTSTATS,0,1,PEGASUS,20200909 132424,,,0.16,1.05,0.00,
Admin: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00,
2020-9-09 14:24:30 ADMIN: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00,
Admin: S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,1.57,0.28,,
Admin: S,CLIENTSTATS,0,1,PEGASUS,20200909 132424,,,0.16,1.24,0.00,
Admin: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00,
Admin: S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,1.76,0.26,,
:::::::::

^CShutting down
002c:fixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
002c:fixme:msvcrt:__clean_type_info_names_internal (0x1029f8fc) stub

DTN_Gary_Stephen
-DTN Evangelist-
Posts: 135
Joined: Jul 3, 2019


Posted: Sep 9, 2020 02:05 PM          Msg. 9 of 13
Rohan,

Those logs don't tell me very much. I'd like to get a complete IQFeed log from you if possible. Set the Logging Groups to All Level 1. This can be done with the API command:

S,SET LOG LEVELS,60

That file will be iqconnect.txt, stored in the Wine equivalent of MyDocs. See http://www.iqfeed.net/dev/api/docs//IQConnectLogging.cfm for more details about sending log commands via the API. You can email the log file to the developer support email address and I will review it.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

Rohan2008
-Interested User-
Posts: 11
Joined: Mar 27, 2019


Posted: Sep 14, 2020 12:33 PM          Msg. 10 of 13
I have reimaged the system in the data center and I am trying to figure out how to test my system that connects to iqconnect.... I have a running production system (that consumes iqfeed) locally that I don't want to disturb at this point.

My login/password allows only one connection. How can I test my the software on the second system? I don't need access to the full feed; all I need is to be able to access one symbol live for a few minutes at a time. What does everyone do in this scenario? Any pointers can help..

thanks,

DTN_Gary_Stephen
-DTN Evangelist-
Posts: 135
Joined: Jul 3, 2019


Posted: Sep 14, 2020 01:38 PM          Msg. 11 of 13
Rohan,

You can't have multiple connections to IQFeed's server from two different computers at once, using the same loginID. You can have multiple active, simultaneous connections from the same computer.

I reviewed the log you sent me. It only tells me that you're being disconnected by the server. The most likely cause is that a second connection, from a different machine, using the same loginID is happening. Are you trying to make multiple connections at once in a way that could be interpreted as coming from two different machines? If so, that would explain the disconnections.

Generally, the only other reason the server will disconnect you is if you have a server connection and no active socket connections for 30 seconds. From your log, that does not appear to be the case.

Having a second login ID would allow you to have two connections from different machines at once, but you'd have to get a second ID, or a demo ID, from sales.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

Rohan2008
-Interested User-
Posts: 11
Joined: Mar 27, 2019


Posted: Sep 14, 2020 02:03 PM          Msg. 12 of 13
No, it looks like my second machine at the data center had a env config issue. I re-imaged it with Ubuntu 18.04. It looks like its stable now. IQFeed was able to connect over the weekend, but I want to test it live for a few minutes during a trading session. I don't want to disturb my current production server and so this ask. A simple demo account for one symbol is more than sufficient to make sure this works. In anycase, i shall contact sales and see what they can help me with. thanks

DTN_Gary_Stephen
-DTN Evangelist-
Posts: 135
Joined: Jul 3, 2019


Posted: Sep 14, 2020 02:04 PM          Msg. 13 of 13
Rohan,

OK, thanks for letting me know. I'll see what I can do to help.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist
 

 

Time: Fri September 25, 2020 11:35 AM CFBB v1.2.0 31 ms.
© AderSoftware 2002-2003