When I try to run the command for the sonar runner at the end an error message "org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.sonarsource.scanner.api.internal.IsolatedClassloader@49139829-org.sonar.scanner.report.ReportPublisher’: Unsatisfied dependency expressed through constructor parameter 7; "
is being displayed along with sonar execute fails due to it. I have attached the logs files and also the error message for the same. Please find the software details and version being used. The log files along with the error message is attached for reference purpose.
Caused by: java.lang.IllegalStateException: Fail to request url: http://localhost:8080/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt,deprecatedKeys&activation=true&qprofile=AYBA8tyLlf7dqTvaax50&ps=500&p=1
...
Caused by: java.net.SocketTimeoutException: timeout
...
Caused by: java.net.SocketTimeoutException: Read timed out
Since there are no errors in your web.log, this is more than likely caused by something on your network, such as a proxy, interfering with the traffice. You should talk to your network folks.
I checked with Networking team still the issue persists and I have also tried the same in my personal laptop but still getting the same error. Any other solution for this can you please let me know.
we are having the same problem. It started yesterday and doesn’t seem to have anything to do with our stack.
I can provide logs and stack traces if you are interested.
A mitigation to apply in the meantime is to disable the use of the cache during the pr analysis by adding the parameter
sonar.analysisCache.enabled=false