Migrating from Trac to JIRA throws the error "No view for result [error] exists for action [WebSudoAuthenticate!default]"
Symptoms
Upon importing a Trac project to JIRA, the temporary secure session will timed out and throws the following error:
The following appears in the atlassian-jira.log
:
2012-06-30 16:59:26,258 INFO - Importing issue: ExternalIssue{externalId=5684, summary=Map view problem with feedback rendering, issueType=bug}
2012-06-30 16:59:26,426 ERROR - Failed to get attachment
com.atlassian.jira.exception.DataAccessException: Attachment doesn't exist: attachments/ticket/5684/testattachment.png
at com.atlassian.jira.plugins.importer.imports.trac.transformer.AttachmentTransformer.copyAttachment(AttachmentTransformer.java:102)
at com.atlassian.jira.plugins.importer.imports.trac.transformer.AttachmentTransformer.transform(AttachmentTransformer.java:71)
at com.atlassian.jira.plugins.importer.imports.trac.transformer.AttachmentTransformer.transform(AttachmentTransformer.java:28)
at com.atlassian.jira.plugins.importer.web.JdbcConnection.queryDb(JdbcConnection.java:164)
at com.atlassian.jira.plugins.importer.web.JdbcConnection.queryDb(JdbcConnection.java:146)
Cause
By default the temporary secure session, known as Websudo, has a rolling timeout of 10 minutes. If the import takes more than 10 minutes (more or less) without any activity, it will throw the error "No view for result [error] exists for action [WebSudoAuthenticate!default]". Generally, this error occurs when the compressed zip file of the Trac project contains a large number of attachments. Thus cannot be completed within the temporary secure session. This behavior is currently being tracked at https://studio.atlassian.com/browse/JIM-726
Workaround
- Disable the Websudo.
Enable Websudo
Remember to enable Websudo again (if you prefer the temporary secure session) upon a successful import.
For On Demand Customers, you have no direct access to disable the Websudo. You will need to raise an issue on support.atlassian.com and our support team will assist to disable Websudo session.