Questions tagged [azure-servicebusrelay]

The Service Bus Relay Azure service enables developer to build hybrid applications that run in both a Windows Azure data center and user's own on-premises enterprise environment.

The Service Bus relay facilitates integration by enabling developer to securely expose Windows Communication Foundation (WCF) services that reside within a corporate enterprise network to the public cloud, without having to open up a firewall connection or requiring intrusive changes to a corporate network infrastructure.

The Service Bus relay allows developer to host WCF services within existing enterprise environment. Developer can then delegate listening for incoming sessions and requests to these WCF services to the Service Bus running within Windows Azure. This enables developer to expose these services to application code running in Windows Azure, or to mobile workers or extranet partner environments.

The Service Bus allows developer to securely control who can access these services at a fine-grain level. It provides a powerful and secure way to expose application functionality and data from your existing enterprise solutions and take advantage of it from the cloud.

See also the official set of samples for the Azure Service Bus Relay service.

101 questions
0
votes
2 answers

Azure Servicebus WCF Relay, Address is already in use by an existing listener with different settings

I'm trying to get an Azure Servicebus WCF relay to work following this tutorial: https://learn.microsoft.com/en-us/azure/service-bus-relay/service-bus-relay-tutorial While following the steps I ran into this exception:…
Jean-Paul Smit
  • 300
  • 4
  • 17
0
votes
1 answer

How to listen self-hosted Azure Relay endpoint in both HTTP & HTTPS?

I'm trying to use Azure WCF Relays, creating my listener via a ServiceHost instance. It works well, but I can't make it work in both HTTP and HTTPS. I know it seems strange but that's a requirement I have. Here is my code: Uri httpUri =…
0
votes
1 answer

Can I send encrypted binary traffic to a WCF relay? If not, why not?

I am trying to use an Azure WCF Relay to send an encrypted AS2 message to a BizTalk WCF endpoint hosted on-premises. I've confirmed that the relay is connected on the receiver side and I've been able to send it junk text-based messages and confirmed…
Tom W
  • 5,108
  • 4
  • 30
  • 52
0
votes
1 answer

Single or (very, very) Many IPs Required to Whitelist Azure Service Bus connectivity?

https://blogs.msdn.microsoft.com/servicebus/2017/11/07/open-port-requirements-and-ip-address-whitelisting/ Above link suggests you can white-list a single IP for Azure Service Bus. We are seeing when we connect to $XXX.servicebus.windows.net, that…
0
votes
1 answer

Microsoft.ServiceBus.InvalidRequestException: The connection was failed. Cache refresh timed out

Microsoft.ServiceBus.InvalidRequestException: The connection was failed. Cache refresh timed out. Server stack trace: at Microsoft.ServiceBus.RelayedSocketInitiator.Connect(Uri uri, TimeSpan timeout) at…
0
votes
1 answer

What would cause AmqpException in azure wcf relay?

I am logging the connection status events with the wcf relay, and I'm seeing something like this in the logs. 1/26 06:47:12 ERROR Service Bus ConnectionStatus: 'Reconnecting' Event. [(null)][42] LastError:…
CShark
  • 1,562
  • 1
  • 16
  • 27
0
votes
1 answer

What is the standard way to handle faults in a wcf connection with a retry mechanism, specifically for azure service bus?

I have looked through the sample code here here to understand how to handle connectivity issues with the azure relay. They use an exponential backoff mechanism in Microsoft.Practices.TransientFaultHandling to handle the recreation of a faulted…
CShark
  • 1,562
  • 1
  • 16
  • 27
0
votes
1 answer

verify or debug azure hybrid connection

I've got an Azure Function running with a Hybrid Connection to an on premise server. Everything works nicely. In the future we will have multiple hybrid connections in multiple locations, and its possible they might have the same server name and…
0
votes
2 answers

SAS token fails when upgrading from ServiceBus 3.4.3 to 4.1.3

I have just tried to upgrade to version 4.1.3 of serviceBus and now my SAS generated token's fail. I am using these tokens to connect with a WCF relay in servicebus. The error I get is "Time-out interval must be less then 2^32-2" The token's…
0
votes
1 answer

How many hybrid connections does Azure relay support

I find that I can use Azure relay to set up a bidirectional connection between cloud service and local service. But I can not find any information about the question "how many hybrid connections does Azure relay support?" in azure website. Does…
Crazy Crab
  • 694
  • 6
  • 16
0
votes
1 answer

Azure Relay Hybrid Connection Scale Out

Given the standard hybrid OnPrem/Cloud scenario where we have multiple OnPrem clients connecting to a service in the cloud, how can we service them all from a scaled out service (i.e. multiple listeners servicing multiple clients)? Say we have a…
pseabury
  • 1,615
  • 3
  • 16
  • 30
0
votes
1 answer

How to relay http web request to on premise api based on web sockets

I have to implement an arquitecture for sorting out the problem represented by the following picture: Cloud to On-Premise API Basically, I have to deploy a public API in the cloud (Azure), but the data are located in on-premise machines. The…
0
votes
0 answers

504 Gateway timeout when using Azure Service Bus Relay to serve static files

I am serving static files (a web page) over a wcf azure relay, but one (or more) of the js files will return 504 gateway timeout, and the html page takes a while to load. However, there were no issues when serving the files directly through a port…
CShark
  • 1,562
  • 1
  • 16
  • 27
0
votes
1 answer

Azure Service Bus Relay Hybrid Connections load balancing

Relay Hybrid Connections is one of the options to grant access to a RESTful web services hidden behind a firewall. I was wondering how the load balancing would work. There are multiple stateless instances of this web service: Would each of them…
Helikaon
  • 1,490
  • 13
  • 30
0
votes
1 answer

Setup a Azure Service Fabric Listener for Service Bus Relay Binding

I want to setup a Azure Service Bus Relay between my Service Fabric cluster hosted in Azure and my Private Network. I can't get the configuration of the Service Bus Relay to work from a Service Fabric WCF service. protected override…