Search code examples
google-chromehttprequesthttpresponsegrafanahttp-status-codes

xhr post request moved to "Finished" state in Google chrome and no response received


Some of the queries in Grafana not returning and hence, the dashboard's graph panels got stuck. What is the reason for this "Finished" state and how can I resolve this? (This issue is not occurring in Firefox)

Finished state in Google Chrome

Those queries which are showing as "Finished" state was not returned and no response received.

No response received

Here is a sample of a successfully returned query,

Successful query


Solution

  • This occured due to the self-signed certificates that have used to enable HTTPs in Grafana. Issue was resolved by generating CA-signed certificates. Note: Browsers have different implementations and only chrome (80.x and upper versions) reject these xhr requests randomly as below,

    enter image description here