Helpful information to includeProduct name: Gateway
Version: 2.0.1
We have a service fabric service that is experiencing an error health state once upgrading our Gateway package to the new 2.0.1 version that supports wildcards URI's.
We originally got the warning that "Default channel http://+:22000/endpoint/ is using a wildcard URI. Please add an extra channel with a fully qualified non-wildcard URI in order for replies to be transmitted properly"
Our Gateway configuration now looks like this:
public NServiceBus.Config.GatewayConfig GetConfiguration()
{
return new NServiceBus.Config.GatewayConfig
{
TransactionTimeout = TimeSpan.FromMinutes(10),
Channels = new ChannelCollection
{
new ChannelConfig
{
Address = "http://ourdomain.ca:22000/endpoint/",
ChannelType = "http",
Default = true
},
new ChannelConfig
{
Address = "http://+:22000/endpoint/",
ChannelType = "http"
}
}
};
}
Although now we are getting the exception "
Failed to start listener for http://ourdomain.ca:22000/endpoint/ make sure that you have admin privileges". This causes our service to enter an error health state. Oddly enough, it seems like the gateway is open and accepting messages, but the health states are an issue.
I know there was a discussion in the same thread about creating a configuration option for disabling replies in a Gateway, but I'm not sure if that went anywhere.
Any insight is greatly appreciated.