Custom domain on container apps gives ERR_CONNECTION_RESET error

Adam Jachocki 46 Reputation points
2022-12-22T10:30:47.793+00:00

Hi, I am fighting this second day and run out of ideas.

I have creates Azure Container Application and wanted to provide my custom domain for it. So I bought a domain at domain registrator, changed DNS records and stuck. The result is that when I go at: http://sevigo.eu (without SSL) it gives me 404 error. If I go through SSL: https://sevigo.eu it gives me ERR_CONNECTION_RESET.

What I've done is:

  • create Let's Encrypt certificate in my registrator for domains: mail.sevigo.eu, sevigo.eu and www.sevigo.eu
  • paste certificate key and certificate itself into pem file like: -----BEGIN CERTIFICATE-----
    cert content
    -----END CERTIFICATE-----
    -----BEGIN EC PRIVATE KEY-----
    key content
    -----END EC PRIVATE KEY-----
  • changed DNS A record sevigo.eu. to ip provided by Azure
  • added DNS TXT record with name asuid and content provided by Azure

Next

  • go to my container app in azure
  • go to Custom Domains
  • Add custom domain
  • type domain name: sevigo.eu and import PEM file that was created earlier.

All the validation passed, everything looks ok to me:
273237-image.png

273302-image.png

but now when I try to ping sevigo.eu all I get is time out. But ping shows valid IP address.
When I type https://sevigo.eu from browser (InPrivate) I get ERR_CONNECTION_RESET. When I try to call it from Postman - the same: ECONNRESET

This is what my DNS records look like:
273284-image.png

I really don't know what can I do more... My domain registrator says that it should be something on Azure site.
What can be important, if I type IP given from Azure to my browser: 20.67.141.16 I am also getting "Connection reset" error. But when I type original address: https://sevigo.purpleisland-63e8604e.northeurope.azurecontainerapps.io I am getting the real site.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,930 questions
{count} vote

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.