Problem error bad request 400

I found an error grafana bad request 400 my host

found message on grafana this error bad request


error sometime refresh grafana

Hi @prasinp,

Welcome to the :grafana: community support forums !!

Please review the submission template and include more details:

  • What Grafana version and what operating system are you using?
  • What is your datasource?
  • What visualization panel you are using e.g. time-series, bar chart, histogram etc?
  • What are you trying to achieve?
  • How are you trying to achieve it?
  • What happened?
  • What did you expect to happen?
  • Can you copy/paste the configuration(s) that you are having problems with?
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
  • Did you follow any online instructions? If so, what is the URL?

Grafana v9.2.2 oos edition. I run dockercompass os linux ubuntu

  • What is your datasource?
    datasource = grafana

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    bad request 400 sometime to grafana datasource

Do you mean Docker compose?

If yes then, did you already check the documentation regarding it i.e.

I check done I run Grafana 8.5.6. no problem
I update 9.2.2 I see error bad request

Can you please provide the steps of reproduction so that the community can also try to reproduce it on a test machine?

Also, share your docker-compose file so that I test it as well

Thanks.

change code grafana on docker-compose.yml and ssh machine grafana and git pull grafana 9.2.2 version and I run grafana composs

Hi @prasinp,

Can you please provide the steps of reproduction so that the community can also try to reproduce it on a test machine?

Also, share your docker-compose file so that we can check it.

Lastly, 2 more additional questions from your recent comment i.e. :

1- As you said that the 400 error appears not always but only from time to time. Can you please check the logs whenever it happens as the logs are located at /var/log/grafana/grafana.log

2- You said initially that you are using docker-compose but later in the recent comment saying about pulling grafana via git. I do not completely understand it so kindly explain in a bit more detail as initially asked i.e. provided step-by-step details of reproduction.

I found error
*476119 upstream prematurely closed connection while reading response header from upstream

Thanks.

So to my best knowledge, this does not look like a Grafana issue but either:

1- Docker side (network)
2- Web server side (Apache/Nginx timeout)

For the latter one, it can be fixed by increasing the timeout value in the configuration file.

But if there is no Web server or even a reverse proxy involved then, probably ask Docker Community about it.

I hope this helps.

Hi @prasinp

Did you find a solution or is this is still on-going?

We would like to know the updated status :slight_smile:

Thanks