Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Gest OS 4.19 and SSLOffloading dose not work #17

Closed
takekazuomi opened this issue Apr 26, 2015 · 5 comments
Closed

Gest OS 4.19 and SSLOffloading dose not work #17

takekazuomi opened this issue Apr 26, 2015 · 5 comments

Comments

@takekazuomi
Copy link
Contributor

I have problems similar to #16 .

Cause seems is that ARR can not be installed.
I determine to continue

The excerpt of the log below

% ROLEROOT% \ plugins \ WebDeploy \ WebpiCmd.exe / Install / accepteula / Products: ARR >> logs.txt 2> & 1
The license agreement to 'URL Rewrite 2.0' is available at 'http://download.microsoft.com/download/6/9/C/69C1195A-123E-4BE8-8EDF-Starting Installation
Started downloading products...
Started downloading: 'Web Farm Framework 1.1'
Downloaded: 'Web Farm Framework 1.1'
Started downloading: 'External Cache 1.0'
Started installing Products... 
Started installing: 'Web Farm Framework 1.1'
Downloaded: 'External Cache 1.0'
Install completed (Success): 'Web Farm Framework 1.1'
Web Farm Framework 1.1 : Installed
Started downloading: 'Hotfix for External Cache 1.0'
Started installing: 'External Cache 1.0'
Downloaded: 'Hotfix for External Cache 1.0'
Started downloading: 'URL Rewrite 2.0'
Install completed (Success): 'External Cache 1.0'
External Cache 1.0 : Installed
Started installing: 'Hotfix for External Cache 1.0'
Downloaded: 'URL Rewrite 2.0'
Started downloading: 'Application Request Routing 2.5'
Install completed (Success): 'Hotfix for External Cache 1.0'
Hotfix for External Cache 1.0 : Installed
Started installing: 'URL Rewrite 2.0'
Downloaded: 'Application Request Routing 2.5'
Started downloading: 'KB2589179 for Application Request Routing 2.5'
Downloaded: 'KB2589179 for Application Request Routing 2.5'
Started downloading: 'Application Request Routing 2.5 with KB2589179'
Downloaded: 'Application Request Routing 2.5 with KB2589179'
Install completed (Failure): 'URL Rewrite 2.0'
UrlRewrite2 : Failed.
A newer version of IIS URL Rewrite Module 2 was found on this machine.
DependencyFailed: Application Request Routing 2.5
DependencyFailed: KB2589179 for Application Request Routing 2.5
DependencyFailed: Application Request Routing 2.5 with KB2589179
Verifying successful installation...
Web Farm Framework 1.1                             True
External Cache 1.0                                 True
Hotfix for External Cache 1.0                      True
URL Rewrite 2.0                                    False
    Log Location: D:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\Web Platform Installer\logs\install\2015-04-26T01.37.50\rewrite_amd64_en-US.txt
Application Request Routing 2.5                    False
KB2589179 for Application Request Routing 2.5      False
Application Request Routing 2.5 with KB2589179     False
Install of Products: FAILURE
@takekazuomi
Copy link
Contributor Author

Additional Information

  1. Default Web Sites is stoped.
  2. Url Rewrite setting is looks like fine.

2

@takekazuomi
Copy link
Contributor Author

The Guest OS 4.19, need a work-around below.
I can not understand why this is necessary.

  1. copy webpicmd.exe from my local webpi 5.0 directory.
  2. change appdata directory for avoid webpicmd log write error.
  3. start was and w3svc

I modified ConfigureARR.cmd for fix it.

@rem check if running in emulator , if yes then ignore session affinity settings silently
if "%EMULATED%"=="true" goto Exit

@rem Installing ARR
@rem https://nemetht.wordpress.com/2013/02/27/web-platform-installer-in-windows-azure-startup-tasks/
mkdir %TEMP%\AppData
reg add "hku\.default\software\microsoft\windows\currentversion\explorer\user shell folders" /v "Local AppData" /t REG_EXPAND_SZ /d "%TEMP%\AppData" /f
%ROLEROOT%\approot\.arrconfig\WebpiCmd.exe /Install /accepteula /Products:ARR /log:%TEMP%\arrinstall.log >> logs.txt 2>&1
rem %ROLEROOT%\plugins\WebDeploy\WebpiCmd.exe /Install /accepteula /Products:ARR >> logs.txt 2>&1

@rem Settings W3SVC startup mode to auto
SC Config W3SVC Start= Auto >> logs.txt 2>&1

@rem calling session affinity agent
start "ARRAgent" "%SystemRoot%\System32\cmd.exe" /c "1>>log2.txt 2>&1 %ROLEROOT%\approot\.arrconfig\ARRAgent.exe %*"

%ROLEROOT%\approot\.arrconfig\ARRAgent.exe -blockstartup >> logs.txt 2>&1

net start was  >> logs.txt 2>&1
net start w3svc  >> logs.txt 2>&1

:Exit
exit 0

@martinsawicki
Copy link
Contributor

thanks for investigating this. This is a known problem that started occurring a few days ago because one of the dependency downloads for the ARR module that we rely on for Session Affinity and SSL Offloading (the URL Rewrite module) was mistakenly published incorrectly. Microsoft has been working on fixing that issue, so soon the problem should just disappear.
Having said that, we are indeed implementing a similar workaround in the upcoming May 1st update to the Azure Toolkit for Eclipse to help protect from such a failure in the future.

@takekazuomi
Copy link
Contributor Author

@martinsawicki I would like to thank you for quick answer.
This problem is serious. We need Gest OS 4.19, because it contains important security fixes.
However, it has become more complex subsequent to OS 4.19 for this problem.
Once you fix is released, I will check.

@takekazuomi
Copy link
Contributor Author

@martinsawicki I was confirmed. It is working correctly.thank you.

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

No branches or pull requests

2 participants