Cannot modify dashboard
Asked by Alexey Kravtsov:

I have created new space from template. Now when I modify dashboard and save it I got an error "Unable to communicate with server. Saving is not possible at the moment.".

If I close it and try to edit again I get message "A version of this page you were editing at 2 minutes ago was saved as a draft. Do you want to [view the change](https://docs.kagesoft.com/pages/editpage.action?pageId=65592#), [resume editing](https://docs.kagesoft.com/pages/editpage.action?pageId=65592#) or [discard](https://docs.kagesoft.com/pages/editpage.action?pageId=65592#) it?" If I select discard I get "An unknown error has occurred. Please check your logs."

I stopped server, removed all drafts in DB as described here "<https://confluence.atlassian.com/confkb/removing-orphaned-draft-316113059.html>", started the server. All looks good, but if try to edit dashboard I got the same errors.

I can add new pages but cannot edit them after initial save. I have checked log files in /opt/atlassian/confluence/logs/ and /var/atlassian/application-data/confluence/logs and none of them contains any errors. My configuration includes AWS Linux, Confluence 6.12 (b 7901) installed from installer. Nginx as https proxy, all proxy settings are done according to confluence doc and there are no warning about hose as well.

What else can check to understand the reason for this?


Answers:
author: Amith Mathur _Appfire_
body: Hi [@Alexey Kravtsov](/t5/user/viewprofilepage/user-id/208542),

Can you check by turning off the Collaborative editing and Synchrony?

You can login with an admin account and click on cog wheel --\> General Configuration --\> Collaborative Editing under 'Administration'.

Thanks,  
Amith Mathur

comments: author: Alexey Kravtsov
body: I did turn it off but it did not help.


author: Alexey Kravtsov
body: Also when I connect directly to the server:8090 I can edit pages without any issues.

I have checked nginx access log and almost all of the requests resulted in success (200)

expect few that look like

```
external-ip - - [09/Oct/2018:09:36:58 -0400] "PUT /rest/api/content/65632?status=draft HTTP/1.1" 444 0 "https://url/pages/editpage.action?pageId=65632" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36" "-"
external-ip - - [09/Oct/2018:09:36:58 -0400] "PUT /rest/api/content/65632?status=draft HTTP/1.1" 444 0 "https://url/pages/editpage.action?pageId=65632" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36" "-"
external-ip - - [09/Oct/2018:09:37:01 -0400] "PUT /rest/api/content/65632?status=draft HTTP/1.1" 444 0 "https://url/pages/editpage.action?pageId=65632" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36" "-"
external-ip - - [09/Oct/2018:09:37:02 -0400] "PUT /rest/api/content/65632?status=draft HTTP/1.1" 444 0 "https://url/pages/editpage.action?pageId=65632" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36" "-"
```

And nginx error.log contains a lot of records like this one

```

2018/10/09 03:34:12 [error] 5854#0: *5025 connect() failed (111: Connection refused) while connecting to upstream, client: EXTERNAL_IP, server: SERVER_URL, request: "POST /rest/analytics/1.0/publish/bulk HTTP/1.1", upstream: "http://127.0.0.1:8090/rest/analytics/1.0/publish/bulk", host: "SERVER_URL", referrer: "https://SERVER_URL/pages/editpage.action?pageId=65592"
```