Hello,
Am facing an issue. Am constantly getting below error message when trying to perform a deployment - even of a simple Powershell script. I have even uninstall and re install Octopus and Tentacles but the error still manifesting.
I have tried on different browser, clear cookie, clear session but of no vain.
Error:
The step failed: Activity helloworld on localhost failed with error 'The process cannot access the file because it is being used by another process.
Server exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.IO.IOException: The process cannot access the file because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
at Halibut.Transport.Protocol.TemporaryFileStream.SaveTo(String filePath)
at System.Collections.Generic.List1.ForEach(Action
1 action)
Also, from OctopusTentacle.txt, i can see this error happening:
016-12-07 16:43:16.8479 23 INFO listen://[::]:10933/ 23 Unhandled error when handling request from client: [::ffff:127.0.0.1]:55451
System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func
2 endFunction, Action1 endAction, Task
1 promise, Boolean requiresSynchronization)
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Halibut.Transport.SecureListener.ExecuteRequest(TcpClient client)
System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func
2 endFunction, Action1 endAction, Task
1 promise, Boolean requiresSynchronization)
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Halibut.Transport.SecureListener.ExecuteRequest(TcpClient client)