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

  • 16 February 2021
  • 0 replies
  • 20 views

Userlevel 2
Badge +10

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

 

17943i0E9D4572D7B560B9.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.

17944i9CAAA671F84902CA.png

 


0 replies

Be the first to reply!

Reply