Sonarqube-10.4.1.88267 | Failed to upload report: Fail to request url

I’m using sonarqube version sonarqube-10.4.1.88267.
It is depoyed as zip, as a window service on the server.
I’m using sonar scanner sonar-scanner-5.0.1.3006-windows.

I’m trying to do perform analysis on my code base but while uploading report it gives error and the abort the execution. I’m using this inside teamcity build step. One noteable thing is that I have 2 projects in the same stack and have same configuration, one is working fine but the other one giving such excepion.
I’ve also attached the exception below.

  INFO: EXECUTION FAILURE
07:10:42   INFO: ------------------------------------------------------------------------
07:10:42   INFO: Total time: 6:03.458s
07:10:42   ERROR: Error during SonarScanner execution
07:10:42   java.lang.IllegalStateException: Failed to upload report: Fail to request url: RemoteURL/api/ce/submit?projectKey=Proj_React_UI%3Apull_674%3A0.4.18-PullRequest0674.4&projectName=Proj%20React%20UI
07:10:42     at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:239)
07:10:42     at org.sonar.scanner.report.ReportPublisher.execute(ReportPublisher.java:163)
07:10:42     at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:174)
07:10:42     at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:223)
07:10:42     at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:202)
07:10:42   INFO: Final Memory: 29M/97M
07:10:42   INFO: ------------------------------------------------------------------------
07:10:42     at org.sonar.scanner.bootstrap.SpringScannerContainer.doAfterStart(SpringScannerContainer.java:351)
07:10:42     at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:223)
07:10:42     at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:202)
07:10:42     at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:138)
07:10:42     at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:223)
07:10:42     at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:202)
07:10:42     at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:71)
07:10:42     at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:65)
07:10:42     at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
07:10:42     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
07:10:42     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
07:10:42     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
07:10:42     at java.base/java.lang.reflect.Method.invoke(Method.java:568)
07:10:42     at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
07:10:42     at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
07:10:42     at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
07:10:42     at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
07:10:42     at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
07:10:42     at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
07:10:42     at org.sonarsource.scanner.cli.Main.main(Main.java:62)
07:10:42   Caused by: java.lang.IllegalStateException: Fail to request url: RemoteURL/api/ce/submit?projectKey=Proj_React_UI%3Apull_674%3A0.4.18-PullRequest0674.4&projectName=Proj%20React%20UI
07:10:42     at org.sonarqube.ws.client.HttpConnector.doCall(HttpConnector.java:213)
07:10:42     at org.sonarqube.ws.client.HttpConnector.executeRequest(HttpConnector.java:163)
07:10:42     at org.sonarqube.ws.client.HttpConnector.call(HttpConnector.java:117)
07:10:42     at org.sonar.scanner.bootstrap.DefaultScannerWsClient.call(DefaultScannerWsClient.java:88)
07:10:42     at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:237)
07:10:42     ... 24 more
07:10:42   Caused by: java.net.SocketTimeoutException: Read timed out
07:10:42     at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:288)
07:10:42     at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:314)
07:10:42     at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:355)
07:10:42     at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:808)
07:10:42     at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
07:10:42     at okio.InputStreamSource.read(JvmOkio.kt:93)
07:10:42     at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:128)
07:10:42     at okio.RealBufferedSource.indexOf(RealBufferedSource.kt:430)
07:10:42     at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.kt:323)
07:10:42     at okhttp3.internal.http1.HeadersReader.readLine(HeadersReader.kt:29)
07:10:42     at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:180)
07:10:42     at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:110)
07:10:42     at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:93)
07:10:42     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
07:10:42     at org.sonarqube.ws.client.OkHttpClientBuilder.addHeaders(OkHttpClientBuilder.java:222)
07:10:42     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
07:10:42     at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
07:10:42     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
07:10:42     at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
07:10:42     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
07:10:42     at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
07:10:42     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
07:10:42     at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
07:10:42     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
07:10:42     at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
07:10:42     at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
07:10:42     at org.sonarqube.ws.client.HttpConnector.doCall(HttpConnector.java:211)
07:10:42     ... 28 more
07:10:42   ERROR:
07:10:42   ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
07:10:43   Process exited with code 1
07:10:43   Process exited with code 1 (Step: Sonar Runner (SonarQube Runner))
07:10:43   Step Sonar Runner (SonarQube Runner) failed

