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

Error downloading the template #8288

Closed
tarastclair opened this issue Sep 28, 2020 · 13 comments
Closed

Error downloading the template #8288

tarastclair opened this issue Sep 28, 2020 · 13 comments

Comments

@tarastclair
Copy link

Azure Quickstart

Issue Details

Automatically redirected to an error when attempting to deploy (was not happening last week). Error is:

There was an error downloading the template from URI 'https://github.com/Azure/azure-quickstart-templates/blob/master/sas-viya/azuredeploy.json'. Ensure that the template is publicly accessible and that the publisher has enabled CORS policy on the endpoint. To deploy this template, download the template manually and paste the contents in the 'Build your own template in the editor' option below.

Repro steps

  1. Navigate to https://azure.microsoft.com/en-us/resources/templates/sas-viya/ then click the "Deploy to Azure" button
@tarastclair
Copy link
Author

Interestingly, we just found that if you refresh the page after being redirected to the error as described, you will be presented with another screen with a "Select a template" tab. There is a dropdown on that page and if you search for "sas" you will see "sas-viya" ... if you select that template you will be presented with the list of parameters as expected.

@Yvand
Copy link
Contributor

Yvand commented Oct 5, 2020

I also get this error since today, and it probably affects all templates.
It's caused by the format of query string in "Deploy to Azure" button: Currently query string uses this format:
https://github.com/Azure/azure-quickstart-templates/blob/master/sharepoint-adfs/azuredeploy.json
But somehow now Azure seems to require this format:
https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/sharepoint-adfs/azuredeploy.json

@andybouts
Copy link
Contributor

andybouts commented Oct 6, 2020

I agree @Yvand , I documented in my notes that it should always be this (at least until something changes and it’s not):
https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/sas-viya/azuredeploy.json

My previous notes from my previous deployment has the same URI that @tarastclair mentioned:
URI 'https://github.com/Azure/azure-quickstart-templates/blob/master/sas-viya/azuredeploy.json'

@andybouts
Copy link
Contributor

Hey @Yvand and @tarastclai, this seems to be working as expected now.

@Yvand
Copy link
Contributor

Yvand commented Oct 13, 2020

Nope, I just tested and I keep getting the error on all the templates (I tested 4 randomly).

@andybouts
Copy link
Contributor

andybouts commented Oct 13, 2020 via email

@andybouts
Copy link
Contributor

andybouts commented Oct 13, 2020 via email

@bmoore-msft
Copy link
Collaborator

ACOM had a bug - I think it's been fixed now

@andybouts
Copy link
Contributor

andybouts commented Oct 22, 2020 via email

@bmoore-msft
Copy link
Collaborator

Thanks for confirming...

@DeanGross
Copy link

DeanGross commented May 11, 2021

I am getting this error for a template in another repro (Azure/Azure-Sentinel)

@Yvand
Copy link
Contributor

Yvand commented May 11, 2021

@DeanGross do you mean https://azure.microsoft.com/en-us/resources/templates/azure-sentinel/ ?
I just tested it and it works fine

Project-JW pushed a commit to Project-JW/Azure-Quickstart-Templates that referenced this issue Jul 7, 2021
@hardikhari96
Copy link

ACOM had a bug - I think it's been fixed now

Currently I faced this same issue,

My steps

  1. visited https://hub.docker.com/editions/community/docker-ce-azure
  2. clicked on azure container template
  3. seen too many redirects
  4. after many redirect I landed on azure page where I got this error
  5. after I refreshed the page, I got template 😊 means issue is still there

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

No branches or pull requests

6 participants