Workflow deployment error in K2 Studio
KBS100046
PRODUCTIssue
When deploying a workflow from K2 Studio on a Test environment, an error appears:
"Unexpected error occurred during execution of SourceCode.DeploymentTasks.ExportProcessTask - ... - The access to a Socket was refused because of Access Permissions"
Symptoms
After analyzing the issue, it was found that deploying K2 Studio from a customers' client machine to the TEST server was not possible due to the above error appearing.
The servers in K2 Studio were switched to make it point to PRD. A simple solution was then deployed without the error appearing.
The TEST environment is on a newly built server where 4.7 has recently been installed.
After temporarily disabling the firewall settings, it was possible to successfully deploy into the TEST server.
Troubleshooting Steps
The error was caused by the incorrect/missing firewall settings, which prevented the client components from reaching the K2 TEST server.
For more information please refer to the following KB article:
https://help.k2.com/kb001318