Unable to Login to Perforce Due to 'Password Not Allowed at This Server Security Level' Error

Still need help?

The Atlassian Community is here for you.

Ask the community

Unable to render {include} The included page could not be found.

Symptoms

The JIRA Fisheye plugin is unable to login to Perforce due to error below:

<log level="VERBOSE" date="5/5/08 2:38:40 PM">From P4:error: Password not allowed at this server security level, use 'p4 login'.</log>
<log level="VERBOSE" date="5/5/08 2:38:40 PM">P4Process.readLine(): error: Password not allowed at this server security level, use 'p4 login'.</log>
<log level="VERBOSE" date="5/5/08 2:38:40 PM">From P4:exit: 1</log>
<log level="ERROR" date="5/5/08 2:38:40 PM">P4 exited with an Error!</log>
<log level="NOTIFY" date="5/5/08 2:38:40 PM">P4Process exit code:  1</log>
<log level="ERROR" date="5/5/08 2:38:40 PM">java.io.IOException: error: Password not allowed at this server security level, use 'p4 login'.
	at com.perforce.api.P4Process.closeProcess(P4Process.java:587)
	at com.perforce.api.Job.sync(Job.java:443)
	at com.perforce.api.Job.sync(Job.java:379)
	at com.perforce.api.Job.getJob(Job.java:124)
	at com.atlassian.jira.plugin.ext.perforce.PerforceManagerImpl.getJob(PerforceManagerImpl.java:482)
	at com.atlassian.jira.plugin.ext.perforce.issuetabpanels.job.P4JobTabPanel.getActions(P4JobTabPanel.java:45)
	at com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptor.getActions(IssueTabPanelModuleDescriptor.java:99)
	at com.atlassian.jira.web.action.issue.ViewIssue.getActions(ViewIssue.java:400)
...

Cause

The Perforce security level is set to level 3 which requires ticket based authentication.

Workaround

Create a file which stores the location of the tickets. The p4.ticketfile should be changed to p4tickets.txt. The p4tickets.txt should then reside in the classpath <install directory\atlassian-jira\WEB-INF\classes.

Resolution

Perforce integration is now handled through the JIRA Fisheye Plugin.


Last modified on Jul 31, 2018

Was this helpful?

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