Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • WebSocket API /
avatar image
Question by CT Grid Support · Oct 14, 2020 at 02:25 PM · typeping

Cannot authenticate with WS API

We are getting either Type: Ping as response (instead of State/Data/Ok), or 500 Internal Server Error. It was working correctly yesterday, but no outages reported. Anyone seeing this too?

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.

6 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Gurpreet · Oct 14, 2020 at 03:05 PM

Can you try the RDP python sample - and see if the behavior is same. Are you behind a firewall/proxy?

Are you able to successfully use API playground?

I tried loggin in right now and it works:

>>> python rdpToken.py 
Getting OAuth access token... 
. 
. 
Getting a new token using Password Grant... 
Requesting from TOKEN_ENDPOINT: https://api.refinitiv.com/auth/oauth2/v1/token 
Saving the new token


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 Gurpreet · Oct 14, 2020 at 02:30 PM

@CT Grid Support,

Can you provide more details - which endpoint are you connecting to and what is the RIC? I presume you are connecting to cloud and not a local enterprise platform.

I tried amer-3 in cloud multiple times and was able to get data.

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
Answer by CT Grid Support · Oct 14, 2020 at 02:40 PM

Right now I am getting 500 in response to request sent to

https://api.refinitiv.com/auth/oauth2/beta1/token

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 Gurpreet · Oct 14, 2020 at 03:07 PM

I can see that you are still using the beta2 URL. Please note the change to v1

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
Answer by CT Grid Support · Oct 14, 2020 at 03:25 PM

Actually right now the auth URL started to work but still the endpoint replies with Type: Ping when we try to open WS connection. We expect Data: Ok there. The endpoint we use is emea-1.pricing.streaming.edp.thomsonreuters.com . I will try Python script later, but is there anything wrong with this endpoint?

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 Gurpreet · Oct 14, 2020 at 07:04 PM

Yes, there seems to be some issue with emea-* endpoint. If you wait long enough (about 20 seconds), your will receive this status message:

RECEIVED:
[
  {
    "Domain":"Login",
    "ID":1,
    "Key":{
      "Name":"AQIC5wM2LY4SfczkHaJTMllYQCXlINhiYt6Zt4BPpVp0R%2F8%3D%40AAJTSQACMjAAAlNLABM3NDM1NjUwNTYyMjY5MzM0ODI0AAJTMQACMzM%3D%23"
    },
    "State":{
      "Code":"Timeout",
      "Data":"Suspect",
      "Stream":"Closed",
      "Text":"A21: Access Denied. Timed out waiting for response from DACS server. Try request again."
    },
    "Type":"Status"
  }
]

I will raise this internally. Meanwhile please use other ednpoints like amer-2 or amer-3.

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