Skip to content

https fails, http works what is the reason? #1827

Answered by samsp-msft
Otto404 asked this question in Q&A
Discussion options

You must be logged in to vote

I fixed your question formatting - its easier to read if you use ``` blocks as you can specify the language for the block and get colorization.

How are the services implemented? What happens if you access them directly with cURL or similar?
It seems that YARP is having an issue with Http/2. H2 typically requires TLS, so changing to http://, will use 1.1 rather H2, so that may be your problem.
You can configure the http version that YARP will use as part of the destination configuration: https://microsoft.github.io/reverse-proxy/articles/http-client-config.html#httprequest

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@Otto404
Comment options

@adityamandaleeka
Comment options

@adityamandaleeka
Comment options

@Tratcher
Comment options

@karelz
Comment options

Answer selected by karelz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants