H
HASS.Agent•13mo ago
deep-jade

Satellite service crash when adding gpuload sensor

When I add the gpuload sensor, the service crashes. On restart, the gpuload sensor is not included as a sensor. Attached is the satellite log. Interestingly, it states "Processing 10 received sensor(s)", but only 9 sensors are written to the log before the crash. Also attached is two events from the Windows Event Log that correlate with the crash.
Solution:
GitHub
Bug: Hass.Agent application crashes when using sensors · Issue #14 ...
Please make sure that the issue you're planning to report is not already registered :) Describe the bug When I use the HASS.Agent application on Windows 11 then it immediately crashes after loa...
Jump to solution
8 Replies
DrR0x
DrR0x•13mo ago
Could you enable extended logging and upload the full log of both the agent and the service?
deep-jade
deep-jadeOP•13mo ago
Ironically, when retrying, the service still crashed, but the sensor was still there on restart.
DrR0x
DrR0x•13mo ago
I'm not the main client developer but I'm sure @Amadeo will take a look once he's got a chance. Also, just for readability in future if you copy and paste the main error exception and place them between 3 backticks like this:
```
Log text
```
Log text
```
```
It allows us to view the error straight from the chat, like this:
2023-12-12 10:49:43.816 -05:00 [FTL] [PROGRAM] FirstChanceException: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses")
Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses")
at GrpcDotNetNamedPipes.NamedPipeChannel.CreateConnectionContext[TRequest,TResponse](Method`2 method, CallOptions callOptions, TRequest request)
at GrpcDotNetNamedPipes.NamedPipeChannel.AsyncUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions callOptions, TRequest request)
at Grpc.Core.Interceptors.InterceptingCallInvoker.<AsyncUnaryCall>b__4_0[TRequest,TResponse](TRequest req, ClientInterceptorContext`2 ctx)
at Grpc.Core.ClientBase.ClientBaseConfiguration.ClientBaseConfigurationInterceptor.AsyncUnaryCall[TRequest,TResponse](TRequest request, ClientInterceptorContext`2 context, AsyncUnaryCallContinuation`2 continuation)
at Grpc.Core.Interceptors.InterceptingCallInvoker.AsyncUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
at HassAgentSatelliteRpcCalls.HassAgentSatelliteRpcCallsClient.GetMqttStatusAsync(GetMqttStatusRequest request, CallOptions options)
at HassAgentSatelliteRpcCalls.HassAgentSatelliteRpcCallsClient.GetMqttStatusAsync(GetMqttStatusRequest request, Metadata headers, Nullable`1 deadline, CancellationToken cancellationToken)
2023-12-12 10:49:43.816 -05:00 [ERR] [SERVICE] RPC error [Unavailable]: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses")
2023-12-12 10:49:43.816 -05:00 [FTL] [PROGRAM] FirstChanceException: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses")
Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses")
at GrpcDotNetNamedPipes.NamedPipeChannel.CreateConnectionContext[TRequest,TResponse](Method`2 method, CallOptions callOptions, TRequest request)
at GrpcDotNetNamedPipes.NamedPipeChannel.AsyncUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions callOptions, TRequest request)
at Grpc.Core.Interceptors.InterceptingCallInvoker.<AsyncUnaryCall>b__4_0[TRequest,TResponse](TRequest req, ClientInterceptorContext`2 ctx)
at Grpc.Core.ClientBase.ClientBaseConfiguration.ClientBaseConfigurationInterceptor.AsyncUnaryCall[TRequest,TResponse](TRequest request, ClientInterceptorContext`2 context, AsyncUnaryCallContinuation`2 continuation)
at Grpc.Core.Interceptors.InterceptingCallInvoker.AsyncUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
at HassAgentSatelliteRpcCalls.HassAgentSatelliteRpcCallsClient.GetMqttStatusAsync(GetMqttStatusRequest request, CallOptions options)
at HassAgentSatelliteRpcCalls.HassAgentSatelliteRpcCallsClient.GetMqttStatusAsync(GetMqttStatusRequest request, Metadata headers, Nullable`1 deadline, CancellationToken cancellationToken)
2023-12-12 10:49:43.816 -05:00 [ERR] [SERVICE] RPC error [Unavailable]: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses")
Amadeo
Amadeo•13mo ago
evening
Solution
Amadeo
Amadeo•13mo ago
GitHub
Bug: Hass.Agent application crashes when using sensors · Issue #14 ...
Please make sure that the issue you're planning to report is not already registered :) Describe the bug When I use the HASS.Agent application on Windows 11 then it immediately crashes after loa...
Amadeo
Amadeo•13mo ago
fix will be included in 2.0.0 release
DrR0x
DrR0x•13mo ago
Oh wow what was quick, 😂
Amadeo
Amadeo•13mo ago
😄
Want results from more Discord servers?
Add your server