Este contenido no está disponible en el idioma seleccionado.

Chapter 9. Upgrading


Troubleshoot issues when upgrading to Ansible Automation Platform 2.6.

When upgrading from Ansible Automation Platform 2.4 to 2.6, the upgrade completes successfully. However, connections to the platform gateway URL fail if you are using automation controller behind a load balancer.

You see this error message in the logs:

Error connecting to Controller API

Procedure

  1. To resolve this issue, perform the following tasks for all controller hosts:

    1. For each controller host, add the platform gateway URL as a trusted source in the CSRF_TRUSTED_ORIGIN setting in the settings.py file.

      For example, if you configured the platform gateway URL as https://www.example.com, you must add that URL in the settings.py file too as shown:

      CSRF_TRUSTED_ORIGINS = ['https://appX.example.com:8443','https://www.example.com']
    2. Restart each controller host by using the automation-controller-service restart command so that the URL changes are implemented. For the procedure, see Start, stop, and restart automation controller in Configuring automation execution.
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2026 Red Hat
Volver arriba