Reputation: 1622
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 on the server. Will changing the ReceiveTimeout or SendTimeout on the WebHttpRelayBinding have any effect on this, or could it be something else related to the wcf configuration? If not, is there any other way to troubleshoot this problem?
I can post some more code if needed but the setup for the wcf connection is similar (but slightly different) to the wcf relay sample (https://github.com/Azure/azure-relay/blob/master/samples/WCF%20Relay/RelayHttpNoAuth/Service/Program.cs):
host.AddServiceEndpoint(
GetType(),
new WebHttpRelayBinding(
EndToEndWebHttpSecurityMode.None,
RelayClientAuthenticationType.None) {IsDynamic = true},
httpAddress)
.EndpointBehaviors.Add(
new TransportClientEndpointBehavior(
TokenProvider.CreateSharedAccessSignatureTokenProvider(listenToken)));
host.Open();
Edit: This ended up being the cause of why the requests were timing out. It really wasn't directly related to Azure Service Bus at all.
Upvotes: 0
Views: 618