Cannot create or edit pages due to InvalidKeyException: algid parse error, not a sequence
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
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
:
1
2
3
4
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
:
1
<property name="synchrony.encryption.disabled">false</property>
The network tab in the browser console also shows "500 Internal Server Error" for the following request:
1
GET http://localhost:8090/rest/synchrony/1.0/token/54297694/generate
Resolution
Edit confluence.cfg.xml
and change the property back to 'true'.
1
<property name="synchrony.encryption.disabled">true</property>
Save the file and restart Confluence.
Was this helpful?