NSX-T 3.X
NSX 4.X
After fetching a certain number of API response pages, due to the excessive and unnecessary number of calls made by the code for pagination, the ansible client might receive a "connection refused" when attempting to connect to NSX.
This issue will only occur if the size of the response generated by NSX exceeds the default API response page size.
The code on vmware_nsxt.py was modified
At the moment we don't have a date when it will be included in the zip file we ship with NSX but it is possible to pull latest code from master branch.
Refer https://github.com/vmware/ansible-for-nsxt/pull/512 for more details.