Unable to save changes or create new pages.
Asked by Carlos Viscarra:

Hello. I'm a new Sys Admin at my company and we have Confluence 6.11.2 - on Windows Server 2019.

I have training coming up but sure enough it seems Synchrony threw an error.

---------------------------------------------------------------------------------------

1. Log from: C:\\Program Files\\Atlassian\\Confluence\\logs\\atlassian-synchrony-proxy.txt

--\>2020-03-11 09:38:50 ERROR c.a.s.p.w.WebSocketProxy:49 afterConnectionEstablished - Handshake error

-----------------------

2. Log from: C:\\Program Files\\Atlassian\\Application Data\\Confluence\\logs\\atlassian-confluence.txt

--\>

2020-03-11 08:19:15,633 ERROR \[SimpleAsyncTaskExecutor-1\] \[web.socket.client.WebSocketConnectionManager\] log Failed to connect  
javax.websocket.DeploymentException: The HTTP request to initiate the WebSocket connection failed  
at org.apache.tomcat.websocket.WsWebSocketContainer.connectToServerRecursive(WsWebSocketContainer.java:486)  
at org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:195)  
at org.springframework.web.socket.client.standard.StandardWebSocketClient$1.call(StandardWebSocketClient.java:152)  
at org.springframework.web.socket.client.standard.StandardWebSocketClient$1.call(StandardWebSocketClient.java:149)  
at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
at java.lang.Thread.run(Thread.java:748)  
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: The remote computer refused the network connection.

at sun.nio.ch.PendingFuture.get(PendingFuture.java:202)  
at org.apache.tomcat.websocket.WsWebSocketContainer.connectToServerRecursive(WsWebSocketContainer.java:341)  
... 5 more  
Caused by: java.io.IOException: The remote computer refused the network connection.

at sun.nio.ch.Iocp.translateErrorToIOException(Iocp.java:309)  
at sun.nio.ch.Iocp.access$700(Iocp.java:46)  
at sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:399)  
... 1 more

-----------------------

3. Screen shot from our Administration Configuration page:

![snag_2020-03-11_0000.png](/t5/image/serverpage/image-id/86206i69B9DDFCC0CF74D4/image-size/large?v=v2&px=999 "snag_2020-03-11_0000.png")


Answers:
author: Daniel Wong
body: Hi Carlos,

It looks like the synchrony service is having trouble establishing connection to Confluence. In particular this part of the error log:

```
Caused by: java.io.IOException: The remote computer refused the network connection.
```

You might want to check your firewall settings to ensure the synchrony ports are open.  
Have a read through the following KB articles for some help with troubleshooting:

* <https://confluence.atlassian.com/doc/troubleshooting-collaborative-editing-858772087.html>
* <https://confluence.atlassian.com/kb/network-and-connectivity-troubleshooting-guide-720405335.html>

If you need to quickly get page edits working and don't have a huge requirement to have collaborative editing, then you can actually switch Collaborative editing off temporarily. This will allow people to add/edit pages until you sort out the network issues.

comments: author: Carlos Viscarra
body: Hi Daniel,

Seems the Synchrony cache had maxed out. Increased memory pool max capacity. Then restarted Synchrony. Go to Services - right click the Atlassian service, click properties then edit the java using the command prompt.

Cheers!

Carlos

![snag_2020-03-11_0009.png](https://community.atlassian.com/t5/image/serverpage/image-id/86384i4B82180CCF68438B/image-dimensions/939x575?v=v2 "snag_2020-03-11_0009.png")


Tags: confluence-server

server