After 6.4 upgrade Confluence pages won't load.
Asked by Sonny Strandlund:

Hi everyone. Ive done an upgrade to 6.4 and looks as though everything was working. Main dashboard comes up, next page loads, and then pages refuse to load after that point.

I actually have to go to the server to end Commons Daemon Sevrice for Confluence. I've been checking the logs that are recommneded to check but I dont know what I'm looking for.

Any help would be awesome.

Just some of the atlassian-confluence.log below---

2017-09-15 10:11:18,394 WARN \[synchrony-interop-executor:thread-1\] \[plugins.synchrony.bootstrap.DefaultSynchronyProxyMonitor\] pollHealthcheck Could not ping the synchrony-proxy \[<http://127.0.0.1:8090/synchrony-proxy/healthcheck>\]: {}  
java.net.SocketTimeoutException: Read timed out  
at java.net.SocketInputStream.socketRead0(Native Method)  
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)  
at java.net.SocketInputStream.read(SocketInputStream.java:171)  
at java.net.SocketInputStream.read(SocketInputStream.java:141)  
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)  
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)  
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)  
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)  
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)  
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)  
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)  
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)  
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)  
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)  
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)  
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)  
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)  
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)  
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)  
at com.atlassian.confluence.plugins.synchrony.bootstrap.DefaultSynchronyProxyMonitor.pollHealthcheck(DefaultSynchronyProxyMonitor.java:76)  
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)  
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)  
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)  
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  
at java.lang.Thread.run(Thread.java:748)  
2017-09-15 10:12:32,936 ERROR \[NavLink RestCapabilitiesClient:thread-1\] \[common.util.concurrent.Futures$CombinedFuture\] setExceptionAndMaybeLog input future failed.  
java.lang.OutOfMemoryError: Metaspace  
2017-09-15 10:12:50,301 ERROR \[NavLink RestCapabilitiesClient:thread-1\] \[common.util.concurrent.Futures$CombinedFuture\] setExceptionAndMaybeLog input future failed.  
java.lang.OutOfMemoryError: Metaspace  
2017-09-15 10:12:51,452 ERROR \[NavLink RestCapabilitiesClient:thread-1\] \[common.util.concurrent.Futures$CombinedFuture\] setExceptionAndMaybeLog input future failed.  
java.lang.OutOfMemoryError: Metaspace  
2017-09-15 10:13:02,973 ERROR \[NavLink RestCapabilitiesClient:thread-1\] \[common.util.concurrent.Futures$CombinedFuture\] setExceptionAndMaybeLog input future failed.  
java.lang.OutOfMemoryError: Metaspace  
2017-09-15 10:13:04,115 ERROR \[NavLink RestCapabilitiesClient:thread-1\] \[common.util.concurrent.Futures$CombinedFuture\] setExceptionAndMaybeLog input future failed.  
java.lang.OutOfMemoryError: Metaspace  
2017-09-15 10:13:22,528 ERROR \[Caesium-1-3\] \[springframework.transaction.support.TransactionTemplate\] rollbackOnException Application exception overridden by rollback error  
java.lang.OutOfMemoryError: Metaspace  
2017-09-15 10:13:24,853 ERROR \[Caesium-1-3\] \[scheduler.caesium.impl.SchedulerQueueWorker\] executeJob Unhandled exception thrown by job QueuedJob\[jobId=flushEdgeIndexQueue,deadline=1505495190854\]  
java.lang.OutOfMemoryError: Metaspace  
2017-09-15 10:13:24,853 WARN \[Caesium-1-3\] \[atlassian.confluence.cache.ThreadLocalCache\] init ThreadLocalCache is already initialised. Ignoring reinitialisation attempt.  
2017-09-15 10:14:56,907 WARN \[synchrony-interop-executor:thread-1\] \[plugins.synchrony.bootstrap.DefaultSynchronyProxyMonitor\] pollHealthcheck Could not ping the synchrony-proxy \[<http://127.0.0.1:8090/synchrony-proxy/healthcheck>\]: {}  
java.net.SocketTimeoutException: Read timed out  
at java.net.SocketInputStream.socketRead0(Native Method)  
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)  
at java.net.SocketInputStream.read(SocketInputStream.java:171)  
at java.net.SocketInputStream.read(SocketInputStream.java:141)  
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)  
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)  
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)  
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)  
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)  
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)  
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)  
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)  
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)  
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)  
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)  
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)  
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)  
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)  
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)  
at com.atlassian.confluence.plugins.synchrony.bootstrap.DefaultSynchronyProxyMonitor.pollHealthcheck(DefaultSynchronyProxyMonitor.java:76)  
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)  
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)  
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)  
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  
at java.lang.Thread.run(Thread.java:748)  
2017-09-15 10:15:00,361 ERROR \[NavLink RestCapabilitiesClient:thread-1\] \[common.util.concurrent.Futures$CombinedFuture\] setExceptionAndMaybeLog input future failed.  
java.lang.OutOfMemoryError: Metaspace  
2017-09-15 10:15:01,519 ERROR \[NavLink RestCapabilitiesClient:thread-1\] \[common.util.concurrent.Futures$CombinedFuture\] setExceptionAndMaybeLog input future failed.  
java.lang.OutOfMemoryError: Metaspace  
2017-09-15 10:15:16,604 ERROR \[NavLink RestCapabilitiesClient:thread-1\] \[common.util.concurrent.Futures$CombinedFuture\] setExceptionAndMaybeLog input future failed.  
java.lang.OutOfMemoryError: Metaspace  
2017-09-15 10:15:27,028 ERROR \[NavLink RestCapabilitiesClient:thread-1\] \[common.util.concurrent.Futures$CombinedFuture\] setExceptionAndMaybeLog input future failed.  
java.lang.OutOfMemoryError: Metaspace  
2017-09-15 10:15:28,193 ERROR \[NavLink RestCapabilitiesClient:thread-1\] \[common.util.concurrent.Futures$CombinedFuture\] setExceptionAndMaybeLog input future failed.  
java.lang.OutOfMemoryError: Metaspace  
2017-09-15 10:15:31,743 WARN \[Caesium-1-1\] \[confluence.cache.ehcache.EhCacheCompactor\] compact Completed compaction on 139 caches in 534870 ms  
2017-09-15 10:15:46,682 ERROR \[NavLink RestCapabilitiesClient:thread-1\] \[common.util.concurrent.Futures$CombinedFuture\] setExceptionAndMaybeLog input future failed.  
java.lang.OutOfMemoryError: Metaspace


Answers:
author: Angel Ruiz
body: Hi there,

We are also experiencing similar issues on our 6.4.x development instances. Lots of Timeout and concurrency exceptions and collaborative editing (synchrony) unusable. We were using JDK 1.8.0_111-b14 and newer. Downgrading to **1.8.0_45**-b14 seems to fix some of the issues ?\\_(?)_/?


author: Bhushan Nagaraj
body: Hi Sonny,

The error displayed on the logs suggest you are unable to connect to Synchrony service. From Confluence 6.0, Synchrony is used to provide the collaborative editing feature.

Synchrony runs on port 9200. You will have to ensure the port is open and accepting connections.

You can also disable Synchrony and collaborative editing feature in Confluence. <https://confluence.atlassian.com/doc/administering-collaborative-editing-858772086.html>

Suggest raising a support ticket at <https://support.atlassian.com/contact/#/>

Cheers

Bhushan


Tags: error

log