/var/log/syslog
, the following messages can be seen:2022-08-25T08:42:55.036211-07:00 nsxedge NSX 27498 LOAD-BALANCER [nsx@6876 comp="nsx-edge" subcomp="lb" s2comp="lb" level="FATAL"] [########-####-####-####-############] connect() to ip-address:443 failed (99: Cannot assign requested address) while connecting to upstream, client: ip-address, server: , request: "GET / HTTP/1.1", upstream: "https://ip-address:443/", host: "host-name" 2022-08-25T08:43:48.497141-07:00 nsxedge NSX 27498 LOAD-BALANCER [nsx@6876 comp="nsx-edge" subcomp="lb" s2comp="lb" level="FATAL"] [########-####-####-####-############] connect() to ip-address:443 failed (99: Cannot assign requested address) while connecting to upstream, client: ip-address, server: , request: "GET /Images/image.png HTTP/1.1", upstream: "https://ip-address:443/Images/image.png", host: "hostname", referrer: "https://referrer/History.aspx?token=63c391f8-####-####-####-7cc80e15136b&AGU=0" 2022-08-25T08:43:59.970790-07:00 nsxedges NSX 18739 LOAD-BALANCER [nsx@6876 comp="nsx-edge" subcomp="lb" s2comp="lb" level="FATAL"] [########-####-####-####-############] worker process 27498 exited on signal 11 (core dumped)
/var/log/core/core.nginx.1606488022.24628.134.11.gz
VMware NSX-T Data Center
To workaround this issue, you can disable the NTLM Auth & Server Keep-alive parameters on the HTTP application profile.
To disable server keep-alive from UI:
To disable NTLM Auth & Server Keep-alive via API:
GET https://<nsx-mgr>/api/v1/loadbalancer/application-profiles
GET https://<nsx-mgr>/api/v1/loadbalancer/application-profiles/<application profile ID>
"ntlm": true,
--------> this needs to be set to false"server_keep_alive" : true,
-------> this needs to be set to falsePUT https://<nsx-mgr>/api/v1/loadbalancer/application-profiles/<application-profile-id>
Note: If you get the following API response
"httpStatus": "BAD_REQUEST",
"error_code": 289,
"module_name": "common-services",
"error_message": "Principal 'admin' with role '[enterprise_admin]' attempts to delete or modify an object of type LoadBalancerHttpProfile it doesn't own. (createUser=nsx_policy, allowOverwrite=null)"
This occurs when you are trying to modify a policy object with a manager API call, it is indicating the object is protected by policy, you can use the following header to over ride the protection and allow the manager API to edit the policy object:
Add the following under header key/value pair:
Key= X-Allow-Overwrite
Value= true