Search code examples
sslgoogle-cloud-platformtimeoutiotgoogle-cloud-iot

Google Cloud - Connection timout, TLS - handshake


I am developing a project based on the Google Cloud IoT Core platform. I want to publish telemetry data using the GSM module (SIM7020 - NB-IoT).

However, the connection time (TLS handshake) takes a lot of time (> 10 seconds) and the connection is broken by the Google server.

What is the timeout handshake?

Can I extend this timeout in IoT Core settings?. Anyone have an idea how to work around this problem with slow connections?

best regards


Solution

  • If your bound to UDP, you may try out cloud-iot-coap-proxy. A DTLS PSK handshake, if that complies to your security requirements, is much faster.