Connection refused

0
8:50:07 PMAPPINFOat org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) 8:50:07 PMAPPINFOat SharepointConnect.GetToken (CallRest : 'Call REST (POST)') 8:50:07 PMAPPINFOat Sharepoint.ACT_CheckNewUpates (SubMicroflow : 'GetToken') 8:50:07 PMAPPINFOat Sharepoint.ScheduleMF (SubMicroflow : 'ACT_CheckNewUpates') 8:50:07 PMAPPINFOAdvanced stacktrace: 8:50:07 PMAPPINFOat com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:73) 8:50:07 PMAPPINFOCaused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.security.PrivilegedActionException: org.apache.http.conn.HttpHostConnectException: Connect to accounts.accesscontrol.windows.net:443 [accounts.accesscontrol.windows.net/20.190.159.64, accounts.accesscontrol.windows.net/20.190.159.23, accounts.accesscontrol.windows.net/20.190.159.68, accounts.accesscontrol.windows.net/20.190.159.2, accounts.accesscontrol.windows.net/40.126.31.71, accounts.accesscontrol.windows.net/40.126.31.73, accounts.accesscontrol.windows.net/20.190.159.4, accounts.accesscontrol.windows.net/20.190.159.71] failed: Connection refused (Connection refused) 8:50:07 PMAPPINFOat com.mendix.integration.util.PrivilegedUtil$$anonfun$withPrivileged$2.applyOrElse(PrivilegedUtil.scala:17) 8:50:07 PMAPPINFOCaused by: java.security.PrivilegedActionException: null
asked
1 answers
0

What this error is telling you is that the sharepoint connector is unable to connect to your sharepoint. Double check the REST call where you retrieve the OAuth token. Did you do this step in the documentation (assuming you are using the Mendix Sharepoint connector https://marketplace.mendix.com/link/component/119305 )
 

Create an Authorization through the Microsoft Graph module. Make sure it has the Sites scopes (e.g. Sites.Read.All or Sites.ReadWrite.All).

Regards,

Ronald

 

answered