How is SonarQube deployed: k8S deployment using sonarqube docker image
We are getting An invalid response was received from the upstream server error on UI, which is intermittent, and the server is unavailable for the scans. This error we observed recently.
Error log observed from the server
The server push client 127.x.x.x gone without notice, closing the connection (java. io. IOException: Broken pipe)
Observed these logs while server is failed to run, also noticing the frequent change in pod phase (terminating to running).
Could please take this as prior since we are blocked with this and help us understanding the issue. Thanks
WARN web[][o.a.c.l.WebappClassLoaderBase] The web application [ROOT] appears to have started a thread named [OkHttp TaskRunner] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:\n java.base@17.0.9/java.lang.Object.wait(Native Method)\n java.base@17.0.9/java.lang.Object.wait(Unknown Source)\n app//okhttp3.internal.concurrent.TaskRunner$RealBackend.coordinatorWait(TaskRunner.kt:294)\n app//okhttp3.internal.concurrent.TaskRunner.awaitTaskToRun(TaskRunner.kt:218)\n app//okhttp3.internal.concurrent.TaskRunner$runnable$1.run(TaskRunner.kt:59)\n java.base@17.0.9/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\n java.base@17.0.9/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\n java.base@17.0.9/java.lang.Thread.run(Unknown Source)
2024.10.07 09:24:15 INFO web[][o.s.s.app.WebServer] Web Server stopped
Hi @ganncamp , this intermittent error still persists, and we are not finding any error in the server logs. And the error we shared before doesn’t exists anymore.