oracle/weblogic-azure

Application gateway can't be accessed after deployment

majguo opened this issue · 1 comments

Problem description

After a successful deployment of WLS cluster, user can't access Azure Application Gateway deployed along with the cluster:

image

How to reproduce

Follow steps below to reproduce the issue:

  1. Open Oracle WebLogic Server Cluster offer
  2. In "Basics" page: Fill in value for the required fields. Click "Next".
  3. In "TLS/SSL Configuration" page: Click "Next".
  4. In "Azure Application Gateway" page:
    1. Select "Yes" for "Connect to Azure Application Gateway?"
    2. Select "Generate a self-signed certificate" for "Select desired TLS/SSL certificate option"
    3. Click "Add" under section "User assigned managed identity" > Select a user-assigned managed identity > Click "Add"
  5. Click "Review + Create"
  6. Click "Create"
  7. Wait until the deployment completes successfully.
  8. Click "Outputs" of the deployment
  9. Copy value of property "appGatewayURL" and open it in the browser. You will see error message "502 Bad Gateway" displayed.

The issue is caused by a known issue of Application Gateway: https://portal.microsofticm.com/imp/v3/incidents/details/299617853/home

Workaround: configure the backend pool with private IP or internal full hostname.