cancel
Showing results for 
Search instead for 
Did you mean: 

Error When Publishing Office 365 Workflow: The Underlying Connection Was Closed

Issue

When tying to publish a workflow within Office 365, the designer presents the following error after selecting Publish:

Error publishing workflow. System.Net.WebExeption: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.

 

Error Code

Error publishing workflow. System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) --- End of inner exception stack trace -

 

Resolution

Option 1:

  • If the site was recently migrated, please remigrate the site and that should resolve the issue.

Option 2:

  • If the site was not recently migrated, please contact Microsoft SharePoint Online support as they will need to re-establish the sites connection to the Workflow Manager service, which the site currently cannot find.
Labels: (1)
Version history
Revision #:
1 of 1
Last update:
‎01-06-2021 08:08 PM
Updated by:
 
Contributors