Problems connecting from C# test app

GP_TFI
GP_TFI Newcomer
edited May 9 in DSS

Trying to connect to the server using the test application "restapiexampleapplication" in C#.

After entering the ID and password the following errors appear:

  1. HttpRequestException: An error occurred while sending the request.
  2. WebException: The underlying connection was closed: An unexpected error occurred on a receive.
  3. Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm.
  4. Exception thrown: 'DataScope.Select.Api.TransportException' in mscorlib.dll
    An exception of type 'DataScope.Select.Api.TransportException' occurred in mscorlib.dll but was not handled in user code
    An error occurred while sending the request.

The program '[31820] Dss.Api.Examples.exe' has exited with code -1 (0xffffffff).

The configuration in the application has not been changed. The application connects to ServiceUri: https://selectapi.datascope.refinitiv.com/RestApi/v1/

On our side, the Bank has checked the connection and claims that everything is working correctly and the connection is not blocked.

Tagged:

Answers

  • Gurpreet
    Gurpreet admin

    Hello @GP_TFI

    The DSS SDK and the example application will not be supported going forward. I would recommend that you use other samples for Python/Postman to implement REST API calls in your application.

    Regarding the example app, there is a specific dependency on the .NET framework and the TLS 1.2. You can read about it in the download page.