Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 9. Upgrading


Troubleshoot issues when upgrading to Ansible Automation Platform 2.5.

When upgrading Ansible Automation Platform 2.4 to 2.5, the upgrade is completed; however, connections to the platform gateway URL fail on the platform gateway UI if you are using the automation controller behind a load balancer. The following error message is displayed:

Error connecting to Controller API

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 below:

    CSRF_TRUSTED_ORIGINS = ['https://appX.example.com:8443','https://www.example.com']
    Copy to Clipboard Toggle word wrap
  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.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat