Sonarqube failing to upload report from jenkins

Hello,

We are using sonarqube version 9.6-community.
We run every day scans from our jenkins ci and upload reports to sonarqube.
Suddenly, sonar started showing the following message:

Failed to upload report: Error 504 on SONAR-URL :

504 Gateway Time-out

And in the web.log i can see the following error:

java.io.IOException: org.apache.tomcat.util.http.fileupload.impl.IOFileUploadException: Processing of multipart/form-data request failed. java.io.EOFException: Unexpected EOF read on the socket.

To note that we do not have any proxy configuration and that the report size did not increase and that the error started showing randomly.

Any help would be appreciated.

Thanks,
Cindy

Hi Cindy,

I think you need to talk to your network folks to see if there’s anything on the network between your build agent and SonarQube. Because this error basically says something interfered with the transmission of the analysis report.

On another note, 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.6 → 9.9.2 → 10.2.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.

 
HTH,
Ann