Azure / service-fabric-mesh-preview

Service Fabric Mesh is the Service Fabric's serverless offering to enable developers to deploy containerized applications without managing infrastructure. Service Fabric Mesh , aka project “SeaBreeze” is currently available in private preview. This repository will be used for tracking bugs/feature requests as GitHub issues and for maintaining the latest documentation.
MIT License
83 stars 10 forks source link

UDP message not arriving on service on Azure #374

Open clintsinger opened 5 years ago

clintsinger commented 5 years ago

I am currently exploring SFM and as part of that I have a mesh service that opens port 90 and receives a string via UDP and then echo's it back to the sender. This scenario runs on my local machine where the sender and the SFM containerized service are on the same machine but doesn't work when I try that same sender to the same service hosted in Azure SFM.

I have a couple services as part of the application and the HTPP ones are able to be receive and respond to an external request but the UDP one doesn't do anything. It should log that it received a message in the docker log but it only has the messages that I added to indicate that the service started.

The UdpClient in the service is binding to 0.0.0.0:90 so should theoretically pick up the message.

Is there a reason why the service works on my local machine but is prevented from working in Azure with the same configuration?

Cheers, Clint

mattrowmsft commented 5 years ago

Are you using a gateway? You could try replacing your image with one of the samples to make sure the configurations are otherwise correct.

clintsinger commented 5 years ago

I just used the most recent VS project template to create the application. There is a gateway.yaml so I would assume there is some kind of gateway involved but the Azure Portal experience for mesh applications is pretty weak so I am not too sure, though the query via the "az mesh gateway..." ( trying to remember the actual command) seems to indicate that there one similar to what is described on my local dev cluster.

To which sample are you referring? The ones that I have seen are 7 months old, don't use gateways and use ingressConfig which is no longer being used despite the documentation still vaguely referencing it.

Get Outlook for Androidhttps://aka.ms/ghei36


From: Matt Trower notifications@github.com Sent: Sunday, July 7, 2019 9:29:57 PM To: Azure/service-fabric-mesh-preview Cc: clintsinger; Author Subject: Re: [Azure/service-fabric-mesh-preview] UDP message not arriving on service on Azure (#374)

Are you using a gateway? You could try replacing your image with one of the samples to make sure the configurations are otherwise correct.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Azure/service-fabric-mesh-preview/issues/374?email_source=notifications&email_token=AALB6CCGM32EZHMDNMU5JYDP6K7ELA5CNFSM4H6W4FD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZL52EY#issuecomment-509074707, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AALB6CBLVBGYGWX3DP6YGIDP6K7ELANCNFSM4H6W4FDQ.

mattrowmsft commented 4 years ago

I realized we aren't able to support UDP traffic currently with how things are configured. @arturenault this is an interesting scenario to handle with gateways. You can't rely on Azure LB heartbeats to help with any routing decisions.