Does UCB support perforce over ssl (self signed certificate)? (The perforce server is not in Unicode mode as per documentation)
The server is working fine, I’ve added user called build that has readonly access and I can create a workspace with the user and get the latest revision.
This is the error I get trying a build:
1: Running Prebuild steps
2: Removing bvr
3: Successfully uninstalled bvr-0.2.47
4: Building native extensions. This could take a while…
5: done.
6: bvr 1.2.10
7: bvr-api 0.2.3
8: P4: Unable to connect: com.perforce.p4java.exception.ConnectionException: The authenticity of ‘perforce.xxxxxxxx.net:1666’ can’t be established,
9: this may be your first attempt to connect to this Perforce server.
10: The fingerprint for the public key sent to your client is
11: 6F:0C:smile:3:2E:55:B7:25:5C:9C:1E:3E:ED:71:smile:5:A5:A9:8A:F6:04:18
12: To allow connection use the ‘addTrust’ method with the ‘autoAccept’ option.
13: P4: Connection retry: 1
14: P4: Connection retry giving up…
15: P4 Task: establishing connection.
16: P4: Server connection error: perforce.willem.net:1666
17: P4: Abort, no server connection.
18: ERROR: P4: Abort, no server connection.
19: postbuildstatus finished successfully.
Hello,
Can you please direct message me a link to your project in Cloud Build?
Please try your build again, as changes have been made to how Perforce builds are handled. If you still receive an error, please send me a direct message with a link to your project.
I have since migrated all my projects to Github instead and closed my VPS instead. I’ve used perforce in the past with non-unity projects, so was keen to to try it again, but it was a constant struggle keeping both unity and perforce happy so just not worth it.
I’m having problems connecting to perforce as well - I have set it up properly and have gotten builds working before: they used to fail intermittently trying to connect to perforce, but for the most part if I retried it would work. In the last four days, however, I keep getting a connection error from cloud build:
12: P4 Task: establishing connection.
13: P4 Task: reverting all pending and shelved revisions.
14: (snip)
15: duration: 0m 1s
16: P4 Task: skipping clean, no options set.
17: P4 Task: syncing files at change: 110
18: P4 Task: attempt: 1
19: P4 Task: failed: com.perforce.p4java.exception.ConnectionException: java.net.SocketException: Operation timed out
20: ERROR: P4 Task: failed: com.perforce.p4java.exception.ConnectionException: java.net.SocketException: Operation timed out
21: postbuildstatus finished successfully.
22: Finished: FAILURE
At other times it complains about the password, but I haven’t changed it, and it has built before with existing password::
Perforce password (%‘P4PASSWD’%) invalid or unset.
10: P4: Unable to use Workspace: com.perforce.p4java.exception.RequestException: Perforce password (%‘P4PASSWD’%) invalid or unset.
11: P4 Task: establishing connection.
12: Perforce password (%‘P4PASSWD’%) invalid or unset.
13: P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Perforce password (%‘P4PASSWD’%) invalid or unset.
14: ERROR: P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Perforce password (%‘P4PASSWD’%) invalid or unset.
15: postbuildstatus finished successfully.
16: Finished: FAILURE
An old post but seems still not getting replied and fixed? I have the same problem with Operation timed out…
It’s my first time trying to setup Cloud Build, we can use P4 in Unity without problem and I can see that Cloud Build has successfully created a it’s own workspace in the P4 server… so is there any setting I did wrong?!?
Using:
Unity 5.5.3p2
12: P4 Task: establishing connection.
13: Client Unity-chickainvasion_main-sweaty-chair-studio.3dtd.default-android not changed.
14: Change 706 on 2017/05/05 by richard@chickainvasion_main ‘Merging //go2td/release to main’
15: P4 Task: establishing connection.
16: P4 Task: reverting all pending and shelved revisions.
17: /BUILD_PATH/sweaty-chair-studio.3dtd.default-android/… - file(s) not opened on this client.
18: duration: (696ms)
19: P4 Task: skipping clean, no options set.
20: P4 Task: syncing files at change: 706
21: P4 Task: attempt: 1
22: P4 Task: failed: com.perforce.p4java.exception.ConnectionException: java.net.SocketException: Operation timed out
23: ERROR: P4 Task: failed: com.perforce.p4java.exception.ConnectionException: java.net.SocketException: Operation timed out
24: postbuildstatus finished successfully.
25: Finished: FAILURE
For anyone having the same problem, I have confirmed from the support team that UCB currently not support P4 streams… they should have a hint saying it or making the error code related to it…
I have created a feedback vote, please vote it up if that’s your case too:
https://feedback.unity3d.com/suggestions/cloud-build-support-perforce-stream
1 Like