Here are the settings:
I tried it with and without the password.
Server: ssl:my-server-ip:p4-server-listening_port
User Name:
Workspace: salamanderrake_project
Password: valid password
Here is the terminal output.
[2015.06.11-00.24.19:886][910]LogSourceControl:Error: P4ERROR: Invalid connection to server.
[2015.06.11-00.24.19:886][910]LogSourceControl:Error: Connect to server failed; check $P4PORT.
Fail create ctx on .
NetSslTransport::SslClientInit SSL_CTX_new: error:140A90C4:SSL routines:SSL_CTX_new:null ssl method passed: No such file or directory
[2015.06.11-00.24.21:459][ 70]LogSourceControl:Error: P4ERROR: Invalid connection to server.
[2015.06.11-00.24.21:459][ 70]LogSourceControl:Error: Connect to server failed; check $P4PORT.
Fail create ctx on .
NetSslTransport::SslClientInit SSL_CTX_new: error:140A90C4:SSL routines:SSL_CTX_new:null ssl method passed: No such file or directory
[2015.06.11-00.24.21:461][ 70]SourceControl:Error: Error Failed to connect to source control. Check your settings and connection then try again.
[2015.06.11-00.30.16:364][239]LogSourceControl:Error: P4ERROR: Could not set password.
[2015.06.11-00.30.16:364][239]LogSourceControl:Error: Can't set registry on UNIX.
[2015.06.11-00.30.16:364][239]LogSourceControl:Error: P4ERROR: Invalid connection to server.
[2015.06.11-00.30.16:364][239]LogSourceControl:Error: Connect to server failed; check $P4PORT.
Can't set registry on UNIX.
[2015.06.11-00.30.16:364][239]SourceControl:Error: Error Failed to connect to source control. Check your settings and connection then try again.
As a side note, when it first starts up before your able to add the settings, the defaults (perforce:1666) take about 10 mins to fail before you can even input your custom settings.
Updates to using source control on Linux have been made since this post was created. Can you check the latest release version and let me know if you’re still having any issues with connecting to source control?
[2015.07.16-21.50.31:063][ 0]LogContentStreaming: Texture pool size now 1000 MB
[2015.07.16-21.50.31:751][ 11]LogAssetRegistry: Asset discovery search completed in 22.4475 seconds
[2015.07.16-21.51.01:569][281]LogSourceControl:Error: P4ERROR: Invalid connection to server.
[2015.07.16-21.51.01:570][281]LogSourceControl:Error: Connect to server failed; check $P4PORT.
Fail create ctx on .
NetSslTransport::SslClientInit SSL_CTX_new: error:140A90C4:SSL routines:SSL_CTX_new:null ssl method passed: No such file or directory
[2015.07.16-21.51.05:308][650]LogSourceControl:Error: P4ERROR: Invalid connection to server.
[2015.07.16-21.51.05:308][650]LogSourceControl:Error: Connect to server failed; check $P4PORT.
Fail create ctx on .
NetSslTransport::SslClientInit SSL_CTX_new: error:140A90C4:SSL routines:SSL_CTX_new:null ssl method passed: No such file or directory
[2015.07.16-21.51.05:309][650]SourceControl:Error: Error Failed to connect to source control. Check your settings and connection then try again.
[2015.07.16-21.51.20:470][576]LogSourceControl:Error: P4ERROR: Could not set password.
[2015.07.16-21.51.20:470][576]LogSourceControl:Error: Can't set registry on UNIX.
[2015.07.16-21.51.20:470][576]LogSourceControl:Error: P4ERROR: Invalid connection to server.
[2015.07.16-21.51.20:470][576]LogSourceControl:Error: Connect to server failed; check $P4PORT.
Can't set registry on UNIX.
[2015.07.16-21.51.20:470][576]SourceControl:Error: Error Failed to connect to source control. Check your settings and connection then try again.
Yeah it works, its just now we have to find a way to get it to work with ssl. Don’t want servers vulnerable now do we? But thanks for getting it working this far.
You may have to create a new AH because this is a different issue now, something about Perfore ssl broken on liunx, also I don’t even know if it works on windows/mac either.
The error received when trying to connect with SSL has been reported (UE-18897) for investigation. For now you can continue to use Perforce without SSL.
Hi
This is still and issue in 4.9.0, I just can’t use the linux version for my project until it can work with the perforce server, disabling SSL on the server is just not an option, please help.
Replace libp4sslstub.a in Source/ThirdParty/Perforce/p4api-2014.1/lib/linux/x86_64-unknown-linux-gnu/ as described there and make appropriate changes in Perforce.Build.cs - this should unblock you.
Are you able to use p4v from that machine? Addtionally if you are seeing it continue to look for the workspace indefinitely can you break into the code and get the callstack?