I have a WPF client with which subscribes to a SignalR endpoint (.net core api) and when I try to connect I get the following error: I have the same problem with SignalR client applications connecting to remote servers with SSL certificates. Kindly, let me know, if i am doing anything wrong. That time, it gives the below error "System.InvalidOperationException: IDX20803: Unable to obtain configuration from: ' -> System.IO.IOException: IDX20804: Unable to retrieve document from: ' -> : Cannot assign requested address -> : Cannot But, the problem starts when from my angular app, make an api call to port running on running on separate container with the same certificate. Identity server authenticates well when it reaches from the angular client running locally on localhost:4200 to port hosted on docker. I am running with cert name and password. Then same cert I used to publish the image and run docker-compose. Thank I have created self signed certs using Powershell and trusted the same. My Discovery Endpoint on IdentityServer is also well configured in HTTPS.īut it still does not work, do you have solutions to offer me? I want to point out that authentication works well from the web application and also from Swagger. I tried to configure the API in relation to the problem already existing on the subject by adding the following configuration: I also have the same problem if I go through Swagger which is integrated with the API, I have exactly the same error. at .StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at .CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at .StartSendBlob(Byte incoming, Int32 count, AsyncProtocolRequest asyncRequest) at .ProcessReceivedBlob(Byte buffer, Int32 count, AsyncProtocolRequest asyncRequest) at .StartReadFrame(Byte buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at .StartReceiveBlob(Byte buffer, AsyncProtocolRequest asyncRequest) at .CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at .StartSendBlob(Byte incoming, Int32 count, AsyncProtocolRequest asyncRequest) at .ProcessReceivedBlob(Byte buffer, Int32 count, AsyncProtocolRequest asyncRequest) at .StartReadFrame(Byte buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at .StartReceiveBlob(Byte buffer, AsyncProtocolRequest asyncRequest) at .CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at .StartSendBlob(Byte incoming, Int32 count, AsyncProtocolRequest asyncRequest) at .ProcessReceivedBlob(Byte buffer, Int32 count, AsyncProtocolRequest asyncRequest) at .StartReadFrame(Byte buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at .PartialFrameCallback(AsyncProtocolRequest asyncRequest) > : The remote certificate is invalid according to the validation procedure. > : The SSL connection could not be established, see inner exception. > System.IO.IOException: IDX20804: Unable to retrieve document from: ''. System.InvalidOperationException: IDX20803: Unable to obtain configuration from: ''. HTTP/1.1 GET | Request finished in 0.1705ms 200 text/plain | Exception occurred while processing message. I encounter an error when my web application uses API web services, I get the following error message on the API: The API is configured to use HTTPS and I configured my HTTTPS Load Balancer (Ingress) with self-signed certificates for each application. I deployed these application with Docker in a Kubernetes Cluster with a Load Balancer in front of each of the application containers. In development, the various applications function and communicate well with each other. I also use an Angular web application in front which consumes the web services of the API. I am using a Net Core Web API version 2.2 and an application with IdentityServer 2.2 for authentication to this API (OAuth 2 / OpenId).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |