HTTP Proxy - upstream connect error or disconnect/reset before headers. reset reason: protocol error

Viewed 2112

I created two spring boot application one serving APIs and another acting as a HTTP proxy to that API (which internally uses CloseableHttpClient to bounce on the another url, fetches the data adds cors and pushes back the response.)

I deployed both into GCP cloud run but when I run it locally it works but not when using the cloud run endpoint.

It resulting in error like this -

upstream connect error or disconnect/reset before headers. reset reason: protocol error

What it is I am messing up ?

0 Answers
Related