Skip to content

Outgoing integrations not accepting response #24374

@tensor5g

Description

@tensor5g

Description:

After the 4.4.0 update, outgoing integrations no longer seem to accept the response text. I have created an extremely simple outgoing integration that will respond with {"text":"test"} to any request, but rocket.chat will not post that message into the channel. When I try to debug this by viewing history, I get a blank page. It seems any integration that has more than 0 history will respond with a blank page this way. This is the error I get in console when attempting to open the history: TypeError: u is not a function

Steps to reproduce:

  1. Create an outgoing WebHook Integration
  2. Point it to a URL that responds with {"text":"test"}
  3. Trigger the outgoing WebHook
  4. Observe that the WebHook receives the request, responds with a 200, but nothing appears in the channel

Expected behavior:

Taking my response and posting it in the channel

Actual behavior:

Nothing happens

Server Setup Information:

  • Version of Rocket.Chat Server: 4.4.0
  • Operating System: Docker
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version: 4.4

Client Setup Information

  • Desktop App or Browser Version: Tried in latest Firefox and Edge
  • Operating System: Windows 10

Additional context

Relevant logs:

The docker console does not display any errors from the outgoing hook or from opening the history.
My browser's console displays TypeError: u is not a function when attempting to open integration history, and some more nonsense: https://pastebin.com/w55Tt4HE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions