For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
7 1 1 5

unable to ping host "select.datascope.refinitiv.com"

Hi Team,

I am calling DSS API with Oracle PL/SQ using apex_web_service.make_rest_request. we have created the ACL using the host => 'selectapi.datascope.refinitiv.com', We are getting ORA-53203: security violation error.

To investigate this issue i am trying to ping selectapi.datascope.refinitiv.com but getting request timeout, can you please help on this.

1685565548605.png

#technologydss-rest-apidatascope-selectdssapi
1685565548605.png (12.6 KiB)
icon clock
10 |1500

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

Hi @muhammad.imran

Please could you try host as:

selectapi.datascope.refinitiv.com/RestApi/v1/

Source: datascope-product-suite-connection-options.pdf downloaded from the DataScope Select product page on MyRefinitiv portal.

Best regards,

Gareth

@gareth.teage Thanks, But we cannot put any / in host name. I have created the ACL with the host name *.selectapi.datascope.refinitiv.com.

begin

DBMS_NETWORK_ACL_ADMIN.assign_acl (

acl => 'dss_api.xml',

host => '*.selectapi.datascope.refinitiv.com',

lower_port => 443,

upper_port => NULL

);

commit;

end;

Upvotes
Accepted
23.1k 60 15 21

Hello all,

Just for the sake of completeness - the public host select.datascope.refinitiv.com is not pingable. Ping is not enabled on this and many other services facing the internet and is a standard practice.

Your application will have to use HTTPS GET/POST etc to interact with these servers.

icon clock
10 |1500

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

Upvotes
14.6k 30 5 10

Hi @muhammad.imran ,

I looked up this Oracle error message and found the suggestion below

You need to make sure the related access control list (ACL) assigned and the right privilege has been granted to your target host.

Can you try using the host "https://select.datascope.refinitiv.com/" with the ACL instead of "https://selectapi.datascope.refinitiv.com/" and see if it's able to connect?

icon clock
10 |1500

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

Upvotes
7 1 1 5

@raksina.samasiri Thanks for your help and suggestion still facing same with https://select.datascope.refinitiv.com/. I have created ACL with host name select.datascope.refinitiv.com but not working. ACL not allowing me to put https:// in host name is it correct?

In addition I am unbale to ping and getting timeout for both the below hosts?
ping select.datascope.refinitiv.com

ping selectspi.datascope.refinitiv.com

Thanks

icon clock
10 |1500

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

Upvotes
7 1 1 5

Thanks @raksina.samasiri and @gareth.teage for your help on this. Issue got resolved by putting additional aparameter p_wallet_pwd (wallet password) and i have recreated the oracle wallet and only import intermediary certificate in it.

l_response := apex_web_service.make_rest_request(

p_url => 'https://selectapi.datascope.refinitiv.com/RestApi/v1/Authentication/RequestToken',

p_http_method => 'POST',

p_wallet_path => 'file:///home/dev/apiwallet/https_wallet',

p_wallet_pwd => 'xyz',

p_body => l_body

);

icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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