Sometimes i get the exception below isntead of the earlier one:

ERROR: Error during SonarScanner execution
02:45:20   org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.sonarsource.scanner.api.internal.IsolatedClassloader@2fd66ad3-org.sonar.scanner.report.ReportPublisher': Unsatisfied dependency expressed through constructor parameter 7; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.sonarsource.scanner.api.internal.IsolatedClassloader@2fd66ad3-org.sonar.scanner.report.ActiveRulesPublisher': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ActiveRules' defined in org.sonar.scanner.rule.ActiveRulesProvider: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.sonar.api.batch.rule.internal.DefaultActiveRules]: Factory method 'provide' threw exception; nested exception is java.lang.IllegalStateException: Fail to request url: RemoteURL/api/rules/list.protobuf?qprofile=314e3ad8-7bc5-4b5e-8409-4b79bd5778d0&ps=500&p=1
02:45:20     at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
02:45:20     at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229)
02:45:20     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
02:45:20     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
02:45:20     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
02:45:20     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
02:45:20     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
02:45:20     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
02:45:20     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
02:45:20     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
02:45:20     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
02:45:20     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920)
02:45:20     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
02:45:20     at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:222)
02:45:20     at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:202)
02:45:20     at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:138)
02:45:20     at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:223)
02:45:20     at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:202)
02:45:20     at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:71)
02:45:20     at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:65)
02:45:20     at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
02:45:20     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
02:45:20     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
02:45:20     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
02:45:20     at java.base/java.lang.reflect.Method.invoke(Method.java:568)
02:45:20     at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
02:45:20     at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
02:45:20     at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
02:45:20     at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
02:45:20     at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
02:45:20     at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
02:45:20     at org.sonarsource.scanner.cli.Main.main(Main.java:62)
02:45:20   Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.sonarsource.scanner.api.internal.IsolatedClassloader@2fd66ad3-org.sonar.scanner.report.ActiveRulesPublisher': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ActiveRules' defined in org.sonar.scanner.rule.ActiveRulesProvider: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.sonar.api.batch.rule.internal.DefaultActiveRules]: Factory method 'provide' threw exception; nested exception is java.lang.IllegalStateException: Fail to request url: RemoteURL/api/rules/list.protobuf?qprofile=314e3ad8-7bc5-4b5e-8409-4b79bd5778d0&ps=500&p=1
02:45:20     at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
02:45:20     at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229)
02:45:20     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
02:45:20     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
02:45:20     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
02:45:20     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
02:45:20     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
02:45:20     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
02:45:20     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
02:45:20     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
02:45:20     at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
02:45:20     at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1609)
02:45:20     at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1573)
02:45:20     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1439)
02:45:20     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1349)
02:45:20     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
02:45:20     at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
02:45:20     at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
02:45:20     ... 31 more
02:45:20   Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ActiveRules' defined in org.sonar.scanner.rule.ActiveRulesProvider: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.sonar.api.batch.rule.internal.DefaultActiveRules]: Factory method 'provide' threw exception; nested exception is java.lang.IllegalStateException: Fail to request url: RemoteURL/api/rules/list.protobuf?qprofile=314e3ad8-7bc5-4b5e-8409-4b79bd5778d0&ps=500&p=1
02:45:20     at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658)
02:45:20     at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638)
02:45:20     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
02:45:20     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
02:45:20     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
02:45:20     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
02:45:20     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
02:45:20     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
02:45:20     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
02:45:20     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
02:45:20     at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
02:45:20     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
02:45:20     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
02:45:20     at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
02:45:20     at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
02:45:20     ... 48 more
02:45:20   Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.sonar.api.batch.rule.internal.DefaultActiveRules]: Factory method 'provide' threw exception; nested exception is java.lang.IllegalStateException: Fail to request url: RemoteURL/api/rules/list.protobuf?qprofile=314e3ad8-7bc5-4b5e-8409-4b79bd5778d0&ps=500&p=1
02:45:20     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
02:45:20     at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
02:45:20     ... 62 more
02:45:20   Caused by: java.lang.IllegalStateException: Fail to request url: RemoteURL/api/rules/list.protobuf?qprofile=314e3ad8-7bc5-4b5e-8409-4b79bd5778d0&ps=500&p=1
02:45:20     at org.sonarqube.ws.client.HttpConnector.doCall(HttpConnector.java:213)
02:45:20     at org.sonarqube.ws.client.HttpConnector.executeRequest(HttpConnector.java:128)
02:45:20     at org.sonarqube.ws.client.HttpConnector.call(HttpConnector.java:114)
02:45:20     at org.sonar.scanner.bootstrap.DefaultScannerWsClient.call(DefaultScannerWsClient.java:88)
02:45:20     at org.sonar.scanner.rule.DefaultActiveRulesLoader.load(DefaultActiveRulesLoader.java:62)
02:45:20     at org.sonar.scanner.rule.ActiveRulesProvider.load(ActiveRulesProvider.java:98)
02:45:20     at org.sonar.scanner.rule.ActiveRulesProvider.load(ActiveRulesProvider.java:61)
02:45:20     at org.sonar.scanner.rule.ActiveRulesProvider.provide(ActiveRulesProvider.java:49)
02:45:20     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
02:45:20     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
02:45:20     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
02:45:20     at java.base/java.lang.reflect.Method.invoke(Method.java:568)
02:45:20     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
02:45:20     ... 63 more
02:45:20   Caused by: java.net.SocketTimeoutException: Read timed out
02:45:20     at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:288)
02:45:20     at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:314)
02:45:20     at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:355)
02:45:20     at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:808)
02:45:20     at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
02:45:20     at okio.InputStreamSource.read(JvmOkio.kt:93)
02:45:20     at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:128)
02:45:20     at okio.RealBufferedSource.indexOf(RealBufferedSource.kt:430)
02:45:20     at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.kt:323)
02:45:20     at okhttp3.internal.http1.HeadersReader.readLine(HeadersReader.kt:29)
02:45:20     at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:180)
02:45:20     at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:110)
02:45:20     at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:93)
02:45:20     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
02:45:20     at org.sonarqube.ws.client.OkHttpClientBuilder.addHeaders(OkHttpClientBuilder.java:222)
02:45:20     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
02:45:20     at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
02:45:20     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
02:45:20     at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
02:45:20     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
02:45:20     at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
02:45:20     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
02:45:20     at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
02:45:20     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
02:45:20     at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
02:45:20     at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
02:45:20     at org.sonarqube.ws.client.HttpConnector.doCall(HttpConnector.java:211)
02:45:20     ... 75 more
02:45:20   ERROR:
02:45:20   ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
02:45:20   Process exited with code 1

Hi,

These are two different errors, at two very different points in the analysis. We try to keep it to one topic per thread. Otherwise it can get messy, fast. So normally I would ask you to pursue the second error in a different thread (and I still reserve the right to do so later). But this time, I think they have the same root cause.

There is likely something on your network, e.g. a proxy, that’s blocking the analysis report submission and the earlier data load from the server. You should check with your network folks.

 
HTH,
Ann

But the case it that, this isn’t consistent error. For some project, it works fine but for the other it gives an error. Sometimes, I delete data/es8 folder and it works fine for sometime, but after a while it behaves same.

And,I have also checked with IT there is nothing changed on the network and there is not restriction for thi port.

Hi,

I don’t know what to tell you. Both of these errors are related to transmitting payloads over the network. Do you see correlating errors in your server logs?

 
Ann

So, What should i do next? Which logs should i see?
Because I have seen there is no restriction on network or proxy server in between.
And, as i mentioned earlier it works sometimes.

Hi,

Typically, when analysis report upload works sometimes but not others it’s because there’s a payload size limit in the proxy and while most analysis report payloads are under the limit, larger projects bump up against - and over - the limit.

 
Ann

Does this limit set on my network? Or is there any configuration on sonarqube?

Hi,

SonarQube does not impose upload limits. You need to look elsewhere, i.e. at your own network. While it’s quite possible nothing has changed on your network, that doesn’t mean it’s not the problem; projects tend to get bigger over time => larger analysis reports.

 
Ann

Hi,

Ok. I’ll check and get back to you.

Thanks.