Closed gwihlidal closed 6 years ago
Hi, could you provide screenshot with all config settings you try to set?
1)
2)
3)
You probably use wrong access token. My token's length is 42, but yours is much longer. Please make sure you use correct token.
Be sure to use the "Bot User OAuth Access Token".
@gwihlidal did you fix it?
Hi, I’ll try out the suggestions later tonight. I don’t see a Bot User OAuth Token anywhere specifically but will keep looking.
You can find it on page "OAuth & Permissions" with URL smth like this https://api.slack.com/apps/****/oauth
Hmm, so I created a bot user which gave me the bot auth token mentioned (i.e. it starts with xoxb and is shorter), and it seemed like it would work, but I got a java error now when trying to proceed further with configuration. This is still just pressing Submit on that same settings page, except using a valid auth token now. I've tried with an without an artifacts server specified too, but that didn't matter.
Now you have common JVM error, you need to increase memory limit. Please use Google or SO
On Nov 8, 2017 1:24 AM, "Graham Wihlidal" notifications@github.com wrote:
Hmm, so I created a bot user which gave me the bot auth token mentioned (i.e. it starts with xoxb and is shorter), and it seemed like it would work, but I got a java error now when trying to proceed further with configuration. This is still just pressing Submit on that same settings page, except using a valid auth token now. I've tried with an without an artifacts server specified too, but that didn't matter.
[image: image] https://user-images.githubusercontent.com/564042/32521181-d4b8e22a-c412-11e7-8eac-c43f4c36baa1.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alexkvak/teamcity-slack/issues/1#issuecomment-342644055, or mute the thread https://github.com/notifications/unsubscribe-auth/ABAPArhjYfvu8nmu9ibX5u-XJ7EmhTr6ks5s0NivgaJpZM4QStid .
@gwihlidal have you done with this?
Hi, I'm trying to use your plugin for slack notifications from team city, but I can't seem to get the configure to work successfully. The plugin installed correctly (I used your prebuilt 1.0 release, uploaded the zip to teamcity and restarted). As directed by the instructions, I went to Administration -> Slack, and checked the Enabled button, which presented me with the OAuth token field. I entered my xoxp-*** token, and clicked Submit. Every time, I get the error "Unable to create session by config" returned to me. I've tried numerous times, verified the app install and OAuth token (another plugin can use it to post to my build channel successfully), and restarted TeamCity multiple times. It would be great to get this plugin working, as I prefer the customization options over the alternatives.
Thank you, Graham