This project is read-only.


Problems publishing to Azure


I've pulled latest commit (c7fbd87fa39f) and in addition to that I've updated references to azure sdk 2.2. However when I am trying to publish it to azure it takes very long time and at the end it fails. When looked in IIS manager there is no site created.
RunRulesConfigurator.log shows following error:
Fri 01/17/2014 15:28:06.44 
RulesConfigurator.exe Information: 0 : RulesConfigurator (Version: Reading routing rules configuration from storage account []. Comparing to cached version at [C:\Resources\directory\f7****************************fff.Router.ConfigurationCache\GatewayConfiguration.cache]
RulesConfigurator.exe Error: 0 : Failed to update routing rules for web server. Details: System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
   at Microsoft.Gateway.Configuration.Role.get_IsArrBaseTarget() in c:\_projects\codeplex\sg\GatewayConfiguration\Role.cs:line 65
   at Microsoft.Gateway.RulesConfigurator.WebsiteConfigurator.ApplyConfiguration(RulesConfiguration configToApply) in c:\_projects\codeplex\sg\RulesConfigurator\WebsiteConfigurator.cs:line 121
[00002196:00003784, INFO ] Initializing runtime.

[00002196:00003784, ERROR] Output endpoint Router:Endpoint1 not found

[00002196:00003784, ERROR] <- RuntimeGetEndpointTargetSet=0x80070490

[00002196:00003784, ERROR] Output endpoint Router:Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpInput not found

[00002196:00003784, ERROR] <- RuntimeGetEndpointTargetSet=0x80070490

Closed Jan 19, 2014 at 10:04 PM by nharris
role config breaking change RedirectBase property renamed to Target to help support A/B testing scenarios


nickharris wrote Jan 19, 2014 at 10:02 PM

Hi bkowalski,

Adding this to original issue report for anyone else who may encounter this. Per your other thread in discussions w/ James:

Yes. We did introduce a breaking change in the configuration to support A/B testing. RedirectBase -> Target. Target can be either a simple string (non-flighted redirection) or an array of objects thus:

Target : [
    Weight : Integer specifying relative distribution of target,
    Redirect : URL/Server name of redirection,
See the Configuration Guide for full details.