# Kibana on Azure webapp - all GET requests fail

**URL:** <https://discuss.elastic.co/t/kibana-on-azure-webapp-all-get-requests-fail/300813>\
**Category:** Kibana\
**Tags:** docker\
**Created:** [March 28, 2022, 8:44am UTC](https://discuss.elastic.co/t/kibana-on-azure-webapp-all-get-requests-fail/300813 "2022-03-28T08:44:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jetnet](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@jetnet](https://discuss.elastic.co/u/jetnet)\
**Post date:** [March 28, 2022, 8:44am UTC](https://discuss.elastic.co/t/kibana-on-azure-webapp-all-get-requests-fail/300813/1 "2022-03-28T08:44:04Z")

</div>

it's a very weird issue: I've deployed Kibana 7.17.1 and Elasticsearch (same version) to separate Azure Webapp (docker containers), almost all works, but:

```auto
GET .kibana/_search

```

results to:

```auto
POST https://MYAPP-kibana.azurewebsites.net/api/console/proxy?path=.kibana/_search&method=GET

```

response (from IIS, I guess, but it's a linux container):

```auto
502 - Web server received an invalid response while acting as a gateway or proxy server.

```

The same POST request:

```auto
POST .kibana/_search

```

produces:

```auto
https://MYAPP-kibana.azurewebsites.net/api/console/proxy?path=.kibana/_search&method=POST

```

with a regular search body reply.

I didn't find any errors (even with TRACE log level) in Elasticsearch, the corresponding Kibana error log-entry:

```auto
{
	"type": "response",
	"@timestamp": "2022-03-28T08:29:35+00:00",
	"tags": ["access:console"],
	"pid": 6,
	"method": "post",
	"statusCode": 502,
	"req": {
		"url": "/api/console/proxy?path=.kibana%2F_search&method=GET",
		"method": "post",
		"headers": {
			"host": "MYAPP-kibana.azurewebsites.net",
			"x-client-ip": "213.185.x.x",
			"x-client-port": "60921",
			"connection": "Keep-Alive",
			"content-length": "0",
			"accept": "text/plain, */*; q=0.01",
			"accept-encoding": "gzip, deflate, br",
			"accept-language": "de,en-US;q=0.9,en;q=0.8",
			"max-forwards": "10",
			"referer": "https://MYAPP-kibana.azurewebsites.net/app/dev_tools",
			"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 Safari/537.36",
			"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"99\", \"Google Chrome\";v=\"99\"",
			"kbn-xsrf": "kibana",
			"sec-ch-ua-mobile": "?0",
			"sec-ch-ua-platform": "\"Windows\"",
			"origin": "https://MYAPP-kibana.azurewebsites.net",
			"sec-fetch-site": "same-origin",
			"sec-fetch-mode": "cors",
			"sec-fetch-dest": "empty",
			"x-waws-unencoded-url": "/api/console/proxy?path=.kibana%2F_search&method=GET",
			"client-ip": "213.185.x.x:60921",
			"x-arr-log-id": "fd5bad60-d1cd-4e56-b682-3c7579e44f8f",
			"disguised-host": "MYAPP-kibana.azurewebsites.net",
			"x-site-deployment-id": "MYAPP-kibana",
			"was-default-hostname": "MYAPP-kibana.azurewebsites.net",
			"x-original-url": "/api/console/proxy?path=.kibana%2F_search&method=GET",
			"x-forwarded-for": "213.185.x.x:60921",
			"x-arr-ssl": "2048|256|C=US, O=Microsoft Corporation, CN=Microsoft RSA TLS CA 02|CN=*.azurewebsites.net",
			"x-forwarded-proto": "https",
			"x-appservice-proto": "https",
			"x-forwarded-tlsversion": "1.2"
		},
		"remoteAddress": "169.254.x.x",
		"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 Safari/537.36",
		"referer": "https://MYAPP-kibana.azurewebsites.net/app/dev_tools"
	},
	"res": {
		"statusCode": 502,
		"responseTime": 274
	},
	"message": "POST /api/console/proxy?path=.kibana%2F_search&method=GET 502 274ms"
}

```

Any hints, what could be wrong there, are highly appreciated!  
It that helps, I could post here the Azure deployment configs and commands.  
Thanks a lot!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 25, 2022, 8:44am UTC](https://discuss.elastic.co/t/kibana-on-azure-webapp-all-get-requests-fail/300813/2 "2022-04-25T08:44:14Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
