Error when running multiple bots that do not grant Full access permission (AccessRights = AccessRights.None) on windows server 2012 R2

Created at 14 May 2023, 17:16
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!
FX

Fx4U.net

Joined 30.10.2021

Error when running multiple bots that do not grant Full access permission (AccessRights = AccessRights.None) on windows server 2012 R2
14 May 2023, 17:16


Dear Ctrader Team,

Thank you for always trying to create a very quality and reliable product.

I have an error when running many bots that are not granted Full access rights for bots on windows server 2012 R2, Ctrader version 4.7.9 will show an error as shown below and close ctrader.

You can check by creating a few new bots that do not grant full access rights and run at the same time on windows server 2012 will give this error. Conversely, if we set the permission to Full access, the error does not appear.

Can you guys give me a solution to this problem?

Thanks and best regards,

Fx4U


@Fx4U.net
Replies

firemyst
15 May 2023, 11:52

I have multiple bots and bot instances running on Windows Server 2012 that do not through errors whether full access or no access.

So the issue is something in your actual code, which nobody would be able to help with unless you're able to:

1) post your entire code or

2) debug and narrow it down to a certain section of code to post that or

3) post sample code that reproduces the issue


@firemyst

Fx4U.net
15 May 2023, 12:11 ( Updated at: 15 May 2023, 15:23 )

RE:

firemyst said:

I have multiple bots and bot instances running on Windows Server 2012 that do not through errors whether full access or no access.

So the issue is something in your actual code, which nobody would be able to help with unless you're able to:

1) post your entire code or

2) debug and narrow it down to a certain section of code to post that or

3) post sample code that reproduces the issue

 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cAlgo.API;
using cAlgo.API.Collections;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;

namespace cAlgo.Robots
{
    [Robot(AccessRights = AccessRights.None)]
    public class NewcBot2 : Robot
    {
        [Parameter(DefaultValue = "Hello world!")]
        public string Message { get; set; }

        protected override void OnStart()
        {
            // To learn more about cTrader Automate visit our Help Center:
            // https://help.ctrader.com/ctrader-automate

            Print(Message);
        }

        protected override void OnTick()
        {
            // Handle price updates here
        }

        protected override void OnStop()
        {
            // Handle cBot stop here
        }
    }
}

 

Just create new bots without any other code. Try running with more than 5 bots that do not give Full access permission, this error will occur

 

@Fx4U.net

Spotware
16 May 2023, 12:25

Dear Fx4U.net,

Can you please let us know your processor's architecture? Is it x86 or x64?

Best regards,

cTrader Team

 


@Spotware

Fx4U.net
16 May 2023, 14:57

RE:

Spotware said:

Dear Fx4U.net,

Can you please let us know your processor's architecture? Is it x86 or x64?

Best regards,

cTrader Team

 

Dear Ctrader team,
Error occurs with Windows Server 2012 R2 x64. It happens on many VPSs, not just my VPS

Regards,

Fx4U

 

@Fx4U.net

Spotware
17 May 2023, 08:59

Dear Fx4U.net,

Please check with your VPS provider if your VPS is running on processors with ARM architecture. ARM processors are not supported by cTrader Desktop at the moment.

Best regards,

cTrader Team


@Spotware

Fx4U.net
18 May 2023, 04:17 ( Updated at: 21 Dec 2023, 09:23 )

RE:

Spotware said:

Dear Fx4U.net,

Please check with your VPS provider if your VPS is running on processors with ARM architecture. ARM processors are not supported by cTrader Desktop at the moment.

Best regards,

cTrader Team

No, the error occurs on both Intel Xeon E5 and AMD processors


@Fx4U.net

Spotware
18 May 2023, 09:32

Dear Fx4U.net,

Can you please let us know your VPS provider?

Best regards,

cTrader Team


@Spotware

Fx4U.net
18 May 2023, 09:53

RE:

Spotware said:

Dear Fx4U.net,

Can you please let us know your VPS provider?

Best regards,

cTrader Team

To not waste time, You can contact me via https://t.me/vnfx4u/ I can provide User and Password for you to login to my VPS to check. I have 2 VPS 1 running AMD processor and 1 running Intel Xeon processor. They all have the same problem, also my customers have the same problem


@Fx4U.net

Fx4U.net
23 May 2023, 14:51

RE:

Spotware said:

Dear Fx4U.net,

Can you please let us know your VPS provider?

Best regards,

cTrader Team

I have yet to see anyone contacting to resolve this issue. I think this is an unwarranted bug and they should be fixed as soon as possible


@Fx4U.net

... Deleted by UFO ...