Rocket.chat: cannot create integration (incoming webhook)

Created on 2 Jan 2019  路  11Comments  路  Source: RocketChat/Rocket.Chat

Description:

Hi Devs. I'm unable to create a specific incoming webhook. Error message is "invalid channel". The channel i choose to send the messages too is #noc. The channel exists and there is even another integration which posts to this channel. This is rather confusing to me. Choosing #noc-notify works. Any idea whats going on here? I set the log to debug but no messages.

Strange thing is i tested this on another server and there it works flawlessly.

Steps to reproduce:

  1. Create incoming webhook
  2. Choose channel to post to
  3. Get error "invalid channel"

Expected behavior:

Incoming webhooks gets created.

Actual behavior:

"invalid channel" message appears.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.73.1
  • Operating System: Linux
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: no
  • NodeJS Version: 8.12
  • MongoDB Version: 3.6
webhooks bug

All 11 comments

I just made an observation. If i write something to the channel in question first, the creation of the incoming webhooks succeeds. But it has to be me. If someone else writes to that channel the problem persists.

On it, will try to fix this.

@himpierre I think this issue is fixed in latest branch 1.0.0-develop. Give it a try. If your issue is similar to #13103 then as you can on line77, you have to set both manage-own-integrations and manage-integrations. Once you do that your user will be able to add webhook on his/her own username or any other. Please do give a try. If it works, feel free to close this issue. Thanks. 馃憤

@knrt10 Thanks. I give it a shot as soon as 1.0.0-rc0 arrives.

@himpierre beta 1.0.0 is here, do try it. Thanks 馃憤

Yeah, would love to. :-) But there seems to be no binary release at the moment.

cheers
t.

@knrt10
Hi, i've tried the rc1 and rc2 of 1.0.0 and i cant create incoming webhooks at all.
When i'm clicking on new webhook and Incoming WebHook nothing happens.. only the text changes from New Integration to Incoming WebHook Integration on top of the page.. but i can still see the incoming webhook and outgoing webhook buttons :/

@eloo-at-abi sorry for the late response. I tried on the latest 1.0.0-develop code it is working fine. Try with 1.0.0-rc.3 . Also if running locally, please rebase the code and try again.

@himpierre binary release for 1.0.0-rc.3 is out. Please check and feel free to close this issue

@knrt10 looks goot in 1.0.0-rc.3 for me 馃憤

Yes. Seems to be working again. Thanks @knrt10 :-) ---> closing issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

djeber picture djeber  路  3Comments

antn89 picture antn89  路  3Comments

royalaid picture royalaid  路  3Comments

brendanheywood picture brendanheywood  路  3Comments

mattlin picture mattlin  路  3Comments