Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • App Studio /
avatar image
Question by Charles · Sep 29, 2016 at 09:07 PM · apieikon.net

Eikon API unresponsive

Some times I find that when using the Eikon .NET api, the application appears to hang. I get the DataServices.StateChanged event, which indicates that Eikon is "Up", and DataServices.IsInitialized is true; if I proceed to run the code from the timeseries example it will also indicate that the TimeSeries service is Up. When I create a request and send it, it will never fire the DataReceivedCallback.

Usually the code runs fine, and I find in this situtation that the only way to get it to work properly is to kill all eikon processes and re-run the code. Note that while the .NET api is unusable, the excel add in and the Eikon GUI are both fully functional. Anybody have any ideas as to what the underlying problem might be?

Just an update - I tried a SymbolsRequest and that worked fine. I then enabled logging in app.config, and saw this printed to the console:

[ERROR] ThomsonReuters.Desktop.SDK.DataAccess.TimeSeries.Impl.ServiceCallbackManager - Error NotPermissioned received from TimeSeries data service :
[WARN]  ThomsonReuters.Desktop.SDK.DataAccess.TimeSeries.Impl.ServiceCallbackManager - OnError callback received on unregistered request (Id=1)

I guess that's the root problem - has anybody seen this before? While I could fix this temporarily by just killing all the eikon processes it might take a while to be able to replicate.

People who like this

0 Show 1
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Charles · Sep 29, 2016 at 09:11 PM 0
Share

Also the COM api (specifically Dex2 at least) is fully functional. I feel there's probably some function I need to trigger in the .NET api to get it to reset some persistent state - it thinks the Udap connection or Eikon bus is live but it is actually dead.

1 Reply

  • Sort: 
avatar image
REFINITIV
Answer by Denis Dollfus · Sep 30, 2016 at 03:41 AM

Hi @Charles, I just looked at the downloadable samples and it appears to contain code that causes these problems. The instance of the class is not referenced so the garbage collector can delete the instance and in turn delete the contained time series request or subscription:

private static void TimeSeriesRequest()
        {
            (new TimeSeriesRequestExample(timeSeries)).Launch();
        }

Data is received but there is no one to handle the callback.The solution is to modify the example and assign the instance of TimeSeriesRequestExample to a static variable.

This should be applied to other examples too.

Comment

People who like this

0 Show 2 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Charles · Oct 03, 2016 at 09:10 PM 0
Share

While I agree that seems problematic, it doesn't appear to be the cause of any problems in my case. If I change the sample and add an OnStatusUpdated callback, then that gets rid of the warning about an unregistered request, and is called with a status that indicates NotPermissioned (as per the log). I ended up just giving up and killing all Eikon processes and re-logging in, and it worked fine as per normal. This seems to be some problem where the session times out or something and starts giving bogus NotPermissioned errors.

avatar image
REFINITIV
jirapongse.phuriphanvichai ♦♦ Charles · Oct 04, 2016 at 06:06 AM 0
Share

@Charles

Can I get the full debug log when the problem occurred?

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
6 People are following this question.

Related Questions

Currency conversion for historical price timeseries

ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCResolutionException while running a .NET Data API app

Eikon .NET API in downloadable examples doesn't work

Vessel Movement History Data Mismatch

How to get full data image immediately when there is no update on the specified chain or RIC?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges