Version
- SonarQube Server Enterprise Edition 2026.5.2
Deployment:
- Self-hosted (zip) on RHEL 9
We get a lot of warnings regarding “AI Codefix”. Every minute we see an warning like:
2026.10.16 00:01:11 INFO web[c.s.f.s.api.K.K] No AI CodeFix refresh token found or token expired, requesting new tokens
2026.10.16 00:01:11 ERROR web[c.s.f.s.a.external.s] Error handling response from the token service
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:318)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:346)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:796)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:1099)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:489)
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:483)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1505)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1420)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)
at okhttp3.internal.connection.ConnectPlan.connectTls(ConnectPlan.kt:364)
at okhttp3.internal.connection.ConnectPlan.connectTlsEtc(ConnectPlan.kt:213)
at okhttp3.internal.connection.FastFallbackExchangeFinder.find(FastFallbackExchangeFinder.kt:80)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:306)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:332)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:98)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:332)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:332)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:72)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:332)
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.kt:249)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:332)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:234)
at okhttp3.internal.connection.RealCall.execute(RealCall.kt:189)
at com.sonar.fix.suggestions.api.external.s.먾(Unknown Source)
This comes every minute. In the GUI, the feature is disabled and when we check the API, we see:
{
“key”: “sonar.ai.codefix.hidden”,
“value”: “false”,
“inherited”: true
}{ "key": "sonar.autodetect.ai.code", "value": "false", "inherited": true }
Any advice on how solve this ?