After my DataMiner agent was logged off after 1 hour due to no interaction, the agent became unresponsive.
Whilst checking the logging, we notice it keeps failing whilst trying to get the cloud settings.
Any reason why this is happening and how to fix it?
SLCloudStorage
2023/07/31 10:39:13.468|SLDBConnection|SLCloudStorage|INF|0|1|2023-07-31T10:39:13.465|ERROR|DataGateway.CloudStorage.CloudStorage|CloudSettings could not be retrieved from the cloud. Retrying in 00:00:05. Exception: SLCloudStorage.Repositories.Exceptions.CloudSettingsRepositoryException: Exception while doing GetCcaGatewayConfigRequest. ---> System.AggregateException: One or more errors occurred. ---> DataMinerMessageBroker.API.Exceptions.SubscriptionException: No responders are available for 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.<requestAsync>d__144.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__33.MoveNext()
--- End of inner exception stack trace ---
at DataMinerMessageBroker.API.Nats.NatsSession.<RequestAsync>d__33.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 SLCloudStorage.Repositories.Impl.HttpCloudSettingsRepository.<GetApiEndpoint>b__6_0()
at SLCloudStorage.Repositories.Impl.HttpCloudSettingsRepository.ExecuteBroker[T](Func`1 action, Func`2 getError, String message)
--- End of inner exception stack trace ---
at SLCloudStorage.Repositories.Impl.HttpCloudSettingsRepository.ExecuteBroker[T](Func`1 action, Func`2 getError, String message)
at SLCloudStorage.Repositories.Impl.HttpCloudSettingsRepository.GetApiEndpoint()
at SLCloudStorage.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 SLCloudStorage.CloudStorageManager.<LoadSettingsAsync>d__56.MoveNext())
SLDBConnection
2023/07/31 10:39:13.468|SLDBConnection|SLDataGateway.Repositories|INF|0|1|2023-07-31T10:39:13.465|ERROR|DataGateway.CloudStorage.CloudStorage|CloudSettings could not be retrieved from the cloud. Retrying in 00:00:05. Exception: SLCloudStorage.Repositories.Exceptions.CloudSettingsRepositoryException: Exception while doing GetCcaGatewayConfigRequest. ---> System.AggregateException: One or more errors occurred. ---> DataMinerMessageBroker.API.Exceptions.SubscriptionException: No responders are available for 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.<requestAsync>d__144.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__33.MoveNext()
--- End of inner exception stack trace ---
at DataMinerMessageBroker.API.Nats.NatsSession.<RequestAsync>d__33.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 SLCloudStorage.Repositories.Impl.HttpCloudSettingsRepository.<GetApiEndpoint>b__6_0()
at SLCloudStorage.Repositories.Impl.HttpCloudSettingsRepository.ExecuteBroker[T](Func`1 action, Func`2 getError, String message)
--- End of inner exception stack trace ---
at SLCloudStorage.Repositories.Impl.HttpCloudSettingsRepository.ExecuteBroker[T](Func`1 action, Func`2 getError, String message)
at SLCloudStorage.Repositories.Impl.HttpCloudSettingsRepository.GetApiEndpoint()
at SLCloudStorage.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 SLCloudStorage.CloudStorageManager.<LoadSettingsAsync>d__56.MoveNext())
Hi Brecht,
Can you check if CloudGateway is running (Task Manager -> Services -> DataMiner CloudGateway)? If it doesn't run, it should be restarted. If it does run, can you check in the logging if there are any exceptions being thrown? The logging can be found in "C:\ProgramData\Skyline Communications\DataMiner CloudGateway\Logs".
With kind regards,
Hi Guillaume,
The DataMiner CloudGateway service was indeed stopped.
Why it was stopped is a mistery as the DataMiner was working fine earlier.
When activating the service, the issue was reported that the token was expired.
So got the DMA up and running again after renewing the token and given the DMA restart.
However, it is strange that the token was expired as the DMA was online earlier today as this should only happen after a couple of inactive days.
Best regards,