When using Ansible to establish a WinRM connection to a Windows virtual machine, the connection fails with the following error:
kerberos: HTTPConnectionPool(host='<hostname>', port=5985): Read timed out. (read timeout=30)
The error occurs during Ansible communication with the Windows host over WinRM using Kerberos authentication. Basic network is confirmed with ICMP pings and the TCP three-way handshake completes successfully; however, the WinRM session does not establish and the connection eventually times out.
NSX 4.x
The MTU configuration is inconsistent across the end-to-end communication path, resulting in incomplete delivery of the WinRM HTTP request and causing the Kerberos HTTP connection pool read timeout.