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

Slack post may have failed. Response: No hooks #323

Closed
Bilalaybar opened this issue Jun 2, 2017 · 6 comments
Closed

Slack post may have failed. Response: No hooks #323

Bilalaybar opened this issue Jun 2, 2017 · 6 comments

Comments

@Bilalaybar
Copy link

Hi there ,

I've got multiple Jenkins and one slack team account,

I'm able to send a notification to my slack channel from 2 instances, however from my other Jenkins instance I can't.Configurations are the same.

image

Here are the logs that I hit Test Connection button:
image

Haz 02, 2017 2:48:30 PM WARNING jenkins.plugins.slack.StandardSlackService publish
Slack post may have failed. Response: No hooks
Haz 02, 2017 2:48:30 PM WARNING jenkins.plugins.slack.StandardSlackService publish
Response Code: 404

PS: Plugin versions and Jenkins Versions are same in 3 Jenkins machines.

Thank u for ur help,

@gbyukg
Copy link

gbyukg commented Jun 23, 2017

The same error messages in my Jenkins server.
Jenkins version: 2.66

@ghost
Copy link

ghost commented Jun 14, 2018

I am having the same issue. Runnins Jenkins in master/node configuration with the master as a docker container.

Has there been any progress on this at all?

Edit: I just solved this problem.

I was not using the secret storage, instead I was using the token field. Creating a credential for it as the README specifies seems to fix the issue.

@boianmihailov
Copy link

I am having the same issue, but trying to send multiple slack notifications to different organisations.
If theres settings saved in global configration, token or secret text token id, second notification always fails with error "Slack post may have failed. Response: No hooks"

@matthewlowry
Copy link

I know this is an old issue but just adding my experience:

I was getting this same error in the logs and no messages being sent, but it was a simple mistake on my part.

I had done the global configuration for the plugin, and clicked the "Test connection" button, and the test message worked as intended. But then when I ran my pipeline jobs no messages were being sent. Turned out I had simply failed to save the global configuration. In the pipeline jobs the error messages didn't say something like "Hey wait you've got no configuration", so it took me a while to work out what was going on. Oops.🥇 for me.

@alexandarp
Copy link

I started getting this error recently without making any changes to the pipeline configuration. It turns out the token was invalid and needed to be rotated. The error message wasn't very helpful.

@timja
Copy link
Member

timja commented Dec 15, 2018

unfortunately we don't get much info back from slack.
Follow the steps in the README, and if you're stuck post a new issue with your problem

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

6 participants