Getting 403 Forbidden when updating Kubernetes version of a cluster

What kind of request is this (question/bug/enhancement/feature request):
bug

Steps to reproduce (least amount of steps as possible):

  1. Log in to the Rancher UI
  2. Open a cluster
  3. Click Edit
  4. In the “Kubernetes Options” section, select the Kubernetes version as v1.17.17-rancher-2-3.
  5. Click Save.
    image

Result:
Error message

<html> <head><title>403 Forbidden</title></head> <body> <center><h1>403 Forbidden</h1></center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->

image

Other details that may be helpful:
The existing Kubernetes Version is v1.17.17-rancher-2-1. This user is an administrator and has all permissions. The user is also the owner of the cluster.

Environment information

  • Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.5.8
  • Installation option (single install/HA):

Cluster information

  • Cluster type (Hosted/Infrastructure Provider/Custom/Imported): AWS EC2
  • Machine type (cloud/VM/metal) and specifications (CPU/memory): AWS EC2
  • Kubernetes version (use kubectl version): v1.17.17-rancher2-1
  • Docker version (use docker version):

Got this resolved by changing the IP address in the Rancher Settings to {example}.rancher.com (Replaced {example} with the subdomain we have).