What strategy should be adopted to identify devices experiencing handshake issues?

Suppose a device is having handshake problems with the Thinger Server.

What strategy should be adopted to identify these devices (at least the device’s IP address)?