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

Users/suaggar/webdeploytlsguidancemsg #6779

Merged
merged 3 commits into from
Mar 26, 2018

Conversation

SumiranAgg
Copy link
Contributor

Guidance message for TLS error in web deploy

@SumiranAgg SumiranAgg added Area: Release Area: AzureAppService Label to monitor Azure App Service issues labels Mar 23, 2018
@@ -179,6 +179,7 @@
"FailedToApplyTransformationReason1": "1. Whether the Transformation is already applied for the MSBuild generated package during build. If yes, remove the <DependentUpon> tag for each config in the csproj file and rebuild. ",
"FailedToApplyTransformationReason2": "2. Ensure that the config file and transformation files are present in the same folder inside the package.",
"AutoParameterizationMessage": "ConnectionString attributes in Web.config is parameterized by default. Note that the transformation has no effect on connectionString attributes as the value is overridden during deployment by 'Parameters.xml or 'SetParameters.xml' files. You can disable the auto-parameterization by setting /p:AutoParameterizationWebConfigConnectionStrings=False during MSBuild package generation.",
"PackageDeploymentFailed": "Failed to deploy web package to IIS website."
"PackageDeploymentFailed": "Failed to deploy web package to IIS website.",
"Updatemachinetoenablesecuretlsprotocol" : "Stronger security protocol might be required. Please make sure the machine is using TLS 1.1 or higher. Check the link for more information https://support.microsoft.com/en-us/help/3206898/enabling-iis-manager-and-web-deploy-after-disabling-ssl3-and-tls-1-0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove 'please'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed error message

@@ -195,6 +195,9 @@ export function redirectMSDeployErrorToConsole() {
else if(errorFileContent.indexOf("FILE_IN_USE") !== -1) {
tl.warning(tl.loc("Trytodeploywebappagainwithrenamefileoptionselected"));
}
else if(errorFileContent.indexOf("Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.") != -1){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we reduce the length of the hard-coded message?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parsing just keyword now

@@ -179,6 +179,7 @@
"FailedToApplyTransformationReason1": "1. Whether the Transformation is already applied for the MSBuild generated package during build. If yes, remove the <DependentUpon> tag for each config in the csproj file and rebuild. ",
"FailedToApplyTransformationReason2": "2. Ensure that the config file and transformation files are present in the same folder inside the package.",
"AutoParameterizationMessage": "ConnectionString attributes in Web.config is parameterized by default. Note that the transformation has no effect on connectionString attributes as the value is overridden during deployment by 'Parameters.xml or 'SetParameters.xml' files. You can disable the auto-parameterization by setting /p:AutoParameterizationWebConfigConnectionStrings=False during MSBuild package generation.",
"PackageDeploymentFailed": "Failed to deploy web package to IIS website."
"PackageDeploymentFailed": "Failed to deploy web package to IIS website.",
"Updatemachinetoenablesecuretlsprotocol" : "Stronger security protocol might be required. Please make sure the machine is using TLS 1.1 or higher. Check the link for more information https://support.microsoft.com/en-us/help/3206898/enabling-iis-manager-and-web-deploy-after-disabling-ssl3-and-tls-1-0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep this as forward link. That will help us to redirect to a different link (if required) later.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replaced by forward link

@SumiranAgg SumiranAgg merged commit 0fb6f81 into master Mar 26, 2018
SumiranAgg added a commit that referenced this pull request Mar 26, 2018
SumiranAgg added a commit that referenced this pull request Mar 26, 2018
* ms deploy guidance message for TLS support

* error message change

* addressing PR comments
SumiranAgg added a commit that referenced this pull request Mar 27, 2018
* Users/suaggar/webdeploytlsguidancemsg (#6779)

* ms deploy guidance message for TLS support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: AzureAppService Label to monitor Azure App Service issues Area: Release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants