Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Azure relay hybrid connection listener not reestablishing when internet is disrupted

$
0
0

I have CUSTOM azure hybrid connection listener service running on premise with below mention code as MSDN suggested, but listener not getting reestablished when on premise INTERNET connectivity get disrupted.

Only 1 out of 10 times, listener getting reestablished with below code, when on premise INTERNET is disrupted

    // Opening the listener establishes the control channel to  
    // the Azure Relay service. The control channel is continuously   
    // maintained, and is reestablished when connectivity is disrupted       
    await listener.OpenAsync(cts.Token);

    //Below delegate not getting called when INTERNET plugged off from 
    //listener running machine
    listener.Offline += listener_Offline;

What changes required to reestablish listener to azure hybrid connection 10 out of 10 times?. Please advice.


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>