title: IBM Domino 502 Bad Gateway on redirect
body: <p>In our application we have a REST integration with another service</p>
  <p>It worked fine untill recently, however, sometimes we are returned with <code>502 Bad Gateway</code> in the application</p>
  <p>We send HTTP requests through curl and it seems that to be working but then we are presented with the error I described above</p>
  <p>The client is believed to have a firewall installed</p>
  <p>Whenever we face the problem, I usually ask the administrator to turn this thing off and it does the trick but I'm not sure whether it has something to do with the code?</p>
  <p>My question is what causes such behaviour and how to avoid it in the future?</p>