-
Bug
-
Resolution: Unresolved
-
Low (View bug fix roadmap)
-
None
-
JSMT 2022.08.101
-
None
-
2
-
Severity 3 - Minor
-
1
-
Issue Summary
When user tries to authorize it gives the following message even though they use the ID Code from jira listed in the instruction. Please check if xxxxxxxxxxxxxxxxxx is valid Jira unique ID and Jira Server for Microsoft Teams app for your organization is installed
Steps to Reproduce
- Type "connect" in MS Teams for Jira Server Bot
- Sign in with Microsoft account
- Click Authorize
- Enter Jira ID to connect to your Jira Server instance
- Click "Connect"
Expected Results
Authorization is successful
Actual Results
The below exception is thrown in the xxxxxxx.log file:
[c.m.teams.service.SignalRService] startConnectionIfDisconnected() error (java.lang.RuntimeException): java.io.IOException: Unexpected response code for CONNECT: 403 Caesium-1-4 INFO ServiceRunner [c.m.teams.service.SignalRService] SignalR connection is currently false
Workaround
See this KB for some of the common problems https://confluence.atlassian.com/jirakb/connecting-microsoft-teams-to-jira-fails-1047553934.html
There is also a possibility of having a PKIX error (Certification issue). If started to appear through the logs, the MSTEAMS will show as INACTIVE on the configuration page and the app will that wrong Unique Jira ID is used. The PKIX issue can be fixed by adding the certifications of SignalR and Azure in the Java TrustStore.
If I disconnect from Teams, Connect and then re-Auth this seems to work for me. Anyone else using this solution?