Algo Cloud server bugged? 10th march 2025
Algo Cloud server bugged? 10th march 2025
10 Mar 2025, 10:23
This parts of the log file of the bug
--- End of inner exception stack trace ---
at cTrader.Automate.Domain.Types.AutomateTypeExtensions.GetTypeMetadata(IAutomateType this)
at Core.Framework.Extension.Implementation.FileManagement.FileService.OpenReadWithShare(String fullFileName)
at cTrader.Automate.Infrastructure.Common.Types.AlgoFileLoader.GetAlgoInfo(AutomateId automateId)
cTrader.Automate.Domain.Exceptions.AlgoMetadataUnavailableException
---> System.IO.FileNotFoundException: Could not find file '/opt/console/15.algo'.
at cTrader.Automate.Memento.AlgoInstanceMementoFactory.CreateMementoInternal(IAutomateType automateType, SymbolPersistenceId symbolPersistenceId, FramePeriod framePeriod, AlgoInstanceParametersMemento parametersMemento)
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 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)
File name: '/opt/console/15.algo'
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)
Something anyting is if I run it locally, all fine
Replies
ysftrades
11 Mar 2025, 02:00
Try duplicating the cBot and rename it without using the decimal point.
It seems like while accessing the file in the cloud, the server is omitting anything after the decimal point in the filename and adds the *.algo extension, resulting in the following not finding the file exception;
---> System.IO.FileNotFoundException: Could not find file '/opt/console/15.algo'.
@ysftrades
firemyst
10 Mar 2025, 12:39
AS I responded in your post in the other forum, there are lots of issues with the Cloud.
Read other posts in this forum to get even more caught up
@firemyst