[Freeipa-users] Gateway_timeout Error

Martin Babinsky mbabinsk at redhat.com
Wed Feb 1 13:15:39 UTC 2017


On 02/01/2017 11:17 AM, deepak dimri wrote:
> Hello Martin, Thank you so much for your reply.
>
> I checked /etc/ipa/default.conf 'xmlrpc_uri' on my secondary server and
> its pointing to its own hostname and not to primary server hostname :(
>
> any other clue, Martin?
>
> I have tried without proxy and again to luck either its throwing same
> gateway_error
>
> Regards,
> Deepak
>
> On Wed, Feb 1, 2017 at 3:03 PM, Martin Babinsky <mbabinsk at redhat.com
> <mailto:mbabinsk at redhat.com>> wrote:
>
>     On 02/01/2017 10:22 AM, deepak dimri wrote:
>
>         Hi All,
>
>         I have two IPA servers - primary and secondary running. the
>         secondary
>         ipa server is installed using ipa replica image of primary.
>         While doing
>         the testing i realised that when i manually shut down my primary ipa
>         server making my secondary server to serve the UI. And now when
>         i try to
>         access user or hosts details using my secondary server then i am
>         getting
>         below error in the UI. I am able to login fine though; it is
>         just that
>         when i double click on host objects then i get the error.
>
>
>           An error has occurred (GATEWAY_TIMEOUT)
>
>
>         I am still trying to troubleshoot as why i am getting timeout
>         error but
>         thought of asking the group here to see if some one can share
>         some pointers
>
>         Many Thanks,
>         Deepak
>
>
>     Hi Deepak,
>
>     please check /etc/ipa/default.conf on the secondary server and check
>     the value of 'xmlrpc_uri'. Maybe it points to the URL of primary
>     server and that's why you get timeouts when it is down.
>
>     Re-setting it to the secondary server itself should fix it.
>
>     --
>     Martin^3 Babinsky
>
>     --
>     Manage your subscription for the Freeipa-users mailing list:
>     https://www.redhat.com/mailman/listinfo/freeipa-users
>     <https://www.redhat.com/mailman/listinfo/freeipa-users>
>     Go to http://freeipa.org for more info on the project
>
>

Adding freeipa-users back to loop.

That is strange, how did you stand up the replica?

You can also inspect /var/log/http/error_log on the replica to see 
whether the commands from the WebUI reach the local HTTP server at all.

-- 
Martin^3 Babinsky




More information about the Freeipa-users mailing list