Cannot create or edit pages due to InvalidKeyException: algid parse error, not a sequence

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

Problem

Users are unable to edit or create pages in Confluence due to the editor not loading. The following error appears in atlassian-confluence.log:

2016-12-23 22:58:14,323 ERROR [http-nio-8090-exec-4] [confluence.plugins.synchrony.SynchronyContextProvider] getContextMap java.security.InvalidKeyException: IOException: algid parse error, not a sequence
 -- referer: http://localhost:8090/ | url: /pages/createpage.action | traceId: 71b142bb2f655934 | userName: admin | action: createpage
2016-12-23 22:58:16,152 ERROR [http-nio-8090-exec-7] [synchrony.api.v1.SynchronyTokenResource] generateToken java.security.InvalidKeyException: IOException: algid parse error, not a sequence
 -- referer: http://localhost:8090/pages/createpage.action?spaceKey=AS | url: /rest/synchrony/1.0/token/2457601/generate | traceId: fa5996c9d76f2bd3 | userName: admin

Diagnosis

The following property has been set to 'false' in confluence.cfg.xml:

<property name="synchrony.encryption.disabled">false</property>

The network tab in the browser console also shows "500 Internal Server Error" for the following request:

GET http://localhost:8090/rest/synchrony/1.0/token/54297694/generate

Resolution

Edit confluence.cfg.xml and change the property back to 'true'.

<property name="synchrony.encryption.disabled">true</property>

Save the file and restart Confluence.


Last modified on Feb 18, 2022

Was this helpful?

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