Editing a page using Safari with Confluence 6.0.x fails with 'Loading the editor's taking longer than usual' message

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

After opening a collaborative editing session in Confluence 6.0.x in Safari you see "Loading the editor's taking longer than usual. Give it a few moments, then refresh your page if it still doesn't load. Speak to your Confluence admin if that doesn't fix it." as shown below:

You can, however, successfully edit pages in another browser like Chrome or Firefox. 

Diagnosis

Environment

  • macOS with Safari
  • Self-signed SSL certificate (or a certificate without a valid root CA chain) 

Diagnostic Steps

  1. Enable the Develop menu in Safari
    1. Open Safari > Preferences
    2. Click Advanced tab
    3. Tick the box next to 'Show Develop menu in menu bar'
  2. Open the Console
    1. Click Develop > Show Javascript Console

If you are affected by this issue you will see the following error messages in the Safari console:

  • WebSocket network error: OSStatus Error -9807: Invalid certificate chain

Cause

Safari does not support, most likely due to a bug, WebSocket connections that use a self-signed certificate. 

Workaround

Enable XHR Fallback

  1. Stop Confluence
  2. Add the following to the Confluence system properties (following the steps for your operating system from Configuring System Properties):

    -Dsynchrony.enable.xhr.fallback=true
  3. Start Confluence

Resolution

Switch to a certificate provided by a certifying authority

 

Last modified on Apr 14, 2017

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.