elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.62k stars 8.22k forks source link

Request body is required #147457

Open Jonas-268 opened 1 year ago

Jonas-268 commented 1 year ago

Kibana version: 8.5.2 but it was the same in previous versions. I remember it working in version 7.16 Elasticsearch version: 8.5.2 but it was the same in previous versions. I remember it working in version 7.16 Server OS version: Windows Server 2019 Datacenter 1809 Browser version: Firefox 107.0.1 but also happens in other Browsers Browser OS version: Windows Server 2019 Datacenter 1809 but also happens with other OS Original install method (e.g. download page, yum, from source, etc.): Download .zip for Windows Describe the bug: https://discuss.elastic.co/t/request-body-is-required/321139 Every time i send a request with a body, it fails with request body is required although the request body is present in the browser. See forum post for more information. Steps to reproduce: A team member already tried to reproduce without success, so as it seems it only happens under certain conditions, but i have no idea which.

  1. Send request with body in Kibana Dev Tools
  2. Request body required error

Expected behavior: The request does not fail Screenshots (if relevant): image

Errors in browser console (if relevant): image

Any additional Context: Requests without a body work without any problems

elasticmachine commented 1 year ago

Pinging @elastic/kibana-core (Team:Core)

rudolf commented 1 year ago

@Jonas-268 it sounds like this might be a duplicate of https://github.com/elastic/kibana/issues/147700 could you see if you're able to reproduce the problem with the details in that issue? If so we can close this issue and you can follow https://github.com/elastic/kibana/issues/147700 for progress.

Jonas-268 commented 1 year ago

@rudolf It does not matter where the cursor is image

elasticmachine commented 1 year ago

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

ElenaStoeva commented 1 year ago

Closing the issue as not reproducible on v8.7.0 :

Screenshot 2023-04-03 at 14 03 56
dr3nkrypted commented 1 year ago

Seeing this issue in 8.8.2. Anyone know a fix yet for this?

Jonas-268 commented 1 year ago

Sadly no, i still have this issue and have no idea where it's coming from. In the meantime i wrote my own small webpage that allows me to send requests to the cluster as a workaround.

paulcicd commented 1 year ago

I faced the same issue as described above when making a POST request to one of my indexes. When sending a request I see an error in my kibana container: {"log":"[2023-09-26T15:16:03.528+00:00][ERROR][plugins.console] Error: socket hang up\n","stream":"stdout","time":"2023-09-26T15:16:03.528715647Z"} {"log":" at connResetException (node:internal/errors:705:14)\n","stream":"stdout","time":"2023-09-26T15:16:03.528733559Z"} {"log":" at Socket.socketOnEnd (node:_http_client:518:23)\n","stream":"stdout","time":"2023-09-26T15:16:03.528737469Z"} {"log":" at Socket.emit (node:events:525:35)\n","stream":"stdout","time":"2023-09-26T15:16:03.528740142Z"} {"log":" at endReadableNT (node:internal/streams/readable:1358:12)\n","stream":"stdout","time":"2023-09-26T15:16:03.52874273Z"} {"log":" at processTicksAndRejections (node:internal/process/task_queues:83:21)\n","stream":"stdout","time":"2023-09-26T15:16:03.528745523Z"} Kibana: 8.5.1 Logstash: 8.5.1 Elasticsearch: 8.5.1

yuliacech commented 1 year ago

possibly related to https://github.com/elastic/kibana/issues/160380

elasticmachine commented 1 month ago

Pinging @elastic/kibana-management (Team:Kibana Management)