The HTTP request has timed out after 200000 milliseconds

Register Workflow Service Timeout

In this post, we’re gonna solve “The HTTP request has timed out after 200000 milliseconds” Workflow Manager Timeout issue that you may face when you register SharePoint Workflow Service in SharePoint 2016 and 2019.

Register-SPWorkflowService: The HTTP request has timed out after 200000 milliseconds.

The HTTP request has timed out after 200000 milliseconds

You might also interest to read How to Configure Workflow Manager for SharePoint 2016?


The HTTP request has timed out after 200000 milliseconds


Register SharePoint Workflow Service Time Out

Registering SharePoint Workflow Service Time Out” issue usually occurs in case of one the below services are stopped:

  • Windows Fabric Host Service.
  • Service Bus Gateway.
  • Service Bus Message Broker.
SharePoint Workflow Manager Services

What’s Windows Fabric Host Service?

Windows Fabric Host Service is a windows service which controls the Windows Fabric process on the current Machine.

Check Windows Fabric Host Service Status

To avoid “The HTTP request has timed out after 200000 milliseconds“, you should make sure the Windows Fabric Host Service is started by doing the following:

Steps
  • Open Services.
  • Search for the “Windows Fabric Host Service” service.
  • Make sure that it’s started and up and running.
  • If it was stopped, start it, else restart it.
Windows Fabric Host Service

What’s Service Bus Gateway?

Service Bus Gateway is a windows service that provides access control, discovery, and routing of Service Bus resources.

Service Bus Gateway

Check Service Bus Gateway Status

The Service Bus Gateway service must be started and running properly to avoid “The HTTP request has timed out after 200000 milliseconds” issue.

Steps
  • Open Services.
  • Search for the “Service Bus Gateway” service.
  • Make sure that it started and up and running.
  • If it was stopped, start it, else restart it.
Start service bus gateway Service

What’s Service Bus Message Broker?

Service Bus Message Broker is a windows service that provides storage and processing for Service Bus messages.

Check Service Bus Message Broker Status

If the Service Bus Message Broker service was stopped or stuck on starting, you will not be able to register the SharePoint Workflow Service properly. So you should make sure that it’s started and running properly by doing the following:

Steps
  • Open Services.
  • Search for the “Service Bus Gateway” service.
  • Make sure that it started and up and running.
  • If it was stopped, start it, else restart it.
Service Bus Message Broker

In my case, the Service Bus Message Broker stuck on starting and I was unable to restart it! so we have solved this issue in details at Service Bus Message Broker failed to start.


Register SharePoint Workflow Service

Once you have ensure that all the above services are up and running, you will be able to register the SharePoint Workflow Manager Service properly.

Register-SPWorkflowService -SPSite https://SiteCollection -WorkflowHostUri https://WorkflowURL:12290
Register Workflow Manager For SharePoint 2016

After registering the SharePoint Workflow Service properly, you should follow the SharePoint Workflow Manager Health Checklist to make sure that the Workflow Manager has been configured correctly.

To re-register Workflow Manager Service, Please check Re-register SharePoint Workflow Manager Service.

Note: The HTTP request has timed out after 200000 milliseconds issue may also occur in case of one of the workflow manager ports are in use or blocked with another program, and to solve the SharePoint Workflow blocking issue, you should check Workflow Manager Port Range is blocked.

Register Register-SPWorkflowService Known Issues

Below are also known Issues that you may face when you run Register-SPWorkflowService.


Conclusion

In conclusion, we have solved “The HTTP request has timed out after 200000 milliseconds” issue that you may face during registering the SharePoint Workflow Manager service.

Additionally, we have quickly explored the use of

  • Windows Fabric Host Service.
  • Service Bus Gateway.
  • Service Bus Message Broker.
Applies To
  • Workflow Manager.
  • SharePoint 2019.
  • SharePoint 2016.
  • SharePoint 2013.
You might also like to read
Have a Question?

If you have any related questions, please don’t hesitate to ask it at deBUG.to Community.

1 thought on “The HTTP request has timed out after 200000 milliseconds”

  1. Pingback: Workflow Manager: Get Service Bus Ports | SPGeeks

Leave a Reply