Error Configuring Perforce Job Integration in JIRA
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
The original Perforce Plugin for JIRA is deprecated and has been superseded by the JIRA Fisheye Plugin. Perforce is supported by Atlassian Fisheye, providing comprehensive integration with JIRA including real-time notifications of code changes plus web-based reporting, visualisation, search and code sharing. For details, please see Integrating JIRA with FishEye.
Symptoms
The following error is logged in the JIRA logs when configuring the Perforce Job integration:
1
2
3
4
Caused by: java.io.IOException: Perforce client error:
Connect to server failed; check $P4PORT.
TCP connect to 127.0.0.1:1666 failed.
socket: 127.0.0.1:1666: WSAEPROVIDERFAILEDINIT
Cause
The P4 client cannot connect to the server, this is often due to operation timing out.
Resolution
Increase the server timeout in the Perforce configuration in JIRA.
Was this helpful?