Getting error:"Unable to communicate with server. Saving is not possible at the moment."in
Asked by Alan Levine:

I am getting the following errors when using Chrome and FF but no errors using IE.

Unable to communicate with Server. Saving is not possible at the moment.

The editor didn't load this time. The connection timed out.

Turned off Collaborative Editing and no errors using any browser...can edit pages in this mode.


Answers:
author: AnnWorley
body: I think it is significant that you don't get the error in IE. That exact error can be generated in Chrome if the Last Pass extension is enabled: [Unable to save Confluence page in Chrome (caused by LastPass extension)](https://jira.atlassian.com/browse/CONFSERVER-45664)

Please try [Firefox in safe mode](https://www.wikihow.com/Start-Firefox-in-Safe-Mode) and Chrome in incognito mode (right click on the Chrome icon and choose New Incognito Window) to see if the error can be eliminated by disabling browser extensions.

I look forward to hearing the results.

comments: author: Alan Levine
body: Tried both Chrome and Firefox as you requested...still fails with same errors.

Using iis 8.5 on 2012 R2 as reverse proxy and verified websocket is installed.


author: AnnWorley
body: Thanks for those proxy details. This Stack Overflow post describes some interesting behavior with Websockets, IIS and Chrome: [Websockets reverse proxy in IIS 8](https://stackoverflow.com/questions/34316825/websockets-reverse-proxy-in-iis-8/37757417)

It mentions the same gotcha as our [doc](https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-microsoft-internet-information-services-iis-833931378.html):
> ...IIS 8.0 does not support the Sec-WebSockets-Extension permessage-deflate header

The document continues with instructions for adding a system property to fix this:
> As IIS 8.0 does not support the Sec-WebSockets-Extension permessage-deflate header, you will also need to add the following to your \<install-path\>/bin/setenv.bat or setenv.sh if you start Confluence via script, or by command line or registry if you are running as a Windows service. See [Configuring System Properties.](https://confluence.atlassian.com/doc/configuring-system-properties-168002854.html)

```
CATALINA_OPTS=-Dorg.apache.tomcat.websocket.DISABLE_BUILTIN_EXTENSIONS=true %CA
```

It is also important to make sure proxyName proxyPort and scheme are set in the Confluence server.xml file as described in [3.2. Configure other Atlassian applications web server (Tomcat)](https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-microsoft-internet-information-services-iis-833931378.html#ProxyingAtlassianserverapplicationswithMicrosoftInternetInformationServices(IIS)-3.ConfiguretheConnectordirective)  


author: Alan Levine
body: I got it working...thank you!

I had to add the above CATALINA_OPTS and changed my Rewrite rules in the web.config to match the Sample web.config for Synchrony in the "Proxying Atlassian server applications with Microsoft Internet Information Services (IIS)" doc.


author: AnnWorley
body: That's great news, thanks for following up on behalf of the next person who faces that issue.


author: Yohaan Sunny
body: [@AnnWorley](/t5/user/viewprofilepage/user-id/502040)

Hi,

I have the exact same problem. I tried the solution you mentioned above with the CATALINA_OPTS property, but still have the issue.

I have deployed it on AWS using the Confluence DC CloudFormation template.

All Linux systems. Running confluence 6.10.1

Please help.