Duo_Liang submitted September 5 2019

A web controller exposing an API "/api/test". Will perform three tests:

Test 1 invoked Github API through HttpClient (https://api.github.com/):
Result is: SUCCESS/FAIL + error trace

Test 2 invoked OneSpan Sign API through HttpClient (https://sandbox.esignlive.com/api):
Result is: SUCCESS/FAIL + error trace

Test 3 invoked OneSpan Sign API through OneSpan Sign .NET SDK v11.28 (https://sandbox.esignlive.com/api):
Result is: SUCCESS/FAIL + error trace

 

This project can help to detect your access to OSS APIs and other HTTPS resources when you were encountering "Object reference not set to an instance of an object." or "Unable to connect to the remote server".

The cause of the issue can vary, but there're some known causes like: (1)not using TLS 1.1/1.2 (2)have proxy but not properly set up.

 

Rate this Code Share

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off