Mod_proxy unable to connect to backend server having dynamic IP changes, [proxy:error] [pid xxxxxx:tid xxxxxxx] (70007)The timeout specified has expired: AH00957: HTTPS: attempt to connect to X.X.X.X:443 (abc.com) failed

Solution Verified - Updated -

Issue

  • Reverse Proxy failed to connect to backend Cloud server.
  • Apache (mod_proxy) connecting to old Cloud IP which changed dynamically.
  • Apache is able to connect only after a restart is taken.

    [proxy:error] [pid xxxxxx:tid xxxxxxx] (70007)The timeout specified has expired: AH00957: HTTPS: attempt to connect to X.X.X.X:443 (api-abc.com) failed
    
  • Due to disaster recovery, the backend data center was switched, however Apache frontend failed to connect to it.

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 5,6,7,8,9
  • Red Hat Software Collections (RHSCL)
  • Red Hat JBoss Core Services (JBCS)
  • Apache httpd
    • 2.2, 2.4
  • mod_proxy

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content