x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[Bug][Linux][Perforce]Fails to connect to source control on linux with p4

Here are the settings: I tried it with and without the password.

  • Server: ssl:my-server-ip:p4-server-listening_port

  • User Name: salamanderrake

  • 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.

Product Version: UE 4.8
Tags:
more ▼

asked Jun 11 '15 at 12:36 AM in Bug Reports

avatar image

Salamanderrake
158 6 10 22

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey Salamanderrake-

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?

Cheers

Doug Wilson

more ▼

answered Jul 15 '15 at 07:22 PM

avatar image Salamanderrake Jul 16 '15 at 09:50 PM

Still the same issue.

avatar image Salamanderrake Jul 16 '15 at 09:51 PM
 [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.
 
avatar image RCL STAFF Jul 16 '15 at 10:04 PM

Try without SSL.

avatar image Salamanderrake Jul 18 '15 at 12:39 AM

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.

avatar image varomix Jul 17 '15 at 11:53 PM

I get the same issue exact issue, but I can't modify the ssl in the server, is not up to me. Please Help thanks

avatar image Salamanderrake Jul 18 '15 at 12:51 AM

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.

avatar image Doug E ♦♦ STAFF Jul 20 '15 at 08:45 PM

Hey Salamanderrake and varomix-

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.

Cheers

Doug Wilson

avatar image varomix Sep 09 '15 at 10:18 PM

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.

Thanks

avatar image RCL STAFF Sep 09 '15 at 10:33 PM

This may help: http://www.perforce.com/perforce/doc.current/manuals/p4api/chapter.client.programming.html

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.

avatar image varomix Sep 10 '15 at 12:05 AM

I'm not sure what it is I have to change in the .cs file, already replaced the .a file, thanks for the help

avatar image varomix Sep 10 '15 at 12:39 AM

I added the -lrt flag for linux, and replaced the lib, now it doesn't complain but it keeps looking for a workspace forever and never ends

avatar image Doug E ♦♦ STAFF Sep 16 '15 at 03:52 PM

Hey varomix-

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?

Cheers

Doug Wilson

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question