-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
None
-
Affects Version/s: 7.13.0
-
None
-
Severity 3 - Minor
Issue Summary
When upgrading Confluence to Postgres db version 11.5, the Internal Administrator User healthcheck fails.
Steps to Reproduce
- Upgrade Confluence server database to Postgres 11.5
- Start up Confluence
- Go to Confluence Admin > Troubleshooting and support tools
Expected Results
Healthcheck should complete successfully.
Actual Results

The below exception is thrown in the atlassian-confluence.log file:
0a-4f69-a697-61a2cd232e48/results | traceId: 7e9d9aaf3d20953b | userName: admin2021-09-16 00:11:19,802 WARN [http-nio-8090-exec-7] [troubleshooting.healthcheck.concurrent.SupportHealthCheckProcess] lambda$getCompletedStatuses$0 Health check 'Internal Administrator User' failed with severity 'undefined': 'The health check was unable to complete within the timeout of 20000ms.' -- referer: http://10.125.80.213:8090/plugins/servlet/troubleshooting/view/ | url: /rest/troubleshooting/1.0/check/process/cef1445a-cc0a-4f69-a697-61a2cd232e48/results | traceId: 7e9d9aaf3d20953b | userName: admin2021-09-16 00:12:11,508 WARN [HealthCheck:thread-8] [internal.core.service.VCacheLock] lockWithTimeout Interrupted whilst waiting for a lock on cache: -- referer: http://internal-eac-upgrade-monica-2-594342476.us-east-1.elb.amazonaws.com/plugins/servlet/troubleshooting/view/ | url: /rest/troubleshooting/1.0/check/process/ | traceId: 4f28cda698531829 | userName: adminjava.lang.InterruptedException at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(AbstractQueuedSynchronizer.java:1286) at java.base/java.util.concurrent.locks.ReentrantLock.tryLock(ReentrantLock.java:424) at com.atlassian.vcache.internal.core.service.VCacheLock.lockWithTimeout(VCacheLock.java:50) at com.atlassian.vcache.internal.core.service.VCacheLock.withLock(VCacheLock.java:31) at com.atlassian.vcache.internal.legacy.LegacyJvmCache.get(LegacyJvmCache.java:42) at com.atlassian.vcache.internal.core.metrics.TimedLocalCacheOperations.get(TimedLocalCacheOperations.java:48) at com.atlassian.confluence.impl.vcache.UnblockingRemovalJvmCache.getIfValid(UnblockingRemovalJvmCache.java:68) at com.atlassian.confluence.impl.vcache.UnblockingRemovalJvmCache.get(UnblockingRemovalJvmCache.java:50) at com.atlassian.confluence.util.i18n.CachingI18NBeanFactory.getI18NBean(CachingI18NBeanFactory.java:75) at jdk.internal.reflect.GeneratedMethodAccessor617.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at com.sun.proxy.$Proxy571.getI18NBean(Unknown Source) at jdk.internal.reflect.GeneratedMethodAccessor617.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:130) at com.sun.proxy.$Proxy571.getI18NBean(Unknown Source) at com.atlassian.sal.confluence.message.ConfluenceI18nResolver.getI18nBeanForCurrentUserDefaultLocale(ConfluenceI18nResolver.java:54) at com.atlassian.sal.confluence.message.ConfluenceI18nResolver.resolveText(ConfluenceI18nResolver.java:29) at com.atlassian.sal.core.message.AbstractI18nResolver.getText(AbstractI18nResolver.java:49) at jdk.internal.reflect.GeneratedMethodAccessor712.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) at com.sun.proxy.$Proxy793.getText(Unknown Source) at com.atlassian.troubleshooting.healthcheck.DefaultSupportHealthCheckSupplier.getText(DefaultSupportHealthCheckSupplier.java:131) at com.atlassian.troubleshooting.healthcheck.DefaultSupportHealthCheckSupplier.asPluginSuppliedSupportHealthCheck(DefaultSupportHealthCheckSupplier.java:123) at com.atlassian.troubleshooting.healthcheck.DefaultSupportHealthCheckSupplier.lambda$healthChecksFrom$2(DefaultSupportHealthCheckSupplier.java:115) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) at com.atlassian.troubleshooting.healthcheck.DefaultSupportHealthCheckSupplier.healthChecksFrom(DefaultSupportHealthCheckSupplier.java:117) at com.atlassian.troubleshooting.healthcheck.DefaultSupportHealthCheckSupplier.byInstance(DefaultSupportHealthCheckSupplier.java:82) at com.atlassian.troubleshooting.healthcheck.SupportHealthStatusBuilder.getHelpPathUrl(SupportHealthStatusBuilder.java:110) at com.atlassian.troubleshooting.healthcheck.SupportHealthStatusBuilder.buildStatus(SupportHealthStatusBuilder.java:135) at com.atlassian.troubleshooting.healthcheck.SupportHealthStatusBuilder.ok(SupportHealthStatusBuilder.java:63) at com.atlassian.troubleshooting.confluence.healthcheck.directory.internal.InternalAdminCheck.check(InternalAdminCheck.java:114) at com.atlassian.troubleshooting.healthcheck.impl.PluginSuppliedSupportHealthCheck.check(PluginSuppliedSupportHealthCheck.java:55) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)2021-09-16 00:12:53,546 WARN [hipchat-plugin-tasks-executor-0] [plugins.hipchat.connect.DefaultHipChatDescriptorUpdateService] updateConnectDescriptor Updating Hipchat Descriptor automatically : data:application/json;base64,eyJuYW1lIjoiQ29uZmx1ZW5jZSAoaW50ZXJuYWwtZWFjLWVudi03NGEtMTU3Mjc1Njg2NC51cy1lYXN0LTEuZWxiLmFtYXpvbmF3cy5jb20pIiwiZGVzY3JpcHRpb24iOiJDb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6Ly9pbnRlcm5hbC1lYWMtZW52LTc0YS0xNTcyNzU2ODY0LnVzLWVhc3QtMS5lbGIuYW1hem9uYXdzLmNvbS9wbHVnaW5zL3NlcnZsZXQvaGlwY2hhdC9jb25maWd1cmUiLCJ1bmluc3RhbGxlZFVybCI6Imh0dHA6Ly9pbnRlcm5hbC1lYWMtZW52LTc0YS0xNTcyNzU2ODY0LnVzLWVhc3QtMS5lbGIuYW1hem9uYXdzLmNvbS9wbHVnaW5zL3NlcnZsZXQvaGlwY2hhdC9jb25maWd1cmU/dW5pbnN0YWxsPXRydWUiLCJhbGxvd1Jvb20iOmZhbHNlLCJhbGxvd0dsb2JhbCI6dHJ1ZX0sIndlYlBhbmVsIjpbXSwiYWN0aW9uIjpbXSwiZGlhbG9nIjpbXSwiZXh0ZXJuYWxQYWdlIjpbXSwiZ2xhbmNlIjpbXX192021-09-16 00:12:56,565 WARN [hipchat-client:thread-5] [plugins.hipchat.token.DefaultHipChatTokenRefreshService] lambda$get$0 Token with name [AddonToken(5)] refresh failed with status code [503]. Error message [com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: connect timed out]. Turn on debug mode to see stack trace.2021-09-16 00:12:56,565 WARN [hipchat-client:thread-5] [hipchat.connect.synchronise.ModifyDescriptorSynchronisationActivity] handleDone com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: connect timed outjava.util.concurrent.ExecutionException: com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: connect timed out at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) at com.atlassian.hipchat.api.ResourceMapper$2.onComplete(ResourceMapper.java:144) at com.sun.jersey.api.client.AsyncWebResource$3.done(AsyncWebResource.java:748) at java.base/java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:381) at java.base/java.util.concurrent.FutureTask.setException(FutureTask.java:250) at com.sun.jersey.client.impl.async.FutureClientResponseListener.onComplete(FutureClientResponseListener.java:111) at com.sun.jersey.api.client.AsyncWebResource$6.done(AsyncWebResource.java:806) at java.base/java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:381) at java.base/java.util.concurrent.FutureTask.setException(FutureTask.java:250) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:269) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)Caused by: com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: connect timed out at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:155) at com.atlassian.plugins.hipchat.api.client.RateLimitMonitoringClientFilter.handle(RateLimitMonitoringClientFilter.java:43) at com.sun.jersey.api.client.Client.handle(Client.java:652) at com.sun.jersey.api.client.filter.HTTPBasicAuthFilter.handle(HTTPBasicAuthFilter.java:105) at com.sun.jersey.api.client.AsyncWebResource$5.call(AsyncWebResource.java:799) at com.sun.jersey.api.client.AsyncWebResource$5.call(AsyncWebResource.java:797) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ... 5 moreCaused by: java.net.SocketTimeoutException: connect timed out at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403) at java.base/java.net.Socket.connect(Socket.java:609) at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:289) at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177) at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474) at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569) at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265) at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1232) at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1367) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1342) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:246) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler$1$1.getOutputStream(URLConnectionClientHandler.java:238) at com.sun.jersey.api.client.CommittingOutputStream.commitStream(CommittingOutputStream.java:117) at com.sun.jersey.api.client.CommittingOutputStream.write(CommittingOutputStream.java:89) at java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233) at java.base/sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:312) at java.base/sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:316) at java.base/sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:153) at java.base/java.io.OutputStreamWriter.flush(OutputStreamWriter.java:254) at java.base/java.io.BufferedWriter.flush(BufferedWriter.java:257) at com.sun.jersey.core.util.ReaderWriter.writeToAsString(ReaderWriter.java:191) at com.sun.jersey.core.provider.AbstractMessageReaderWriterProvider.writeToAsString(AbstractMessageReaderWriterProvider.java:128) at com.sun.jersey.core.impl.provider.entity.BaseFormProvider.writeTo(BaseFormProvider.java:109) at com.sun.jersey.core.impl.provider.entity.FormProvider.writeTo(FormProvider.java:88) at com.sun.jersey.core.impl.provider.entity.FormProvider.writeTo(FormProvider.java:58) at com.sun.jersey.api.client.RequestWriter.writeRequestEntity(RequestWriter.java:300) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:217) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:153) ... 11 more2021-09-16 00:12:56,565 WARN [hipchat-client:thread-5] [hipchat.connect.synchronise.ModifyDescriptorSynchronisationActivity] handleTransientError Unable to upgrade capabilities - will retry after 3600000 milliseconds...
Workaround
No workaround