Azure Front door with App Gateway with ASEv3-ILB (services aren't available right now)

Mohamed Elashkr 21 Reputation points
2022-03-24T22:01:59.697+00:00

Hallo,

I use Hub-Spoke architecture to do a request form Azure Front door to App Service over App-Gateway in the middle. The App Service is running in ASEv3-ILB(in Spoke-Vnet). But if i tried to call App Service from Azure Front door, then i actually got this Error "services aren't available right now"

I created Application Gateway in Hub and then created ASEv3-ILB in Spoke and did peering between the both Hub-Spoke. I deployed an App Service with .NET core Web-Application(Web-App) in ASEv3-ILB and want to call the Web-App from Azure Front door over App Gateway but it did not work!

To be clear, i tried those steps until now:

  • i set "Certificate subject name validation" to "disabled " in Azure Front door
  • i configured App Gateway with ASE-ILB without Azure-Front door and used "routable domain name", then it worked and could call my Web-App from App Gateway
  • i used also NSG with App-Gateway subnet and set the necessary inbound-rules(as here: https://learn.microsoft.com/en-us/azure/application-gateway/configuration-infrastructure#network-security-groups) but did not work too. (i tried with and without NSG for App-Gateway Subnet )
  • if i am configuring the App Gateway with ASE-ILB and then configuring App Gateway with Azure-Front door, then it is not possible to call the Web-App in ASE-ILB and have got this Error:
    "Our services aren't available right now
    We're working to restore all services as soon as possible. Please check back soon.
    0c6g8YgAAAAC1GeS+ECSHRYRPvvIMnPQSTVVDMzBFREdFMDMxNQA4ODk4MDU4YS1iOWZhLTQ0YmUtYmE2OC02NjU1ZjE3NDIwYmY="

What could the problem be? What's a easy way of troubleshooting for this error?

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
858 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,217 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mohamed Elashkr 21 Reputation points
    2022-04-12T15:49:55.693+00:00

    Hi @GitaraniSharma-MSFT

    i found the solution for my Problem(503-Error) in my case. The Problem was that i used Self-Signed Certficate on the AppGw-Listner(for testing the concept)

    Solution:
    If the AppGW behind Az-Front Door, then you need a valid certificate from CA on the Https-Listner of AppGW instead of Self-Signed Certificate!
    And may be you to add a "rule" in Az-FD to disable "Accept-Encoding" for requests!
    The Request is working now!

    Here is a clue: https://learn.microsoft.com/en-us/azure/frontdoor/end-to-end-tls

    Thank you for your Support,
    Best regards,


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.