ROR 7.15.1 kibana 400 errors when trying GET method from dev tools

Hi @siberijah, I could reproduce the issue. For completeness, this is the Ajax request I can see in my browser when this happens in my local dev environment:

curl 'https://localhost:5601/api/console/proxy?path=%2F_cat%2Fhealth&method=GET' \
  -X 'POST' \
  -H 'Connection: keep-alive' \
  -H 'Content-Length: 0' \
  -H 'sec-ch-ua: "Chromium";v="94", "Google Chrome";v="94", ";Not A Brand";v="99"' \
  -H 'Accept: text/plain, */*; q=0.01' \
  -H 'DNT: 1' \
  -H 'kbn-xsrf: kibana' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36' \
  -H 'sec-ch-ua-platform: "Linux"' \
  -H 'Origin: https://localhost:5601' \
  -H 'Sec-Fetch-Site: same-origin' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Referer: https://localhost:5601/app/dev_tools' \
  -H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8,it;q=0.7' \
  -H 'Cookie: rorCookie_secure=Fe26.2**b745bf595b8a32b459c182f9ca80000f3b6d35c832f7a2c0df1590ffc4e7f01a*Ya_CzIZMWbOnlZUAHkwQyA*DilEfHk_2tQBxnTu9opThMySL0yQaXcGZ8rHdOMg1nz1S3eR31H_vSTCdSNZQSnq**aed2d8e6995f7c266697df1f16d5f49c912f97cae08adb095eaa34ac21729544*gXqMeEteUGiWeaPKE-wpkaDdB5SHkahr8Vzwo9_LUCc; rorCookie_secure-SP={%22createdAtMillis%22:1634675880525%2C%22intervalMillis%22:60000}' \
  --compressed \
  --insecure

@Dzuming WDYT?

1 Like