This article describes the procedure to troubleshoot 502 errors showed in a Layer 7 Virtual Server deployed in FortiADC regarding illegal message headers.
FortiADC.
The HTTP 502 (Bad Gateway) error code means that one server got an invalid response from another server, so this is an error that sends the Virtual Server in FortiADC to the final client.
Troubleshooting steps:
diagnose debug module ssl-of-httproxy all set
diagnose debug module httproxy ssl_ae_info
diagnose debug module httproxy all
diagnose debug module httproxy set-filter srcip=x.x.x.x(client IP address)
diagnose debug module httproxy set-filter vsname=(VSname)
diagnose debug enable
Replace the x.x.x.x for the client IP address and vsname with the name of the related Virtual Server.
Related document:
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.