MS Teams plugin integration is blocked

Hi

Teams integration via the plugin is not working for me, even with proxy settings in place.
I’m using KSE 7.5.2 on a Windows 10 laptop.

I have been able to publish a result to a Teams channel by bypassing the proxy for my account (outside of Katalon).
I can also supply credentials in Preferences → Katalon → Proxy → System and then record a web test. Network logs show that I have got through the proxy successfully with these credentials.

I don’t think the plugin is picking up my proxy setting.
When I run a test suite with these same credentials though I get the following failure. I don’t appear to see the same Outlook ip address each time either, so whitelisting is not an option.
Thanks Dan


Elapsed time: 10.624s

org.codehaus.groovy.runtime.InvokerInvocationException: com.mashape.unirest.http.exceptions.UnirestException: org.apache.http.conn.ConnectTimeoutException: Connect to outlook.office.com:443 [Sign in to Outlook] failed: connect timed out
at KatalonMicrosoftTeamsTestListener.invokeMethod(KatalonMicrosoftTeamsTestListener.groovy)
at com.kms.katalon.core.context.internal.TestHooker.invokeMethod(TestHooker.java:111)
at com.kms.katalon.core.context.internal.TestHooker.lambda$3(TestHooker.java:95)
at com.kms.katalon.core.context.internal.TestHooker.invokeContextMethods(TestHooker.java:94)
at com.kms.katalon.core.context.internal.TestListenerCollector.lambda$3(TestListenerCollector.java:88)
at com.kms.katalon.core.context.internal.TestListenerCollector.handleListenerEvent(TestListenerCollector.java:85)
at com.kms.katalon.core.context.internal.ExecutionEventManager.publicEvent(ExecutionEventManager.java:36)
at com.kms.katalon.core.main.TestSuiteExecutor.execute(TestSuiteExecutor.java:99)
at com.kms.katalon.core.main.TestCaseMain.startTestSuite(TestCaseMain.java:157)
at com.kms.katalon.core.main.TestCaseMain$startTestSuite$0.call(Unknown Source)
at TempTestSuite1604937238813.run(TempTestSuite1604937238813.groovy:37)
Caused by: com.mashape.unirest.http.exceptions.UnirestException: org.apache.http.conn.ConnectTimeoutException: Connect to outlook.office.com:443 [Sign in to Outlook] failed: connect timed out
at com.mashape.unirest.http.HttpClientHelper.request(HttpClientHelper.java:143)
at com.mashape.unirest.request.BaseRequest.asString(BaseRequest.java:56)
at com.andrewthom.microsoft.teams.api.IncomingWebhookRequest.sendMessage(IncomingWebhookRequest.java:19)
at com.andrewthom.microsoft.teams.api.IncomingWebhookRequest$sendMessage.call(Unknown Source)
at com.kms.katalon.keyword.microsoftteams.MicrosoftTeamsUtils.updateMicrosoftTeam(MicrosoftTeamsUtils.groovy:66)
at com.kms.katalon.keyword.microsoftteams.MicrosoftTeamsUtils$updateMicrosoftTeam$0.call(Unknown Source)
at KatalonMicrosoftTeamsTestListener.sampleAfterTestSuite(KatalonMicrosoftTeamsTestListener.groovy:25)
… 11 more
Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to outlook.office.com:443 [Sign in to Outlook] failed: connect timed out
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:143)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
at com.mashape.unirest.http.HttpClientHelper.request(HttpClientHelper.java:138)
… 17 more
Caused by: java.net.SocketTimeoutException: connect timed out
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:337)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
… 28 more