-
IssueI have deployed Ocelot Gateway(.Net 6) and downstream services in Azure containers app (running with https endpoint). When trying to call gateway with endpoint than I am getting error - The SSL connection could not be established. Error
Ocelot configs |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @harshwd ! Do you use self-signed certificates or SSL certificates of Azure containers? |
Beta Was this translation helpful? Give feedback.
-
It seems you tried to connect to Azure container which had specific version of HTTP. And, you need more tests...
|
Beta Was this translation helpful? Give feedback.
It seems you tried to connect to Azure container which had specific version of HTTP.
Based on your route and log record (see above), I would say that you tried to connect from Ocelot app using HTTP1 version protocol, but possibly your Azure container had another version of HTTP aka HTTP/2+.
To provide correct setting of HTTP version protocol, you need to use DownstreamHttpVersion property of the route.
And, you need more tests...
https
scheme tohttp
and check the behavior of the route.http
scheme works perfectly, then you …