Hi Femi,
I confirm that the demo currently does not provide any reconnection mechanism. Therefore, for the moment you should extend the demo with automatic retries.
Regards,
Gianluca
Type: Posts; User: gianluca.finocchiaro
Hi Femi,
I confirm that the demo currently does not provide any reconnection mechanism. Therefore, for the moment you should extend the demo with automatic retries.
Regards,
Gianluca
Hi femi,
thank you for this feedback.
Thank you very much Femi for your cooperation in analyzing this issue.
After having fixed a bug in the demo source code on a logging instruction, and tried to establish a session with IG by using...
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...
Hi Mickael,
could you please send us the client side log snippet that puts in evidence the cut?
Thanks, Gianluca
Ok,
it was not clear to me that you were testing against IG. In this case, we can only inspect your client log files, provided that you have configured logging at DEBUG level.
Please send files...
Hi Majestrooo,
we need the log files produced by your Lightstreamer Server installation, under <ls_home>/logs.
Thanks
Gianluca
Hi majestrooo,
let me first clarify that the Lightstreamer Client Python package actually available from the pip repository is not provided by our company.
Could you provide us with a server...
Hi Mamoa,
thank you very much for this post, as you helped me find out a bug in the demo.
Actually, the 'values' dict should have been looked like the following:
{'values':...
Hi Mamoa,
it can certainly work, but the LSClient should be left as a general purpose Lightstreamer Client, hence I believe that your proposed logic should be put somewhere else, because it catches...
Hi strangecarr,
here a recap of the basic steps required to start a streaming session with IG platform:
Generate a new API key for the selected account (demo or live), as per instructions...
Hi strangecarr,
by using our Python client demo, you should be able to connect to IG API for streaming, as other users of this forum have already done.
Please have a look at previous discussions...
Hi epep,
In case of binding an existing session (hence _bind_counter is greater then 0), you could run against similar issues, as specified in the Paragraph 4.2 of the Network Protocol...
Hi epep,
yes because the bind() method replaces self._stream_connection with a newly created object: see fixed example here.
Let me know.
Hi epep,
you can always test your code against a Lightstreamer version available from our site (for example, you can install a free Moderato version or a Vivace demo). After installation, please...
Hi Dario,
thanks to your precious feedback I was finally able to fix last minor bugs. Now the implementation seems stable even when connected to several Lightstreamer instances deployed in a...
Hi William,
I confirm that such workarounds go against the "session binding" as designed inside the Lightstreamer Server, so it is better to avoid them and to use the right features the...
Hi Dario,
I've just released on Github a new version of the Basic StockList-Demo with support for bind operation, which allows a "fluent" streaming with no need of workarounds.
If you are...
Hi Dario,
this is a known problem but thank you for reporting it. I'm going to fix the demo and I'll let you know once done.
Thanks and Regards,
Gianluca
Hi William,
issues are involved in LS_id and LS_schema parameters. It's not clear to me how many different items and related field schemas are available from Cityindex, but reading through their...
Ok William,
I've misinterpreted MYLSSESSIONID (very similar to MYSESSIONID), sorry...
The commands seem right, but with no direct access to the system is very hard to understand what goes...
Hi William,
I can't manage to issue the commands of your post, because I would need your real credentials...
Anyway, in the control request for submitting the subscription (your second command)...
Hi William,
it would be helpful some screenshot from your side of the running script. We could also some additional log to check what happens.
Thanks!
Gianluca
Hi William,
I'm sorry but I'm not aware of any current Python implementation for Cityindex.
Anyway, reading through their documentation, it should not be so hard to adapt our example to fit...
Hi Colombao,
the script was meant to be very minimal, just to work in very simple cases, also from a deployment perspective. In your scenario, Lightstreamer server is behind a load balancer, so...