"Could not fetch metrics” error while publishing quality gate result

Hello!!
I’m getting the message on my agent when I’m going to publish the result, until last week it was normal.

Hey there.

What version of SonarQube are you using (it should be found in the footer of your SonarQube instance)?

I’m still new to this, is that what you want to know?

Yes.

And, unfortunately, your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

9.0.1 → 9.9 → 10.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.