Synology NAS Reverse Proxy 502 Error: How to Fix It

Medium 15-45 minutes Medium Severity Verified June 2026
Error Code
Reverse proxy 502
Brand
Synology
Product Type
nas
Severity
Medium
DIY Difficulty
Medium
Estimated Fix Time
15-45 minutes
The Synology reverse proxy 502 error occurs when your NAS cannot communicate with the backend service you're trying to access. This typically happens when a service is down, misconfigured, or using the wrong port settings.
Ad

Tools You'll Need

How to Fix Error Code Reverse proxy 502

  1. Check backend service status

  2. Verify port configuration

  3. Test direct service access

  4. Restart the backend service

    Restarting services may cause temporary downtime for users accessing those applications.
  5. Check network connectivity

  6. Review reverse proxy configuration

  7. Check firewall and security settings

  8. Review system logs

Parts You May Need

Additional RAM module
Check Price on Amazon
Additional RAM module
Check Price on Amazon
Additional RAM module
Check Price on Amazon
Additional RAM module
Check Price on Amazon
Additional RAM module
Check Price on Amazon
Additional RAM module
Check Price on Amazon
Additional RAM module
Check Price on Amazon
Additional RAM module
Check Price on Amazon
Ad

When to Call a Professional

Contact Synology support or a network administrator if the backend service configuration is complex, involves enterprise networking equipment, or if you're unsure about modifying firewall rules that could affect network security.

Frequently Asked Questions

What does reverse proxy 502 error mean on Synology NAS?
A 502 error means your Synology NAS reverse proxy cannot reach the backend service you're trying to access. The service is either down, unreachable, or configured with incorrect port settings.
How do I check if my backend service is running?
Try accessing the service directly using its IP address and port number in a web browser. If it's a Synology package, check Package Center to see if it's running. For external services, check the service status on the target server.
Can incorrect SSL certificates cause 502 errors?
Yes, if your reverse proxy is configured for HTTPS but the backend service has SSL certificate issues or doesn't support HTTPS, you'll get 502 errors. Verify SSL settings match between the proxy and backend service.
Why does my reverse proxy work sometimes but not others?
Intermittent 502 errors often indicate the backend service is unstable, running out of resources, or has connection limits. Check the service's resource usage and configuration for maximum connections or memory limits.
How do I fix 502 errors for Docker containers behind reverse proxy?
Ensure the Docker container is running and accessible on the correct port. Check that the container's internal port mapping matches your reverse proxy destination port, and verify the container isn't restarting due to errors.