I've developed a .NET application (Visual Basic) which retrieves live data from Eikon in order to support my portfolio tools and limit surveillance. The application itself works fine, however, after some hours (sometimes earlier, sometimes leater), my realtime requests start to return errors via the error callback function. The errors are mostly "timeout errors", however, I came accross different internal errors in the last few weeks.
When these error occur, the dataservice still shows that the connection is up. Restarting Eikon will not fix this problem. What i found out is that the API is hanging and will not come back at any time. The only way to fix it at the moment is to restart my application, but this is not what i want to do out of other reasons.
Out of this reason I need a way to reinitialize the dataservice. Here is how I start it.
myReutersService = DataServices.Instance() myReutersService.Initialize("ReutersConnect")
If I try to set myReutersService to "nothing" (destroy it) or "dispose" it and to reassign the instance then, but this will lead to an error. I found that there is a reset function called "DataServices.Reset()" but I did not manage to get it working.
Could you please tell me how I can reinitialize the connection to get rid of these errors?
PS: This developers homepage is really a pain in the ass. Lots of CSS errors here in the forum (Firefox), the search window works only partly and I need to login every time I come here, as the cookie doesn't work or the timeout is way to short... Also, I had several erros when trying to send this post :-(