Data source proxy call doesn't work

  • What Grafana version and what operating system are you using?
    Grafana v 8.5.3

  • What are you trying to achieve?
    I am trying to query a MySQL Datasource via api

  • How are you trying to achieve it?
    making the call /api/datasources/proxy/:datasourceId/*
    Example in the browser:
    https://grafana_url/api/datasources/proxy/datasource_id/query?db=&q=SELECT%20*%20from%20table_name

  • What happened?
    Nothing is returned back on browser window (just a blank page).

  • What did you expect to happen?
    get the result of the query

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    In the log there is this error:
    logger=data-proxy-log … msg=“Proxy request failed” err="net/http: HTTP/1.x transport connection broken: malformed HTTP response “Y\x00\x00\x00"”