Error when come back cbot cloud

Created at 10 Mar 2025, 06:27
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
ForexViet's avatar

ForexViet

Joined 05.05.2023

Error when come back cbot cloud
10 Mar 2025, 06:27


Dear cTrader Support Team, 

Please help me with this error, I am running cbot cloud on my account, I tried to learn Ctrader Open API, create webhook, ... and get acc token. Then I realized it was not ok and went back to cbot cloud. I deleted all triggers, webhook links, new Apps at openAPI. However, after restarting cbot cloud, I could not run cbot cloud as before. The error message appeared as follows: 

10/03/2025 06:18:56.149    at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
   at Core.Framework.Extension.Implementation.FileManagement.FileService.OpenReadWithShare(String fullFileName)
   at cTrader.Automate.Domain.Types.AutomateTypeExtensions.GetTypeMetadata(IAutomateType this)
   at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateMementoInternal(IAutomateType automateType, SymbolPersistenceId symbolPersistenceId, FramePeriod framePeriod, AlgoInstanceParametersMemento parametersMemento)
   at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateDetachedMemento(IAutomateType automateType, AutomateRuntimeType runtimeType)
The error occurred while cbot creating ()
cTrader.Automate.Domain.Exceptions.AlgoMetadataUnavailableException
 ---> System.IO.FileNotFoundException: Could not find file '/opt/console/FTMO_3.3.algo'.
File name: '/opt/console/FTMO_3.3.algo'
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at cTrader.Automate.Infrastructure.Common.Types.AlgoFileLoader.GetAlgoInfo(AutomateId automateId)
   --- End of inner exception stack trace ---
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at cTrader.Automate.AutomateAlgoTypeInstanceRepository.CreateDetached(IAutomateType automateType, AutomateRuntimeType runtimeType)
   at cTrader.Console.Infrastructure.Application.ConsoleRealtimeInstanceManager.CreateAutomateTypeInstance(String algoFileName)
   at cTrader.Console.Infrastructure.Application.ConsoleAlgoTypeInstanceManager.CreateInstanceAsync(String algoFileName)

10/03/2025 06:13:49.020    at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateMementoInternal(IAutomateType automateType, SymbolPersistenceId symbolPersistenceId, FramePeriod framePeriod, AlgoInstanceParametersMemento parametersMemento)
   at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateDetachedMemento(IAutomateType automateType, AutomateRuntimeType runtimeType)
   at cTrader.Console.Infrastructure.Application.ConsoleAlgoTypeInstanceManager.CreateInstanceAsync(String algoFileName)

10/03/2025 06:13:49.020    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
   at Core.Framework.Extension.Implementation.FileManagement.FileService.OpenReadWithShare(String fullFileName)
   at cTrader.Automate.AutomateAlgoTypeInstanceRepository.CreateDetached(IAutomateType automateType, AutomateRuntimeType runtimeType)
   at cTrader.Automate.Infrastructure.Common.Types.AlgoFileLoader.GetAlgoInfo(AutomateId automateId)
   --- End of inner exception stack trace ---
   at cTrader.Automate.Domain.Types.AutomateTypeExtensions.GetTypeMetadata(IAutomateType this)
   at cTrader.Console.Infrastructure.Application.ConsoleRealtimeInstanceManager.CreateAutomateTypeInstance(String algoFileName)
The error occurred while cbot creating ()
cTrader.Automate.Domain.Exceptions.AlgoMetadataUnavailableException
 ---> System.IO.FileNotFoundException: Could not find file '/opt/console/FTMO_3.3.algo'.
File name: '/opt/console/FTMO_3.3.algo'
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
File name: '/opt/console/FTMO_3.3.algo'
   at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at Core.Framework.Extension.Implementation.FileManagement.FileService.OpenReadWithShare(String fullFileName)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at cTrader.Automate.AutomateAlgoTypeInstanceRepository.CreateDetached(IAutomateType automateType, AutomateRuntimeType runtimeType)
   at cTrader.Console.Infrastructure.Application.ConsoleRealtimeInstanceManager.CreateAutomateTypeInstance(String algoFileName)
   at cTrader.Console.Infrastructure.Application.ConsoleAlgoTypeInstanceManager.CreateInstanceAsync(String algoFileName)

10/03/2025 06:03:31.330    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
The error occurred while cbot creating ()
cTrader.Automate.Domain.Exceptions.AlgoMetadataUnavailableException
 ---> System.IO.FileNotFoundException: Could not find file '/opt/console/FTMO_3.3.algo'.
   at cTrader.Automate.Infrastructure.Common.Types.AlgoFileLoader.GetAlgoInfo(AutomateId automateId)
   --- End of inner exception stack trace ---
   at cTrader.Automate.Domain.Types.AutomateTypeExtensions.GetTypeMetadata(IAutomateType this)
   at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateMementoInternal(IAutomateType automateType, SymbolPersistenceId symbolPersistenceId, FramePeriod framePeriod, AlgoInstanceParametersMemento parametersMemento)
   at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateDetachedMemento(IAutomateType automateType, AutomateRuntimeType runtimeType)
   at cTrader.Console.Infrastructure.Application.ConsoleAlgoTypeInstanceManager.CreateInstanceAsync(String algoFileName)

