No ratings

Error 'A connection to the K2 Server could not be established' when trying to deploy workflow in K2 Studio/K2 for Visual Studio.

Issue

When deploying a workflow (*.kprx) via K2 Studio or K2 for Visual Studio, the following error appears.

 

A connection to the K2 Server could not be established

 

Image 192.png

 

Error Code

This issue can be related to Workflow Server environment variable if it has incorrect server name or this variable is not set as Default variable 

 

Resolution

To resolve the issue, please make sure the Workflow Server environment variable is setup as Default variable and it has the appropriate value.

 

K2 Blackpearl K2Workspace

K2 Workspace > Management Console > K2 Server > Environment Library > Templates > Default Template > Environments > Default Environment > Workflow Server variable.

 

K2 Five Management

Management > Environment Library > Default environment > Workflow Server variable.

Image 014.png

 

Labels: (2)
Version history
Last update:
‎05-25-2021 06:14 AM
Updated by:
Contributors