Root url should preferably be obtained from request but badly configured ingress or proxy will cause invalid root url.