Skip to main content


 

Symptoms


Client had previously the full trust app installed on their Office 365 environment with K2 blackpearl 4.6.7.
they now have upgraded their environment to 4.6.9 and had to uninstall the full trust app so that we can use the normal app.
 

Diagnoses



After adding the normal app to my their and trying to run the registration wizard it fails just after entering the K2 URL (On the OAuth Resource step) with the following error (see screenshot):

Unable to connect to the remote server
Type:
SourceCode.SmartObjects.Client.SmartObjectException
Source:
SourceCode.SmartObjects.Client
Method Base
Member Type:
Method
Name:
ExecuteScalar
Module
Scope Name:
SourceCode.SmartObjects.Client.dll
Declaring Type
Full Name:
SourceCode.SmartObjects.Client.SmartObjectClientServer
Stack Trace:
at SourceCode.SmartObjects.Client.SmartObjectClientServer.ExecuteScalar(SmartObject smartObject, DataTable inputTable)
at SourceCode.Forms.AppFramework.FormRuntime.SmartObjectExecution(XPathNavigator nav, Boolean outputDependencies, SmartObjectClientServer svr)
at SourceCode.Forms.AppFramework.FormRuntime.WorkXmlToApi(String xml)
at SourceCode.Forms.Runtime.AJAXCall.ProcessRequest(HttpContext context)


 

Resolution

It was discovered that a lingering Fiddler session did not close properly and caused the proxy server to be retained for the K2 Service Account.
Once the proxy server settings were removed the connection succeeded.
 




 
Be the first to reply!

Reply