-
April 4th, 2019, 11:55 AM
#1
Hi,
I'm having trouble maintaining the streaming connection with IG as well.
It cuts automatically after roughly an hour or so, and I don't know how to test if the connection is active or not.
Any help with that would be greatly appreciated.
Thanks in advance.
-
April 9th, 2019, 09:15 AM
#2
Hi Mickael,
could you please send us the client side log snippet that puts in evidence the cut?
Thanks, Gianluca
-
September 19th, 2019, 11:29 PM
#3
Hi,
I am trying to connect to IG streaming api with lightstreamer with Python. I am using the the light streamer stock list demo implementation on Github with the parameters modified for IG index. I appear to be getting a server error, When i use the same details on IG streaming companion, i was able to connect to the server successfully, which makes me suspect that this is not a server issue.
see my debug logs below
urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): demo-api.ig.com
urllib3.connectionpool - DEBUG -
https://demo-api.ig.com:443 "POST /gateway/deal/session HTTP/1.1" 200 359
root - DEBUG - Opening a new session to <https://demo-apd.marketdatasystems.com>
root - DEBUG - Making a request to <https://demo-apd.marketdatasystems.com/lightstreamer/create_session.txt> with body <b'LS_op2=create&LS_cid=mgQkwtwdysogQz2BJ4Ji+kOj2B g&LS_user=*****&LS_password=CST-*****XST-*****'>
root - ERROR - -2
Server response error:
%sA system error occurred.
Any assistance would be appreciated
-
September 20th, 2019, 08:43 AM
#4
Hi Femi,
consider that the Python demo is just an example of how to implement the Network Protocol, so it is possible that some corner case has not been taken into consideration.
Anyway, we'll be going into a debug session to check what goes wrong when connecting with IG and get back to you with more information.
Thanks,
Gianluca
Similar Threads
-
By Alessandro in forum Client SDKs
Replies: 1
Last Post: December 18th, 2014, 05:15 PM
-
By keyan in forum Client SDKs
Replies: 4
Last Post: December 18th, 2014, 05:12 PM
-
By subuta in forum Client SDKs
Replies: 2
Last Post: January 5th, 2012, 08:53 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 09:59 AM.
Bookmarks