Unable to Create Network Profile in HCX due to, "The proxy server received an invalid response from an upstream server"
book
Article ID: 384882
calendar_today
Updated On:
Products
VMware HCX
Issue/Introduction
When attempting to create Network Profiles in VMware HCX (particularly in versions before 4.10), users may encounter a 502 Proxy Error with the message "The proxy server received an invalid response from an upstream server," even in environments without proxy configuration or site pairing. This error prevents the creation of network profiles and blocks the deployment of HCX functionality.
The error message appears as
502 Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request
Reason: Error reading from remote server
Environment
HCX Version: Affects versions before 4.10
vCenter
NSX-T: Required for overlay network configuration
Cause
This issue occurs due to multiple environmental and configuration factors, particularly in versions before 4.10 where requirements were more strict
Missing or incomplete NSX-T overlay network configuration prior to HCX deployment
Service initialization timing affecting network profile creation
Interaction between HCX services during initial setup and first reboot
Environmental dependencies that must be properly configured
The error message suggesting a proxy issue is misleading, as the root cause is related to service initialization and NSX-T configuration requirements rather than actual proxy connectivity problems.
Resolution
Primary Resolution (Recommended)
Upgrade to HCX 4.10.3 or later, which handles service initialization more effectively
Ensure NSX-T overlay networks are properly configured
After verifying all prerequisites below, configure any remaining required components for the environment
Before attempting any resolution, verify these critical environmental prerequisites
Time Synchronization
Verify NTP configuration on all HCX managers
Confirm no TIME_ERROR reports in kernel logs
Ensure no time drift between systems
DNS Resolution
Verify all DNS records are resolving correctly
Test forward and reverse DNS lookup functionality
Confirm no name resolution issues exist
Network Connectivity
Test TCP 443 connectivity between components using curl commands
Verify no firewall restrictions are in place
Confirm routing is properly configured
Check for any MTU issues
Authentication
Verify SSO configuration is working
Ensure correct vCenter credentials are being used
Confirm authentication services are operational
System State
Verify all services are running as expected
Check for any failed system components
Confirm system logs show no critical errors
If upgrade is not immediately possible
After verifying all prerequisites above, ensure NSX-T overlay networks are properly configured before HCX deployment
Create network profiles immediately after deployment before any service restarts
Complete remaining configuration as needed
Redeploy with latest version of HCX and follow procedure if all else fails
Reach out to Broadcom support if issues continue after verifying each part of your configuration
Additional Information
Versions of HCX before 4.10 had stricter requirements around service initialization and configuration timing, making this issue more likely to occur. The issue has been addressed in HCX 4.10 and later versions, with improved handling of service initialization.
Proper NSX-T configuration remains a prerequisite for HCX network profile creation across all versions.