Hello **Ian Lyons
**I understand you're experiencing a 502 Bad Gateway error in the Azure Playwright Testing service, which indicates that the underlying certificate has expired. For further investigation, please provide the following information:
Could you try bypassing the front door and access your backend directly, and let me know if it works?
When accessing the front door URL, are you seeing the 502-status code, or does the error appear when you access the backend directly through the front door?
Usually, 502 and 503 errors occur when the backend does not respond to the front door. If the backend takes too long to respond, these issues may arise.
In the front configuration, if you have set up a custom domain, a certificate will also be added for HTTPS traffic. Please check whether the certificate has expired.
Additionally, please let me know if the namecheck validation checkbox is enabled or disabled in your front door origin hostname configuration.
You can also collect the tracking reference ID in the access logs when encountering the 502 error. Use this reference ID to check logs in your Azure portal. Please refer to the following document for collecting the logs:
https://learn.microsoft.com/en-us/azure/frontdoor/refstring?source=recommendations&tabs=edge
I have also initiated a private message. Please check it and provide the necessary information so we can discuss further on your concern.
And also check the below document for more understanding:
https://learn.microsoft.com/en-us/azure/frontdoor/troubleshoot-issues
Hope the above answer helps! Please let us know do you have any further queries.
Please do consider to “up-vote” wherever the information provided helps you, this can be beneficial to other community members.