I am trying to share a dashboard with customer and I get the following error.
Any suggestions?
Hi Miguel
I had a look at the logging of your system and could see that the connection towards the cloud was dropped. You can clearly see this in the logging because it shows it with the following text:
[2022-09-30 08:22:09.514 ERR]Unable to connect to the TunnelService.[SLCcaGatewayService.Services.TunnelService.TunnelConnection.Impl.TunnelConnection] System.Threading.Tasks.TaskCanceledException: The operation was canceled.
at System.Net.Http.ConnectHelper.ConnectAsync(Func`3 callback, DnsEndPoint endPoint, HttpRequestMessage requestMessage, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.WebSockets.WebSocketHandle.ConnectAsync(Uri uri, CancellationToken cancellationToken, ClientWebSocketOptions options)
at SLCcaGatewayService.Services.TunnelService.TunnelConnection.Impl.TunnelConnection.TryConnectIfNeededAsync()
[2022-09-30 08:22:16.857 INF]Connection no longer valid. Trying to reconnect to "wss://tunnel.dataminer.services/ws/ccaconn"[SLCcaGatewayService.Services.TunnelService.TunnelConnection.Impl.TunnelConnection]
You can also see that the system reconnected itself after a while.
[2022-09-30 08:22:16.901 INF]WebSocket connect accepted by CcaTunnel. Setting up binding...[SLCcaGatewayService.Services.TunnelService.TunnelConnection.Impl.TunnelConnection] [2022-09-30 08:22:16.902 INF]Forwarding all tunnel traffic to 127.0.0.1:58922[SLCcaGatewayService.Services.TunnelService.TunnelConnection.Impl.WsToTcpLocalBehavior] [2022-09-30 08:28:14.834 INF]Dma State change from "Offline" to "Online" was detected.[SLCcaGatewayService.Services.GeneralServices.Impl.DmaStateManager] [2022-09-30 08:28:14.834 INF]A message to notify the Tunnel about the Dma State "Online" was sent.[SLCcaGatewayService.Services.TunnelService.TunnelConnection.Impl.TunnelConnection]
Thank you Baptiste. I can confirm I am now able to share the dashboards.
Hi Miguel,
Not sure if it will help, but can you check if upgrading to the latest versions resolves the problem?
Hi Miguel, do you find something in the log files? c:ProgramDataSkyline CommunicationsDataMiner CloudGatewayLogs