Skip to content
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

Getting 404 while try to post an incident #652

Open
vaithiyanath opened this issue Nov 10, 2021 · 4 comments
Open

Getting 404 while try to post an incident #652

vaithiyanath opened this issue Nov 10, 2021 · 4 comments

Comments

@vaithiyanath
Copy link

Hi Team,

While try to create an incident getting 404 can anyone please help on this

<title>404 Not Found</title>

404 Not Found


nginx/1.18.0 (Ubuntu)
@diegocepedaw
Copy link
Collaborator

Can you give us more details on his issue? What endpoint are you using to create incidents, is the rest of Iris working correctly, etc? The incident creation endpoint can return a 404 if the plan doesn't exist so check that is correct (though it should also return a plan not found message if that in the case).

@vaithiyanath
Copy link
Author

vaithiyanath commented Nov 11, 2021

https://irisstg.*****.com/v0/webhooks/webhook?application=ping-alerts&key=6a2778676846a1ac53d8d370548a360df0d9f019b67232d6ba482d8eaa64675c&plan=ping-alert-template
This is the endpoint that am trying to hit
Rest of the iris is working even i can able to sync the target and able to create the plans only when i try to create an inc getting the error, even i can able to create an test inc from iris

@diegocepedaw
Copy link
Collaborator

did you enable webhooks in your config?
you need to define it in the yaml like:
webhooks:

  • alertmanager

or in your case since you are using a webhook endpoint of name "webhook"
webhooks:

  • webhook

@vaithiyanath
Copy link
Author

Yes i have added those on my config file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants