Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • CAT /
avatar image
REFINITIV
Question by jun.ma · Feb 21, 2017 at 02:50 AM · websocketADSewa

Auth configuration on ADS to allow EWA WebSocket connection

What's the authentication config on ADS to allow EWA websocket connection?

Thanks.

Jun

People who like this

0 Show 0
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.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by wasin.waeosri · Feb 21, 2017 at 03:54 AM

@jun.ma

Did you set the valid DACS user into the connection function? Basically, the ADS lets you enable/disable authentication via the *ads*dacs*featureEnabled : <True or False> parameter only. Could you please give me a snippet of code that call EWA connect function?

Comment

People who like this

0 Show 0 · 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
REFINITIV
Answer by wasin.waeosri · Feb 21, 2017 at 03:23 AM

Hi @jun.ma

You need to input the following authentication information into the EWA's connect() function

  • name: Your user name/DACS ID that has been set in the DACS server
  • nameType: must be 3
  • applicationId: your application identifier
  • applicationName: your application name
  • position: name or IP address of a particular machine and display

Example code:

sess.connect({
   name:'wasin',
   nameType:3,
   applicationName:'EWA App',
   applicationId:'777',
   position:'10.1.51.10',
   url: <ADS IP>,
...
Comment

People who like this

0 Show 1 · 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
REFINITIV
jun.ma · Feb 21, 2017 at 03:43 AM 0
Share

Thanks, @wasin.waeosri. I am aware of the parameters setup. The problem we have right now is, when trying the connection to our ADS, there is always an 20111 error, saying "authentication token was not authorized or not present." So i think there is a problem in our ADS config file. Any suggestions, which switch in ADS config file or other config file controls the token authentication? -Jun

avatar image
REFINITIV
Answer by jun.ma · Mar 31, 2017 at 02:50 AM

I found my problem, may be this can help others.

I got ADS "authentication failed or token not found" error on EWA side due to incorrect value for the "position" field in the request. I switched to use the standard "1.1.1.1/net" as the value of "position", then connect is okay.

Jun

Comment

People who like this

0 Show 0 · 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.

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 >
10 People are following this question.

Related Questions

Is there a way to create a private stream without going through ADS, via EWA?

  • 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
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • 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