Skip to content
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

Create or Update a Traffic Manager Azure Endpoint #46598

Closed
Zerbax opened this issue Jan 22, 2020 · 12 comments
Closed

Create or Update a Traffic Manager Azure Endpoint #46598

Zerbax opened this issue Jan 22, 2020 · 12 comments

Comments

@Zerbax
Copy link

Zerbax commented Jan 22, 2020

Hello,
when i try to add a second endpoint to my traffic manager profile, i have this error:
Some of the provided Azure Website endpoints are not valid: Traffic manager configuration is not valid because one or more domains do not belong to subscription "XXXXXXXXXXXXX": oris-test-1.azurewebsites.net, oris-web-test-2.azurewebsites.net

But it's not true, the webapps are in the same subscription.
The profile is configured in priority mode.
I don't understand what is wrong, can someone help me, please?

Thanks


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@msrini-MSFT
Copy link
Contributor

@Zerbax , Please try upgrading your App Service to Standard Tier to resolve your issue.

Reference: https://azure.microsoft.com/en-us/pricing/details/app-service/plans/

@Zerbax
Copy link
Author

Zerbax commented Jan 22, 2020

@msrini-MSFT The plan is already Standard S1..

@msrini-MSFT
Copy link
Contributor

Are those two web apps belongs to the same subscription ?
Are those two Web Apps belongs to the same region ?

@Zerbax
Copy link
Author

Zerbax commented Jan 22, 2020

Yes, same region and same subscription.

@msrini-MSFT
Copy link
Contributor

Can you try adding endpoint as type "External endpoint" ?

@Zerbax
Copy link
Author

Zerbax commented Jan 22, 2020

I add the endpoint as "External", but now this endpoint doesn't work,
calling the trafficmanager url in browser the response is "404 Web Site non found".

@msrini-MSFT
Copy link
Contributor

The error message is incorrect - the issue here is that you cannot use two webapps in the same region as AzureEndpoints

@Zerbax
Copy link
Author

Zerbax commented Jan 23, 2020

ok i understand,
i clarify my profile configuration now:

  • traffic manager profile in resource group1 in region1
  • endpoint1 as type Azure endpoint in resource group1 in region1, with priority 1
  • endpoint 2 as type External endpoint in resource group2 in region2, with priority 2

Calling the traffic manager response endpoint 1.
I change priority endpoint 1 from 1 to 2, and priority endpoint 2 from 2 to 1.
Calling the traffic manager response again endpoint 1.
I try to disable endpoint 1, but response again endpoint 1.
So I try to delete endpoint 1, but in this way the response is an error 404 website not found.

Finally endpoint 2 is never responding.
What's wrong in my configuration?

Anyway thanks

@msrini-MSFT
Copy link
Contributor

FAQ for your reference: https://docs.microsoft.com/en-us/azure/traffic-manager/traffic-manager-faqs#can-i-use-traffic-manager-with-more-than-one-web-app-in-the-same-region

The moment you switch the endpoint to External endpoints, you get a 404 as the hostname will be with FQDN of x.trafficmanager.net and your Web App expects x.azurewebsites.net in the hostname.

@msrini-MSFT
Copy link
Contributor

@Zerbax , do you have any update in this issue?

@msrini-MSFT
Copy link
Contributor

@Zerbax , please tag me if you have any further questions.

@Ceyhun-Kirmizitas
Copy link

Traffic Manager Profile, If you choose "Azure endpoint" then Web App 1 and Web App 2 need to be in different regions.
or
You may add one of these Web App as "External Endpoint"
Hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants