-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't connect to Jira user Account #985
Comments
Hi @supergeoff, thanks for reporting this issue. I have a few questions:
|
Hi @mickmister, I had the same problem (reported here: https://community.atlassian.com/t5/Jira-Software-questions/Error-connecting-to-Jira-with-Mattermost-plugin/qaq-p/2501718). I updated to version 4 and installed with cloud-oauth (after I've removed old app in jira management app). |
Hi @elrancid, Just so I understand correctly, you are using I'm thinking starting over on the setup process may fix something happening here. Are there any relevant log messages in your server logs? |
No, I did't do
There's no documentation on how to achieve those tasks, because the documentation link https://mattermost.gitbook.io/plugin-confluence/plugin-jira/setting-up/configuration doesn't works. {"timestamp":"2023-10-17 12:53:36.209 Z","level":"debug","msg":"Action integration error.","caller":"web/context.go:114","path":"/api/v4/posts/3wtdgiunnpdu3yyt1qokq61e5c/actions/11pk4djrrtbn5e31kbgo3zafwr","request_id":"t8715xcmsbf73ctnsw55wuc4ur","ip_addr":"127.0.0.1","user_id":"moepmz8jbinu7pbfo8te4shqbc","method":"POST","err_where":"DoActionRequest","http_code":400,"error":"DoActionRequest: Action integration error., err=Post \"https://mattermost.joule.video/plugins/jira/setup-wizard/button\": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2023-10-17T12:53:36Z is after 2023-10-15T10:07:06Z"}
{"timestamp":"2023-10-17 12:53:36.209 Z","level":"debug","msg":"Received HTTP request","caller":"web/handlers.go:173","method":"POST","url":"/api/v4/posts/3wtdgiunnpdu3yyt1qokq61e5c/actions/11pk4djrrtbn5e31kbgo3zafwr","request_id":"t8715xcmsbf73ctnsw55wuc4ur","user_id":"moepmz8jbinu7pbfo8te4shqbc","status_code":"400"} |
@elrancid It seems the SSL certificate being used for your Mattermost server may be invalid. The above error implies that the certificate is expired: |
If you mean the domain certificate, no, the certificate expire in 2024. Could it be a certificate with Jira Cloud? |
@elrancid It's reporting this for the service that will receive a request at The underlying issue here is that the server isn't handing this request off to the plugin directly, and is instead performing an actual HTTP request to itself, to be processed by the plugin. I was under the impression we were handing it off directly in the case of interactive messages, and we are doing so based on the code below, but there may be an issue there: Either way, the immediate solution for you will be something with your server's certificate. I'm not sure exactly what the solution is though. |
@hanzei Any ideas why we would see the above error when we are indeed using
to
|
This discussion is out of scope of this ticket though. I've created a separate issue for this here https://mattermost.atlassian.net/browse/MM-54994 |
Hi @supergeoff, we've released a version of the Jira plugin that fixes this issue |
Hello
Followed documentation, bot needs to connect Jira user Account, popup does open but Jira response with an error :
could not get user info for client, err: No response returned: Get "https://crit-digital.atlassian.net/rest/api/2/myself": oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"Invalid aud: https://auth.atlassian.io"}
Similar to #945
Regards ;
The text was updated successfully, but these errors were encountered: