docusign-esign-csharp-client: When using Docker: Error while requesting server, received a non successful HTTP code with response Body:
Hello I following steps to JWT Authenction, I have done this already before with another app same code but I’m getting the following with actually no error so don’t what happening, check logs on dev site but nothing.
Error while requesting server, received a non successful HTTP code with response Body:
There is no error returned, I have tired switch out private keys and everything still a no go.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 29 (6 by maintainers)
@garg-mudit I retested on a new Windows machine with docker, and it worked fine,
After digging around with OpenSLL I found it had something to do with my company policy, so I have to work on getting the correct certs from them I think it might help after that.
Yes same keys no change
@garg-mudit & @mike-mej
Okay, I found the actual problem, I was expecting the error was going to be this, but I need to spend more time fixing this issue in my container…
Actually, Error: “The SSL connection could not be established; see inner exception.”
If possible, maybe we can actually return this error in the DLL, so we don’t go down a rabbit hole? It’s a legit error that can happen.
Since this is a issue with my container I think we can just close it out now.
see below all that comes from the exception it doesn’t give me any kind of error not at all.
<HTML> <head> <title>Document</title></head> <body>| Name | Value | Type – | – | – | – ◢ | $exception | {DocuSign.eSign.Client.ApiException: Error while requesting server, received a non successful HTTP code with response Body: at DocuSign.eSign.Client.DocuSignClient.RequestJWTUserToken(String clientId, String userId, String oauthBasePath, Byte[] privateKeyBytes, Int32 expiresInHours, List`1 scopes) at Program.<Main>$(String[] args) in C:\Users\mthomas\source\WorkRepos\ConsoleApp1\ConsoleApp1\Program.cs:line 15} | DocuSign.eSign.Client.ApiException
</body> </HTML>