Esp8266 HANDSHAKESTATE_READ_FAILED errno=11

Hello all,

I have decided to try to move to the new encryption method and started with an esp8266 device. I have added a key and reconfigured esphome when it asked (i pressed the reconfigure button but it didn’t ask for the new key, it just said reconfigure succeed).
Problem is I keep getting these errors:

Socket operation failed: HANDSHAKESTATE_READ_FAILED errno=11

And then it askes again for a reconfigure.

What is happening? and how do I solve this?

sorry disregard this! after I removed and added again in esphome and HA restart now appears to be working.

How do I delete this post?