Error occurred while publishing workflow

Hello,
I have been trying to create a list Workflow on SharePoint Designer 2013 but when I try saving at the end of my creation, I get a Workflow error as shown below. What are your ideas on solving this error? Waiting for your suggestions experts.

Error – Errors were found when compiling the workflow. The workflow files were saved but cannot be run.
Microsoft.Workflow.Client.WorkflowCommunicationException: The request was aborted: The request was canceled. Client ActivityId: 7a290e9c-0917-7088-afc4-e65fd25c5c0b. —> System.Net.WebException: The request was aborted: The request was canceled. —> System.ServiceModel.ServiceActivationException: The requested service, 'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc' could not be activated. See the server's diagnostic trace logs for more information.
Server stack trace:
