Closed ekyros closed 6 years ago
I got the same issue.
"Error: The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used."
What type of application are you deploying? Node, .NET Core, Static HTML?
And are you deploying to a Windows or Linux Web App in Azure?
Angular spa from vs code. Windows server. I get the error when deploying to the production slot. I just started getting the error today. I can deploy to a “stage” deployment slot and then swap slots. Strange…
Brian Paul | President | 469-293-3079 x100 [EK-LogoResizedForEmail]
From: Eric Jizba notifications@github.com Sent: Friday, April 6, 2018 11:47 AM To: Microsoft/vscode-azureappservice vscode-azureappservice@noreply.github.com Cc: Brian A. Paul brianp@ekyros.com; Author author@noreply.github.com Subject: Re: [Microsoft/vscode-azureappservice] Cannot deploy my web application. I get the following error: (#388)
What type of application are you deploying? Node, .NET Core, Static HTML?
And are you deploying to a Windows or Linux Web App in Azure?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/vscode-azureappservice/issues/388#issuecomment-379310902, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVfA-JrIe-Av9mZDS6G-7dv4VhtdBszfks5tl5wWgaJpZM4TJ7mJ.
@ekyros, I've been trying to reproduce your bug, but I haven't succeeded yet. Here's what are the steps that I've tried:
1.) Created a new Windows Web App
2.) Cloned this Angular SPA repo (https://github.com/gothinkster/angular-realworld-example-app)
3.) Ran npm install
, ng serve
, and ng build
4.) Deploy the "dist" folder via "zipdeploy"
Are there any steps that you are doing differently that might help me repro? Some other questions:
Configure Deployment Source
.same issue here
@ekyros @Globalrun @ninianh
We've been trying to repro this issue, but we haven't had any success yet. It would be awesome if anybody could help us pinpoint this problem by trying to deploy using one of two methods:
If you have the Azure CLI installed, could you try to deploy to your web app using the following command:
az webapp deployment source config-zip --name --resource-group --src [--slot]
(reference: https://docs.microsoft.com/en-us/cli/azure/webapp/deployment/source?view=azure-cli-latest#az-webapp-deployment-source-config-zip)
If you could install a previous version of the Azure App Service Extension by manually installing this .vsix (https://github.com/Microsoft/vscode-azureappservice/releases/download/v0.6.1/vscode-azureappservice-0.6.1.vsix) and then attempt a deploy, it would tell us if the breaking changes are in v0.7.0 or if the changes were introduced somewhere else.
We're really sorry if this is blocking your web apps. If you need to update your web app immediately, please try to use the Local Git Deployment Source or connect it to a GitHub repository. This can be done in the "Configure Deployment Source" context action.
Hi @nturinski
I tried method 1 and it works. Thank you for your help. But i really like using the legacy method that just right click on 'dist' folder and click deploy.
Here is the steps to repro.
Click Deploy on confirm modal.
I have 2 web apps with difference errors. Both worked before
The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.
Hostname/IP doesn't match certificate's altnames: "Host: www.mysite.com. is not in the cert's altnames: DNS:*.azurewebsites.net, DNS:*.scm.azurewebsites.net, DNS:*.azure-mobile.net, DNS:*.scm.azure-mobile.net, DNS:*.sso.azurewebsites.net"
@ninianh Thanks for your help in testing this issue. I'm able to repro this issue on a Linux container with a custom domain now as well. I appreciate your time and hope to resolve this issue soon!
@ekyros @Globalrun @ninianh We released a new version of the extension today that will hopefully resolve this issue. Please give it a try and let us know if you are still having issues deploying.
Thanks again for your assistance in tracking down the issue!
Sorry, I was out last week. I installed the VS Code update and deployed my SPA/Angular app and it worked great. No error. Thank you!
Brian Paul | President | 469-293-3079 x100 [EK-LogoResizedForEmail]
From: Nathan notifications@github.com Sent: Friday, April 13, 2018 5:17 PM To: Microsoft/vscode-azureappservice vscode-azureappservice@noreply.github.com Cc: Brian A. Paul brianp@ekyros.com; Mention mention@noreply.github.com Subject: Re: [Microsoft/vscode-azureappservice] Cannot deploy my web application. I get the following error: (#388)
@ekyroshttps://github.com/ekyros @Globalrunhttps://github.com/Globalrun @ninianhhttps://github.com/ninianh We released a new version of the extension today that will hopefully resolve this issue. Please give it a try and let us know if you are still having issues deploying.
Thanks again for your assistance in tracking down the issue!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/vscode-azureappservice/issues/388#issuecomment-381273792, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVfA-JWfEWye4guNO56OdnU-rDDdmW61ks5toSPSgaJpZM4TJ7mJ.
@nturinski @ekyros New version, it works for me too. Thanks team.
@ekyros @ninianh I'm glad that this resolved your issue. I'll go ahead and close this.
Thanks for your patience in this and for using the App Service Extension!
Thank you! I appreciate the quick resolution. You guys are awesome!
Brian Paul | President | 469-293-3079 x100 [EK-LogoResizedForEmail]
From: Nathan notifications@github.com Sent: Monday, April 16, 2018 5:36 PM To: Microsoft/vscode-azureappservice vscode-azureappservice@noreply.github.com Cc: Brian A. Paul brianp@ekyros.com; Mention mention@noreply.github.com Subject: Re: [Microsoft/vscode-azureappservice] Cannot deploy my web application. I get the following error: (#388)
@ekyroshttps://github.com/ekyros @ninianhhttps://github.com/ninianh I'm glad that this resolved your issue. I'll go ahead and close this.
Thanks for your patience in this and for using the App Service Extension!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/vscode-azureappservice/issues/388#issuecomment-381771730, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVfA-MTR0-2psP-F5qu5fWmB6kJ1yrMRks5tpRzSgaJpZM4TJ7mJ.
Repro steps: