I have gone through the artcile but I am not very much clear as to what is causing this exception . Could you please elaborate if u understood properly . Also what would be the implications of the solution proposed.
There is no problem with prpc settings, it is purely related to server's settings/infrastructure how url is redirecting. Could you please check below links. Identify why it is coming in production? is it coming suddenly now Or is it exists since long time?