Joined: |
Jun 22, 2017 12:59 PM |
Last Post: |
Jun 23, 2017 11:02 AM |
Last Visit: |
Jun 23, 2017 11:02 AM |
Website: |
|
Location: |
|
Occupation: |
|
Interests: |
|
|
AIM: |
|
ICQ: |
|
MSN IM: |
|
Yahoo IM: |
|
|
RCA has contributed to 6 posts out of 21185 total posts
(0.03%) in 2,500 days (0.00 posts per day).
20 Most recent posts:
Hi Tim,
I was able to verify that you are correct, and that this is the cause. I will talk to sales ASAP.
Many thanks for your help
Richard
Hi Tim,
That is entirely possible - I have one machine which is running production software, but I am continuing development on another machine. Are you saying that we cannot have two connections from two different machines using the same ProductID? What is the recommended way to manage this scenario? Do we need an additional ProductID or additional UserName and PIN for development?
Richard
Hi Tim,
I have emailed you the log file.
Richard
Hi Tim,
My interpretation of this is that something is terminating a socket used for communication between IQConnect.exe and its server (it's unclear whether this is on the IQConnect.exe side or the server side) and then the shutdown is not completing for some reason. As the shutdown remains pending, subsequent attempts to reconnect from my Admin connection fail.
Why would this be happening?
Thanks,
Richard
Hi Tim,
Logs below. It seems that the critical message is 'Ignoring attempts to reconnect due to pending shutdown', which would explain why I cannot reconnect with the S,CONNECT command.
Richard
TO CLIENT Admin 17816 4 2017-06-23 14:33:36 S,STATS,66.112.156.223,60003,500,1,3,0,3,7,Jun 23 2:12PM,Jun 23 09:33AM,Connected,5.2.6.0,466755,215.72,0.02,0.17,395.63,0.21,0.31,
STATUS Connectivity 17816 0 2017-06-23 14:33:37 Socket close called, socket valid, closing. STATUS Connectivity 17816 0 2017-06-23 14:33:37 Close called, socket closed. 0 STATUS Connectivity 17816 0 2017-06-23 14:33:37 Close called, socket closed. 0 STATUS Connectivity 17816 0 2017-06-23 14:33:37 Stop called while feed was already disconnected. : 0 :1 : Not Connected STATUS Connectivity 17816 0 2017-06-23 14:33:37 Ignoring attempts to reconnect due to pending shutdown. TO CLIENT Admin 17816 4 2017-06-23 14:33:37 S,STATS,,,500,1,3,0,3,7,,,Not Connected,5.2.6.0,466755,215.72,0.02,,395.93,0.21,,
FROM CLIENT Admin 17816 4 2017-06-23 14:33:37 S,CONNECT
STATUS Connectivity 17816 0 2017-06-23 14:33:37 Starting Feed (1:0) STATUS Connectivity 17816 0 2017-06-23 14:33:37 Initiating a login of type (2). STATUS Connectivity 45848 0 2017-06-23 14:33:37 Connecting To Login Server - 66.112.156.210:60000 STATUS Connectivity 45848 0 2017-06-23 14:33:37 Connecting to server (66.112.156.210) on port 60000. STATUS Connectivity 45848 0 2017-06-23 14:33:37 Connect Process: Status 1. STATUS Connectivity 45848 0 2017-06-23 14:33:37 Connect Process: Status 2. STATUS Connectivity 45848 0 2017-06-23 14:33:37 Connect Process: Status 3. STATUS Connectivity 45848 0 2017-06-23 14:33:37 Connected to server 0. STATUS Connectivity 17816 0 2017-06-23 14:33:38 Ignoring attempts to reconnect due to pending shutdown. TO CLIENT Admin 17816 4 2017-06-23 14:33:38 S,STATS,,,500,1,3,0,3,8,,,Not Connected,5.2.6.0,466755,215.72,0.02,,396.01,0.21,,
STATUS Connectivity 45848 0 2017-06-23 14:33:38 Setting symbol limit to 500 STATUS Connectivity 45848 0 2017-06-23 14:33:38 Processed Server 15 (66.112.156.223:60003) STATUS Connectivity 45848 0 2017-06-23 14:33:38 Connection to server 0 closed. STATUS Connectivity 45848 0 2017-06-23 14:33:38 Connection to server (0) closed gracefully. STATUS Connectivity 45848 0 2017-06-23 14:33:38 0 products left to authenticate. Ready STATUS Connectivity 17816 0 2017-06-23 14:33:38 Authentication Complete - Debug value = 1 STATUS Connectivity 45848 0 2017-06-23 14:33:38 Resetting socket in authentication thread. STATUS Connectivity 17816 0 2017-06-23 14:33:38 Login Initiated without IQ32.dll STATUS Connectivity 17816 0 2017-06-23 14:33:39 Ignoring attempts to reconnect due to pending shutdown. TO CLIENT Admin 17816 4 2017-06-23 14:33:39 S,STATS,,,500,1,3,0,3,8,,,Not Connected,5.2.6.0,466755,215.72,0.02,,396.09,0.21,,
Following a successful connection to the admin feed, I find that I get disconnected from the server seemingly at random some time after. This can be from 5 minutes to several hours after connecting. This is reported in the S,STATS messages on the admin feed. Calling S,CONNECT on the admin feed to reconnect has no effect. I can see in the S,STATS messages that IQConnect still believes that a connection exists. The only way I can reconnect is by killing IQConnect.exe and restarting both it and my application.
What is the best method to debug this and discover the reason?
What is the recommended procedure when a disconnection occurs to ensure that a reconnection happens as seamlessly as possible?
|
|