-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Container Apps as Azure Traffic Manager external endpoint doesn't work #537
Comments
Hi Karen! Troubleshooting question, is your ingress properly set up? Documentation for ingress: https://learn.microsoft.com/en-us/azure/container-apps/ingress?tabs=bash |
Hi @SophCarp! Thank you for the response. Yes, of course. It is available from internet. Just deployed this sample from my repo: https://ctap-shoppingapp-ui-sa1.kindbush-93c4adc7.francecentral.azurecontainerapps.io/ You can see all my settings here. |
@KarenTazayan hmmm, I'm not sure I have access. Neither link worked for me. Could you check that I can access the repo? Thank you! |
@SophCarp it doesn't matter. I regenerate it for each clean deployment. One more new link: |
Traffic Manager is a “simple” DNS-based traffic load balancer. The doc states that “Traffic Manager uses DNS to direct client requests to the appropriate service endpoint based on a traffic-routing method“. I guess you haven't enabled insecure connections to your Container App. (this can be configured in the ingress blade of your Container App) Things to consider:
I haven’t got a demo ready but here is a simple walkthrough how to use Traffic Manager with Container Apps.
Hope this helps. One option to improve this journey might be to integrate some of those steps in a Container Apps managed environment directly. But I don’t know if anything like this is planned in the future. |
Thanks @sebafo! @KarenTazayan Does their comment help? |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
@sebafo thank you very much for the detailed answer!
I did it before writing this topic.
Also, I did it before writing this topic.
The point above is essential for me (that is the issue for me and the reason that I wrote this topic) because I do different demos and workshops and it's inconvenient to register different kinds of domains and buy certificates for those purposes. As I understand the custom DNS name and certificate are required otherwise it won't work. Am I, right? |
Yes, I don't know any other solution at the moment. The certificate and URL challenge appears regularly in the Traffic Manager context. Some managed services help to abstract this and provide additional options to mitigate the issue on the customer side. For example in an Azure App Service you can add a binding to the Traffic Manager URL in your custom domains and let the service create a certificate for the URL. After this step you can use the Traffic Manager domain to access your App Service without an invalid certificate error. Great for demo purposes, but perhaps not the best solution for a real world scenario to use the trafficmanager.net domain. That isn't possible for Container Apps (yet?). A feature request could be: Edit: |
It will be great. Thank you for the assistance! |
This can be tracked on our official roadmap in issue #607 |
Facing the same here and unfortunately as per described above ^ we need to delegate all DNS shit to azure. so basically unusable if you use CloudFlare and can't leave. |
@sebafo, is there any change in the suggested workaround/setup with the preview of managed certificates? My domain isn't hosted in Azure DNS so I think my issue is coming from this step in particular:
I have set up a CNAME to my |
I’m also facing the same issue when I try to add the endpoint of an Azure Static Web App and Azure Container App into Azure Traffic Manager; it’s not working. Despite seeing ‘https’ in ‘https://signa-dart-container-app.thankfulhill-c740cb1e.australiaeast.azurecontainerapps.io’, it’s still not functioning. However, if I use another domain that is hosted on a different hosting service, it works. From a user’s perspective, it’s unacceptable that the Azure FQDN is useless within Azure services. There seems to be no point in this. |
I cannot run it as an external endpoint with FQDN when using a Container Apps Environment with vnet. I get [HTTP/1.1 404 Not Found] even if the endpoint monitor status is "Online".
Steps to reproduce
Actual behavior
HTTP/1.1 404 Not Found
The text was updated successfully, but these errors were encountered: