Hi Dojo,
I've been seeing the following issue when trying to renew the cloud session through Client Test Tool:
I noticed the issue because I saw the following in SLErrors:
2025/07/09 07:27:54.294|SLCloudStorage.txt|SLDataGateway|DataGateway.CloudStorage|ERR|0|7|CloudSettings could not be retrieved from the cloud. Retrying in 00:00:05. Exception: SLCloudStorageConnection.Repositories.Exceptions.CloudSettingsRepositoryException: Exception while doing GetCloudAccessTokenRequest. ---> System.AggregateException: One or more errors occurred. ---> DataMinerMessageBroker.API.Exceptions.SubscriptionException: No subscriber for the subject 'Skyline.Dataminer.Proto.CcaGatewayTypes.GetCloudAccessTokenRequest' found. Check the process that should handle the request. ---> NATS.Client.NATSNoRespondersException: No responders are available for the request.
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NATS.Client.Connection.<RequestAsyncImpl>d__147.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at DataMinerMessageBroker.API.Nats.NatsSession.<RequestAsync>d__41.MoveNext()
--- End of inner exception stack trace ---
at DataMinerMessageBroker.API.Nats.NatsSession.<RequestAsync>d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at DataMinerMessageBroker.API.MessageBroker.<RequestAsync>d__17.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at SLCloudStorageConnection.Repositories.Impl.HttpCloudSettingsRepository.<>c__DisplayClass9_0.<GetToken>b__0()
at SLCloudStorageConnection.Repositories.Impl.HttpCloudSettingsRepository.ExecuteBroker[T](Func`1 action, Func`2 getError, String message)
--- End of inner exception stack trace ---
at SLCloudStorageConnection.Repositories.Impl.HttpCloudSettingsRepository.ExecuteBroker[T](Func`1 action, Func`2 getError, String message)
at SLCloudStorageConnection.Repositories.Impl.HttpCloudSettingsRepository.GetToken(String scope)
at SLCloudStorageConnection.Repositories.Impl.HttpCloudSettingsRepository.<GetAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at SLCloudStorageConnection.Services.Impl.CloudStorageConnectionService.<LoadSettingsAsync>d__52.MoveNext())
I tried restarting NAS and NATS as well as reinstalling them as described here. I tried reinstalling CloudPack, both with and without .NET. I tried restarting bunch of services like CloudGateway, CoreGateway, BrokerGateway. I also tried reinstalling couple of modules from C:\Skyline DataMiner\Tools\ModuleInstallers. I've confirmed that port 4222 is open. NATS logging shows no errors and that "Streaming Server is ready".
One other thing that I find peculiar is that SLCloud.xml is not automatically adding IP when I delete old one. This used to be the case, if there is no IP defined in SLCloud.xml current would be added on startup. I've updated the CloudPack to latest version on Monday but everything worked fine yesterday and the day before.
I'm using DMA 10.5.7.0 - 15952 and CloudPack 3.3.3.0.
Hi
this does seem to be a NATS problem because it indicates that the CloudGateway is not able to subscribe on the required topic. Can you send me the logging from the CloudGateway to confirm this. You can find it in the following folder: "C:\ProgramData\Skyline Communications\DataMiner CloudGateway\Logs".
The reason why the IP is not being added is not clear to me but I do know it will need to be in there since other processes (like CloudGateway) use this file to know which NATS server to connect to. You can take a look at the nats-server.config file in "C:\Skyline DataMiner\NATS\nats-streaming-server". This will have the IP that the server will use and advertise. Make sure the one in SLCloud.xml matches the one set here. While you are there also make sure to double check the ClusterID in both files.
After adjusting all of this you will want to restart the CloudGateway DxM and NAS/NATS.

After a more extensive investigation and other users reporting the same issue, we found a bug in the CloudGateway code.
Luckily, we managed to apply a fix to the dataminer.services platform that only requires a restart of the CloudGateway DxM. If you have a DaaS agent, you can contact daas@skyline.be, and they will fix this for you.