Results 1 to 10 of 80

Hybrid View

  1. #1
    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




  2. #2
    Power Member
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    161
    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

  1. Python Client Library for Lightstreamer
    By Alessandro in forum Client SDKs
    Replies: 1
    Last Post: December 18th, 2014, 05:15 PM
  2. how to comunicate lightstreamer server by python
    By keyan in forum Client SDKs
    Replies: 4
    Last Post: December 18th, 2014, 05:12 PM
  3. Replies: 2
    Last Post: January 5th, 2012, 08:53 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 09:31 PM.