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.