TCPClient + idDHT22 = Hard fault

You could try the same code but remove the DHT22 code, just use random numbers and see if the problem persists.
If not, it could be related to some of the issues in this thread :

1 Like