10/03/2025 05:58:15.241 cTrader.Automate.Domain.Exceptions.AlgoMetadataUnavailableException
File name: '/opt/console/FTMO_3.3.algo'
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateDetachedMemento(IAutomateType automateType, AutomateRuntimeType runtimeType)
   at cTrader.Console.Infrastructure.Application.ConsoleRealtimeInstanceManager.CreateAutomateTypeInstance(String algoFileName)
The error occurred while cbot creating ()
   at cTrader.Automate.Domain.Types.AutomateTypeExtensions.GetTypeMetadata(IAutomateType this)
 ---> System.IO.FileNotFoundException: Could not find file '/opt/console/FTMO_3.3.algo'.
   at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateMementoInternal(IAutomateType automateType, SymbolPersistenceId symbolPersistenceId, FramePeriod framePeriod, AlgoInstanceParametersMemento parametersMemento)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at cTrader.Automate.AutomateAlgoTypeInstanceRepository.CreateDetached(IAutomateType automateType, AutomateRuntimeType runtimeType)
   at Core.Framework.Extension.Implementation.FileManagement.FileService.OpenReadWithShare(String fullFileName)
   at cTrader.Automate.Infrastructure.Common.Types.AlgoFileLoader.GetAlgoInfo(AutomateId automateId)
   --- End of inner exception stack trace ---
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at cTrader.Automate.Infrastructure.Common.Types.AlgoFileLoader.GetAlgoInfo(AutomateId automateId)
   --- End of inner exception stack trace ---
   at cTrader.Automate.Domain.Types.AutomateTypeExtensions.GetTypeMetadata(IAutomateType this)
   at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateMementoInternal(IAutomateType automateType, SymbolPersistenceId symbolPersistenceId, FramePeriod framePeriod, AlgoInstanceParametersMemento parametersMemento)
   at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateDetachedMemento(IAutomateType automateType, AutomateRuntimeType runtimeType)
cTrader.Automate.Domain.Exceptions.AlgoMetadataUnavailableException
 ---> System.IO.FileNotFoundException: Could not find file '/opt/console/FTMO_3.3.algo'.
File name: '/opt/console/FTMO_3.3.algo'
   at cTrader.Console.Infrastructure.Application.ConsoleAlgoTypeInstanceManager.CreateInstanceAsync(String algoFileName)

10/03/2025 05:52:25.133 The error occurred while cbot creating ()
   at cTrader.Automate.AutomateAlgoTypeInstanceRepository.CreateDetached(IAutomateType automateType, AutomateRuntimeType runtimeType)
   at cTrader.Console.Infrastructure.Application.ConsoleRealtimeInstanceManager.CreateAutomateTypeInstance(String algoFileName)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
   at Core.Framework.Extension.Implementation.FileManagement.FileService.OpenReadWithShare(String fullFileName)
   at cTrader.Console.Infrastructure.Application.ConsoleAlgoTypeInstanceManager.CreateInstanceAsync(String algoFileName)

10/03/2025 05:52:03.624    at cTrader.Automate.Domain.Types.AutomateTypeExtensions.GetTypeMetadata(IAutomateType this)
   at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateMementoInternal(IAutomateType automateType, SymbolPersistenceId symbolPersistenceId, FramePeriod framePeriod, AlgoInstanceParametersMemento parametersMemento)
   at cTrader.Automate.Infrastructure.Common.Types.AlgoFileLoader.GetAlgoInfo(AutomateId automateId)
The error occurred while cbot creating ()
   --- End of inner exception stack trace ---
cTrader.Automate.Domain.Exceptions.AlgoMetadataUnavailableException
 ---> System.IO.FileNotFoundException: Could not find file '/opt/console/FTMO_3.3.algo'.
File name: '/opt/console/FTMO_3.3.algo'
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
   at Core.Framework.Extension.Implementation.FileManagement.FileService.OpenReadWithShare(String fullFileName)
   at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateDetachedMemento(IAutomateType automateType, AutomateRuntimeType runtimeType)
   at cTrader.Automate.AutomateAlgoTypeInstanceRepository.CreateDetached(IAutomateType automateType, AutomateRuntimeType runtimeType)
   at cTrader.Console.Infrastructure.Application.ConsoleRealtimeInstanceManager.CreateAutomateTypeInstance(String algoFileName)
   at cTrader.Automate.Infrastructure.Common.Types.AlgoFileLoader.GetAlgoInfo(AutomateId automateId)
   --- End of inner exception stack trace ---
   at cTrader.Automate.Domain.Types.AutomateTypeExtensions.GetTypeMetadata(IAutomateType this)
   at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateMementoInternal(IAutomateType automateType, SymbolPersistenceId symbolPersistenceId, FramePeriod framePeriod, AlgoInstanceParametersMemento parametersMemento)
   at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateDetachedMemento(IAutomateType automateType, AutomateRuntimeType runtimeType)
   at cTrader.Automate.AutomateAlgoTypeInstanceRepository.CreateDetached(IAutomateType automateType, AutomateRuntimeType runtimeType)
   at cTrader.Console.Infrastructure.Application.ConsoleRealtimeInstanceManager.CreateAutomateTypeInstance(String algoFileName)
   at cTrader.Console.Infrastructure.Application.ConsoleAlgoTypeInstanceManager.CreateInstanceAsync(String algoFileName)

10/03/2025 05:51:56.145    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
   at Core.Framework.Extension.Implementation.FileManagement.FileService.OpenReadWithShare(String fullFileName)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


 


@ForexViet