'Failed to add watcher: error' when trying to add a watcher to a page
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Problem
When adding watchers to a page using the "manage watchers" interface, the user picker box finds the appropriate user from the user list. After selecting the user, a message popup immediately appears in the browser, with the following message:
1
This page at (baseurl) says: Failed to add watcher: error
The watcher is correctly added. However, the "Manage watchers" interface does not reflect this until the interface is closed and reopened.
A similar issue occurs when deleting watchers using the "Manage watchers" interface. After clicking the trashcan icon, a popup appears in the browser with the following message:
1
This page at (baseurl) says: Failed to delete watcher. Refresh page to see latest status.
The watcher is correctly deleted, but the "Manage watchers" interface must be closed and reopened to reflect this.
Diagnosis
Bypass the proxy and connect to Confluence directly on the server. If the error does not occur, the resolution will correct the issue.
Cause
Failing to add the proxy attributes to the Connector element in the server.xml
file when running Confluence behind Apache with Using Apache with mod_proxy:
1
proxyName="proxy.example.com" proxyPort="443" scheme="https"
Solution
Resolution
Revisit the following article: Using Apache with mod_proxy. Ensure that the two steps listed here have been completed.
Was this helpful?