Recently, I faced an issue where I got error message below when trying to Publish SharePoint 2013 Workflow. I was getting an issue when tried to publish a simple custom workflow (2013 platform) via SP Designer 2013:
“Microsoft.Workflow.Client.WorkflowCommunicationException: The request was aborted: The request was canceled. —> System.Net.WebException: The request was aborted: The request was canceled. —> System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc that could accept the message. This is often caused by an incorrect address or SOAP action.”
Initially, I try to spend time to troubleshoot the issue and ensure Workflow Manager installed and configured correctly, but everything seems to be OK and even the workflow can be saved.
Solution
Start Windows Services -> Net.Pipe Listener Adapter service
That’s all, hope it helps!