Sound Alerts don't seem to work on a VPS

Created at 12 Jun 2023, 12:06
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!
Waxy's avatar

Waxy

Joined 12.05.2015

Sound Alerts don't seem to work on a VPS
12 Jun 2023, 12:06


When I use Notifications.PlaySound(SoundType.Announcement) the log says that it Failed playing on a VPS, however it works well on my machine.

I've checked audio settings and notifications and all seems good to me.

Also tried the old way (trying to play a wav file) and it also fails.

I would appreciate some support for troubleshooting.

Regards,


@Waxy
Replies

firemyst
12 Jun 2023, 16:02

Have you tried altering the access rights permissions of your bots?

 


@firemyst

Waxy
12 Jun 2023, 22:05

RE:

firemyst said:

Have you tried altering the access rights permissions of your bots?

 

Yes, although the new overload with SoundType shouldn't need it, I've tried with AccessRights.None and AccessRights.FullAccess

 


@Waxy