Jump to content


Can't login into server (SSL error) from Unity

unity ssl

  • Please log in to reply
1 reply to this topic

#1 peetonn

peetonn

    Member

  • Members
  • PipPip
  • 12 posts

Posted 14 June 2018 - 11:24 PM

I've setup a server on unix machine.
Trying to connect via Unity, but it fails saying that "Login failed".
I then went on the server and watched log file while trying to connect in Unity:

```
$ sudo tail -f  /opt/perforce/servers/master/log

Perforce server error:
Date 2018/06/14 16:20:22:
Pid 6935
Connection from 10.0.0.2:60505 broken.
SSL receive failed.
read: SSL_read encountered an EOF.: Success
Perforce server info:
2018/06/14 16:20:22 pid 8316 peetonn@hello 10.0.0.2 [Unity/v80] 'user-logout'
Perforce server info:
2018/06/14 16:20:22 pid 8316 completed .114s 1+0us 0+40io 0+0net 7548k 0pf
Perforce server info:
2018/06/14 16:20:22 pid 8316 peetonn@hello 10.0.0.2 [Unity/v80] 'user-logout'
--- failed authentication check

Perforce server info:
2018/06/14 16:20:22 pid 8317 peetonn@hello 10.0.0.2 [Unity/v80] 'user-login -s'
Perforce server info:
2018/06/14 16:20:23 pid 8317 completed .108s 0+0us 0+0io 0+0net 7484k 0pf
Perforce server info:
2018/06/14 16:20:22 pid 8317 peetonn@hello 10.0.0.2 [Unity/v80] 'user-login -s'
--- failed authentication check
```

Which doesn't tell me much on the reasons why it fails to login (SSL receive failed).
NOTE: I can login successfully using `p4 login` command and using p4v app.

Unity settings look fine to me, for the "Server" I specified "ssl:10.0.0.1:1666"
Looking for any advices on what might going wrong here...

(IP addresses were replaced with fake ones intentionally)

#2 p4rfong

p4rfong

    Advanced Member

  • Staff Moderators
  • 239 posts

Posted 20 June 2018 - 08:59 PM

Since P4V works, does P4V use ssl:10.0.0.1:1666?  Also, are you logging into Unity under the same username as P4V (seen in the P4V title bar)?





Also tagged with one or more of these keywords: unity, ssl

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users