Category : httpresponse

I run 3 separate spring-boot applications with docker-compose… docker composition is in this question: Docker compose problem , one application on all ports (problem resolverd by adding 2 separate Dockerfiles, as @anemyte answer) Now I came to another problem. Applications run on their ports, I can post elements, it’s OK. Problem comes when I try ..

Read more

We just encountered a problem in which we cannot get our nginx server to rewrite the response content hes getting. location "^/path(.*)$" { resolver 8.8.8.8; set $proxy_target_host "Correct Url is here"; proxy_set_header Host $proxy_target_host; proxy_pass "Correct Url is here"; proxy_set_header Accept-Encoding ""; sub_filter_once off; sub_filter_types *; sub_filter "https://Correct Url is here too/" "/"; } We ..

Read more

My API is calling some other service with URL https://idgenvip.qa.ch3.s.com/IDGen/services/id/generate?idType=GIFT_REGISTRY_ID and this service is returning me HTTP response code 406 which is not acceptable. UtilHelper:691 – Exception occurred while generating id : Server returned HTTP response code: 406 for URL: https://idgenvip.qa.ch3.s.com/IDGen/services/id/generate?idType=GIFT_REGISTRY_ID I’m not passing accept header in my request. What could be the other reason ..

Read more