Error message

The error below would occur during the G-SDK connection with the device gateway. 



1. Connection issue 

Cannot connect to the device: Grpc.Core.RpcException: Status(StatusCode=Unavailable, Detail="Cannot handshake the direct connection: Cannot handshake: 


2.[raddr :192.168.xxx.xx] Device not allowed  


3. Cannot send the status change: rpc error: code = Unavailable desc = transport is closingCannot send the status change: rpc error: code = Unavailable desc = transport is closing



Solution


1. If the certificate is in the device, Please reset the device to the factory setting


2. It may not start the service intermittently when modifying the sample code.

->Restart the device gateway. or factory reset the device.


3. I need you to expand the value of the "keep_alive" more. (Config.json In the Device_Gate_way)