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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 3 2

External Connectivity via Proxy to DSS Rest API

Good day everyone,

My first post on the Developer Community and i'm posting on behalf of a colleague so please excuse my initial vagueness.

My colleague is trying to use Matlab to connect the Datascope API however we are having issues and this could be more due to us not configuring correctly rather than any blocks on our proxy gateways. Below is the error message:

Error using matlab.net.http.RequestMessage/sendOneRequest (line 1035)

The error ''HTTP Exception: Cannot establish proxy connection: authenticationrequired'' occurred while communicating with URL

'https://hosted.datascopeapi.reuters.com/RestAPI/v1/Authentication/RequestToken'.

My colleague hasn't actively inputted the proxy into any code so this may be the issue? If so where would he need to put the proxy in the code, i.e. is there a seperate config file he will need'?

Really grateful for any help that can be given,

Thanks

Darren

dss-rest-apidatascope-selectdssrest-apimatlab
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.

@darren.rogers

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
22.1k 59 14 21

Hello @darren.rogers, I am not too familiar with Matlab setup with proxy, but a quick google search shows following way to do this: https://www.mathworks.com/matlabcentral/answers/99719-how-can-i-configure-my-proxy-server-settings-within-matlab

Matlab has a Datafeed toolbox which works with TRTH (tick history) - which is similar interface to DSS; and is supported by Matlab.

Its best to ask this question at Matlab support forums.

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.