Could not switch workspace while at least 1 cbot is running

Created at 06 Aug 2019, 10:18
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!
FI

firemyst

Joined 26.03.2019

Could not switch workspace while at least 1 cbot is running
06 Aug 2019, 10:18


Dear Team Spotware:

I am running cTrader with my demo account on a VPS, and running live on my local computer.

In my demo account, I have a lot of bot instances running under 1 workspace.

On my local computer, I am running bot instances under the same workspace in my "live" account.

Frequently, I receive the following error from cTrader on my VPS:

I'm not changing workspaces -- I'm only running bots and clicking on various bot instances to see what's happening with their charts.

When this error occurs, it significantly slows down / freezes cTrader, sometimes to the point the only way I can get it back is to kill it under Windows Task Manager.

There is an issue here because I am not attempting to, nor switching, workspaces while running my cBots on the multiple computers.

Thank you.


@firemyst
Replies

PanagiotisCharalampous
06 Aug 2019, 11:06

Hi FireMyst,

If you can send us troubleshooting information when this happens again it will help us investigate.

Best Regards,

Panagiotis


@PanagiotisCharalampous

firemyst
06 Aug 2019, 17:11 ( Updated at: 21 Dec 2023, 09:21 )

RE:

Panagiotis Charalampous said:

Hi FireMyst,

If you can send us troubleshooting information when this happens again it will help us investigate.

Best Regards,

Panagiotis

Hi @Panagiotis:

It just happened again on my VPS in a demo account while trading in a live account on my local laptop.

22:10 UTC + 8 time.

I did a ctrl-alt-shift-T in cTrader and sent it in with a note that I posted about it in the forums.


@firemyst

PanagiotisCharalampous
08 Aug 2019, 16:22

Hi FireMyst,

We have investigated this issue further

  1. The message seems to appear because you have instances with different workspaces running. When connection is lost and then restored then cTrader attempts to load the last used workspace, therefore tries to change the workspace for one of the instances. Thus you get the message. This behavior will change in 3.6
  2. We could not reproduce performance issues. As far as we can tell you are using several custom cBots/indicators which could be the cause of the problem. To investigate further we will need all the custom indicators and cBots running as well as your settings file

Best Regards,

Panagiotis 


@PanagiotisCharalampous

firemyst
08 Aug 2019, 18:09 ( Updated at: 21 Dec 2023, 09:21 )

RE:

Panagiotis Charalampous said:

Hi FireMyst,

We have investigated this issue further

  1. The message seems to appear because you have instances with different workspaces running. When connection is lost and then restored then cTrader attempts to load the last used workspace, therefore tries to change the workspace for one of the instances. Thus you get the message. This behavior will change in 3.6
  2. We could not reproduce performance issues. As far as we can tell you are using several custom cBots/indicators which could be the cause of the problem. To investigate further we will need all the custom indicators and cBots running as well as your settings file

Best Regards,

Panagiotis 

Thanks @Panagiotis:

When I run Pepperstone cTrader 3.5 on Windows Server 2012 VPS, as you can see, there's no options there to change workspaces:

When I run it on my local laptop, look at the difference:

I'm downloading from here:

https://pepperstone.com/au/trading-platforms/platforms/ctrader

The top one is on a VPS running Windows Server 2012; the bottom one is on a Windows 10 laptop.

Why would there be a difference? Shouldn't they both have the drop-down menu to change workspaces?

 


@firemyst

PanagiotisCharalampous
09 Aug 2019, 09:10

Hi FireMyst,

It seems that in the VPS instance you are in cTrader Automate. The workspaces are available when you are in Trade tab.

Best Regards,

Panagiotis


@PanagiotisCharalampous

firemyst
09 Aug 2019, 15:00

RE:

Panagiotis Charalampous said:

Hi FireMyst,

It seems that in the VPS instance you are in cTrader Automate. The workspaces are available when you are in Trade tab.

Best Regards,

Panagiotis

@Panagiotis:

Lol. Glad you have better eyes than me. Such a "duh" moment on my part.

Thanks again :-)


@firemyst

shane.scott.pub
02 Nov 2024, 18:43

RE: Could not switch workspace while at least 1 cbot is running

PanagiotisCharalampous said: 

Hi FireMyst,

If you can send us troubleshooting information when this happens again it will help us investigate.

Best Regards,

Panagiotis

Hi I am logged into only one instance of CTrader. On my desktop. I am getting the exact same message as the original poster. I am running three optimizations on different stocks.  I am running no bots. I am getting the same message every minute or so. 


@shane.scott.pub

PanagiotisCharalampous
04 Nov 2024, 06:55

RE: RE: Could not switch workspace while at least 1 cbot is running

shane.scott.pub said: 

PanagiotisCharalampous said: 

Hi FireMyst,

If you can send us troubleshooting information when this happens again it will help us investigate.

Best Regards,

Panagiotis

Hi I am logged into only one instance of CTrader. On my desktop. I am getting the exact same message as the original poster. I am running three optimizations on different stocks.  I am running no bots. I am getting the same message every minute or so. 

Hi there,

This is a 5 years old thread so definitely not related. Please create a new thread regarding this issue.

Best regards,

Panagiotis


@PanagiotisCharalampous