Troubleshooting ARR (Microsoft’s Application Request Routing solution) can be tricky at times. Here’s a great post by Jeff Graves from OrcsWeb with some tips on tracking down issues – specifically the especially-tricky 502.x errors.
Troubleshooting ARR 502.3 Errors