Skip to content

Can't receive response from n8n on ai_oca_bridge_chatter #54

@hitrosol

Description

@hitrosol

Module

ai_oca_bridge caused error on ai_oca_bridge_chatter

Describe the bug

Can't receive response from n8n after send chat in the discuss. It was success in v16, but not in v18.

To Reproduce

Affected versions:
18.0

Steps to reproduce the behavior:

  1. Setup the AI Bridge Chat Bot
  2. Assigned to specific user
  3. Send message to the specific user
  4. It stuck and not receive response

Expected behavior
After sending message in chatter, it goes to n8n and receive back the reponse.

Additional context
I search the problem ini claude ai, and found that it's because the line 40 of the controller

OCA/ai/ai_oca_bridge/controllers/ai.py", line 40
request.httprequest.charset

After comment the line 40, I successfully receive the response from n8n.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions