Hi there.
I’m trying to get Unity Version Control set up for my project and I’ve been running into the ‘remote host closed the socket’ error.
I pulled the following logs from the debug.log text:
2024-10-16 22:11:27,495 New-PC\New DEBUG PlasticPipe - CmCallContext sent to server on connection creation
2024-10-16 22:11:27,742 New-PC\New ERROR PlasticPipe - There was a problem reading response code for GetRepositoryList from Mackerel_Sky@cloud. The remote host closed the socket
2024-10-16 22:11:27,743 New-PC\New DEBUG ChannelCall - protocol:plasticproto sec:ssl sentb: 854|sendt: 0|recb: 3681|rect: 993|prt: 1246|sert: 999|dest: 0|zip: 0|Mackerel_Sky@cloud|GetRepositoryList
2024-10-16 22:11:27,743 New-PC\New DEBUG InvokeMethodRetry - HasToHandleSocketException. EofException caught.Will retry: Mackerel_Sky@cloud.GetRepositoryList
2024-10-16 22:11:27,743 New-PC\New INFO InvokeMethodRetry - Mackerel_Sky@cloud.GetRepositoryList retried 10 times and still can't connect. Failing. The remote host closed the socket
2024-10-16 22:11:27,743 New-PC\New DEBUG PlasticPipe - prt: 42844|GetRepositoryList |Mackerel_Sky@cloud
2024-10-16 22:11:27,743 New-PC\New DEBUG CmProxy - Error invoking GetRepositoryList. The remote host closed the socket.
at Codice.CM.Common.Serialization.PlasticBinaryReader.ThrowEndOfFile () [0x00045] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at Codice.CM.Common.Serialization.PlasticBinaryReader.ReadByte () [0x00052] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at PlasticPipe.PlasticProtocol.Client.ClientTransport.SafeReadByteResponseCode (Codice.CM.Common.Serialization.PlasticBinaryReader reader, PlasticPipe.PlasticServer plasticServer, PlasticPipe.PlasticProtocol.Messages.PlasticMethods method) [0x00072] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at PlasticPipe.PlasticProtocol.Client.ClientTransport.SendAndWait (PlasticPipe.PlasticServer plasticServer, PlasticPipe.PlasticProtocol.Messages.PlasticMethods method, Codice.CM.Common.Credentials creds, PlasticPipe.PlasticProtocol.Messages.INetworkMessage msg, PlasticPipe.PlasticProtocol.Messages.INetworkMessage response, System.Boolean bRetryWriteMethod, Codice.Utils.Buffers.FlexibleBufferPool lz4BufferPool, System.Boolean bCheckSslCertificateRevocation, PlasticPipe.PlasticProtocol.Client.ClientTransport+INegotiateActiveDirectory negotiateActiveDirectory, System.Int32 connTimeoutMsec, PlasticPipe.PlasticProtocol.Client.ClientTransport+IResolveCloudServer resolveCloudServer) [0x0040e] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at PlasticPipe.PlasticProtocol.Client.ClientTransport.SendAndWaitWithRetry (PlasticPipe.PlasticServer server, PlasticPipe.PlasticProtocol.Messages.PlasticMethods method, Codice.CM.Common.Credentials creds, PlasticPipe.PlasticProtocol.Messages.INetworkMessage msg, PlasticPipe.PlasticProtocol.Messages.INetworkMessage response, Codice.Utils.Buffers.FlexibleBufferPool lz4BufferPool, System.Boolean bCheckSslCertificateRevocation, PlasticPipe.PlasticProtocol.Client.ClientTransport+INegotiateActiveDirectory negotiateActiveDirectory, System.Int32 connTimeoutMsec, PlasticPipe.PlasticProtocol.Client.ClientTransport+IResolveCloudServer resolveCloudServer) [0x00169] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at PlasticPipe.PlasticProtocol.Client.ClientTransport.InvokeMethod (PlasticPipe.PlasticServer server, PlasticPipe.PlasticProtocol.Messages.PlasticMethods method, Codice.CM.Common.Credentials creds, PlasticPipe.PlasticProtocol.Messages.INetworkMessage msg, PlasticPipe.PlasticProtocol.Messages.INetworkMessage response) [0x00008] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at Codice.Client.Common.Connection.PlasticProtocolCmProxy+PlasticProtocolMethodInvoker.DoInvokeMethod (PlasticPipe.PlasticServer server, Codice.CM.Common.Credentials creds, System.Exception& ex) [0x00002] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
2024-10-16 22:11:27,744 New-PC\New DEBUG CmProxy - InvokeRemoteMethod failed. Server = Mackerel_Sky@cloud. Error = The remote host closed the socket. retryOn = Authentication, HostUnreachable, ServerCertificate
2024-10-16 22:11:27,744 New-PC\New ERROR PlasticThread - Error when performing background operation: The remote host closed the socket
2024-10-16 22:11:27,744 New-PC\New DEBUG PlasticThread - Stack trace: at Codice.Client.Common.Connection.HandleCredsAliasAndServerCert.DoInvoke (Codice.Client.Common.Connection.HandleCredsAliasAndServerCert+IInvokeMethod invoker, PlasticPipe.PlasticServer plasticServer, PlasticPipe.PlasticServer serverToAuthenticate, Codice.Client.Common.Connection.HandleCredsAliasAndServerCert+RetryOn retryOn, Codice.Client.Common.Connection.GetCredentials+ClientConfLoginInfo loginInfo, Codice.Client.Common.Connection.GetCredentials+IGetCredentials getCredentials, Codice.Client.Common.Connection.ServerAlias.ServerAliases serverAliases, Codice.Client.Common.Connection.GetCredentials+IAuthTokenCache authTokenCache, Codice.Client.Common.ProfileManager profileManager, Codice.Client.Common.Connection.HandleCredsAliasAndServerCert+DoInvokeMode doInvokeMode) [0x0011a] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at Codice.Client.Common.Connection.HandleCredsAliasAndServerCert.Invoke (Codice.Client.Common.Connection.HandleCredsAliasAndServerCert+IInvokeMethod invoker, PlasticPipe.PlasticServer plasticServer, PlasticPipe.PlasticServer serverToAuthenticate, Codice.Client.Common.Connection.HandleCredsAliasAndServerCert+RetryOn retryOn, Codice.Client.Common.Connection.GetCredentials+ClientConfLoginInfo loginInfo, Codice.Client.Common.Connection.GetCredentials+IGetCredentials getCredentials, Codice.Client.Common.Connection.ServerAlias.ServerAliases serverAliases, Codice.Client.Common.Connection.GetCredentials+IAuthTokenCache authTokenCache, Codice.Client.Common.ProfileManager profileManager) [0x00001] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at Codice.Client.Common.Connection.PlasticProtocolCmProxy.PlasticPipe.PlasticProtocol.Client.Proxies.IInvokeMethod.Invoke (PlasticPipe.PlasticServer plasticServer, PlasticPipe.PlasticProtocol.Messages.PlasticMethods method, PlasticPipe.PlasticProtocol.Messages.INetworkMessage msg, PlasticPipe.PlasticProtocol.Messages.INetworkMessage response) [0x0001f] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at PlasticPipe.PlasticProtocol.Client.Proxies.RepositoryHandlerProxy.Codice.CM.Interfaces.IRepositoryHandler.GetRepositoryList (Codice.CM.Common.RepositoryType type) [0x00023] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at Codice.Client.BaseCommands.BaseCommandsImpl.GetRepositoryList (System.String servername) [0x0000c] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at PlasticGui.PlasticAPI.DoGetAllRepositories (System.String server, System.Boolean bFilterDeleted) [0x00007] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at PlasticGui.PlasticAPI.GetAllRepositories (System.String server, System.Boolean bFilterDeleted) [0x00001] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at PlasticGui.WorkspaceWindow.Home.Repositories.LocalRepositoriesProvider.PlasticGui.WorkspaceWindow.Home.Repositories.IRepositoriesProvider.GetRepositories (System.String server, System.Boolean bFilterDeleted) [0x00021] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at PlasticGui.WorkspaceWindow.Home.Repositories.FillRepositoriesTable+<>c__DisplayClass2.<FillTable>b__0 () [0x00002] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
at Codice.Client.Common.Threading.PlasticThread.ThreadWork (System.Object state) [0x0000a] in <1a31cd4f5d1b467281cfa822a1b3792b>:0
2024-10-16 22:11:43,044 New-PC\New DEBUG PlasticWindow - OnFocus
2024-10-16 22:11:48,271 New-PC\New DEBUG PlasticWindow - OnApplicationDeactivated
2024-10-16 22:11:49,718 New-PC\New DEBUG PlasticWindow - OnFocus
2024-10-16 22:11:49,721 New-PC\New DEBUG PlasticWindow - OnApplicationActivated
2024-10-16 22:11:50,527 New-PC\New DEBUG PlasticWindow - OnApplicationDeactivated
I’m not quite sure where I need to start debugging this. The problem pops up both in editor and with the Unity DevOps Version Control desktop program.
I’m also not sure if the project connected to Cloud Services correctly as when I press ‘connect’ a pop up comes up saying it’s connected successfully, but the Unity Hub page still refers to it as Not Connected (I see it on the Unity DevOps project list though)
Can anyone help?
