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
Takes a long time to create incident. #766
Comments
May have found the issue in the logs:
|
Would you know what could possibly cause this error?
|
I think it could be a api version issue: We are passing Unfortunately, we host our own Jira with a different API so its hard for me to troubleshoot. That plugin was contributed by the community but I'm not sure for which Jira API version. |
Note that |
Hi @kevgliss Is it possible to request a change to use |
@mvilanova Also, the
|
I can push the PR for the change. Let me know if you will be able to merge it. |
@kevgliss @mvilanova Another question, could you clarify the difference between the following two config variables?
Is it okay to pass the same URL value for both the variables? |
The
That's the issue type not issue type id. The examples under "You can even bulk create multiple issues:" suggest that you can use |
Looking at the Jira
|
I can confirm that the project exists and I pass that value. From that code it does seem like |
I'll correct the |
Also, I got the following warning messge, would you know a possible fix?
And I tried a fix and got this error message:
I think I maybe missing something related to JIRA ticket. |
Full error message:
|
@sfc-gh-pkommini did you run |
I was able to create issue from API using the jira python library version 2.0.0. (As version is non pinned this is the version that gets installed) I had the following observations:
excerpt from CLI, using
Let me know if these tests are good enough to warrant the changes for project to use |
Cool, let's do it. Thanks for testing and debugging. |
@kevgliss @mvilanova The PR is created. I'm still getting the below error. Would you know what could cause such an error. I think I'm missing a config variable but I don't know what it could be.
|
Not sure if you saw my questions here. I'd like to see if plugins are installed and the jira one enabled. |
@mvilanova Oh Sorry. I missed that question. I believe I did run the plugins install. Let me double check. I configured it as part of the web container. Unfortunately, I can't run commands on our containers as they run on ECS Fargate. Could I query a database table to check? |
No worries. You can also see the list of plugins and whether they're enabled or not in /plugins in the Web UI. I should have time this afternoon to take a look at the PR. |
@kevgliss @mvilanova I see the following plugins enabled from the UI. I did a |
I disabled everything except the first two plugins (Slack Plugin - Conversation..., Slack Plugin - Contact Info..) and then tried creating an incident and it caused the following error:
Do we need the contact plugin for create incident to work? |
Weird, it looks like it can't find your jira plugin. This is the query we use: Which according to your screen shot looks like it should resolve? One thing we could also try is to disable the jira ticket plugin and enable the dispatch jira plugin. If you look at the server startup logs, it should point to any issues loading the jira plugins. |
I'll check on that and report my findings. Thank you. :) |
Okay. I think I found the issue. It seems like the jira plugin failed to load due to issue in the Program ID. Forgot to makes the PR changes on my container. Also, I get an error message regarding the channel not found.
Are we expected to create a channel named |
Yeah, that would do it. Re: the following error, seems like the plugin code failed, because the incident didn't have a name.
|
Another error message which I was able to fix but thought I'll mention here for future users. If we have
|
Thank you folks for help me out with this. I was able to fix the issue and create incidents successfully. |
@mvilanova I have the same issue where the incident does not have a name after creation and also cannot create slack conversation |
@rilutham can you open a separate issue and provide server logs? We can take a look at it on Monday. |
@mvilanova already open a new issue #793 . Thank you for your help. |
Describe the bug
Create incident is stuck almost for 5-10 minutes without any response.
To Reproduce
This is the setup I have so far:
Expected behavior
The expected behavior is for the incident to be created in a few seconds at most.
Screenshots
Additional context
Setup using ECS fargate and RDS
The text was updated successfully, but these errors were encountered: