Template for a good new topic, formatted with Markdown:
- ALM used: github
- CI system used: github actions
- Scanner command used when applicable (private details masked)
with:
args: >
-Dsonar.projectKey=GoodTimeio_EtchSchedule
-Dsonar.organization=goodtimeio
-Dsonar.coverage.exclusions=tests/**,tests-support/**,node_modules/**,public/**,migration/**,**/*mock-*.?s,
-Dsonar.javascript.lcov.reportPaths=**/lcov.info
-Dsonar.sources=.
-Dsonar.exclusions=xxx,.yarn/**
-Dsonar.tests=tests,tests-support
-Dsonar.test.inclusions=tests/**,tests-support/**
-Dsonar.cpd.exclusions=xxxx
-Dsonar.projectName=xxx
-Dsonar.sourceEncoding=UTF-8
-Dsonar.javascript.node.maxspace=16394
-Dsonar.projectVersion=${{ steps.sonarVersion.outputs.latest }}
- Languages of the repository: javascript
- Only if the SonarCloud project is public, the URL
- Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
18:15:27.384 ERROR Error during SonarScanner Engine execution
java.lang.IllegalStateException: Fail to request https://sonarcloud.io/api/ce/submit?organization=xxxx&projectKey=xxxxx&projectName=xxxxx&characteristic=pullRequest%3xxxx
at com.sonarsource.scanner.engine.webapi.client.HttpConnector.doCall(HttpConnector.java:267)
at com.sonarsource.scanner.engine.webapi.client.HttpConnector.post(HttpConnector.java:195)
at com.sonarsource.scanner.engine.webapi.client.HttpConnector.call(HttpConnector.java:141)
at org.sonar.scanner.http.DefaultScannerWsClient.call(DefaultScannerWsClient.java:54)
at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:222)
at org.sonar.scanner.report.ReportPublisher.execute(ReportPublisher.java:157)
at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:185)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
at org.sonar.scanner.bootstrap.ScannerContainer.doAfterStart(ScannerContainer.java:454)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:128)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
at org.sonar.scanner.bootstrap.ScannerMain.runScannerEngine(ScannerMain.java:143)
at org.sonar.scanner.bootstrap.ScannerMain.run(ScannerMain.java:58)
at org.sonar.scanner.bootstrap.ScannerMain.main(ScannerMain.java:42)
Caused by: java.net.SocketTimeoutException: timeout
at okhttp3.internal.http2.Http2Stream$StreamTimeout.newTimeoutException(Http2Stream.kt:675)
at okhttp3.internal.http2.Http2Stream$StreamTimeout.exitAndThrowIfTimedOut(Http2Stream.kt:684)
at okhttp3.internal.http2.Http2Stream$FramingSink.emitFrame(Http2Stream.kt:554)
at okhttp3.internal.http2.Http2Stream$FramingSink.write(Http2Stream.kt:532)
at okio.ForwardingSink.write(ForwardingSink.kt:29)
at okhttp3.internal.connection.Exchange$RequestBodySink.write(Exchange.kt:223)
at okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.kt:256)
at okio.RealBufferedSink.writeAll(RealBufferedSink.kt:195)
at okhttp3.RequestBody$Companion$asRequestBody$1.writeTo(RequestBody.kt:167)
at okhttp3.MultipartBody.writeOrCountBytes(MultipartBody.kt:157)
at okhttp3.MultipartBody.writeTo(MultipartBody.kt:93)
at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:62)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at com.sonarsource.scanner.engine.webapi.client.OkHttpClientBuilder.addHeaders(OkHttpClientBuilder.java:230)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.kt:221)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
at com.sonarsource.scanner.engine.webapi.client.HttpConnector.doCall(HttpConnector.java:265)
... 17 common frames omitted
Suppressed: okhttp3.internal.http2.StreamResetException: stream was reset: CANCEL
at okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.kt:148)
at okhttp3.internal.http2.Http2ExchangeCodec.readResponseHeaders(Http2ExchangeCodec.kt:97)
at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:110)
at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:93)
... 33 common frames omitted
- Potential workaround: NA. We are blocked by this. I tried changing the github action version to an earlier one but that did not resolve this issue.