#support

Issues with Sending/Receiving Messages in Customized Chatwoot App

TLDR eduardo.chaves had issues with their modified Chatwoot app, identified response_bot feature as the issue. kurtsudonumcom asked, and justman10000 confirmed it shouldn't be a substantial problem.

Powered by Struct AI

2

5
1mo
Solved
Join the chat
Sep 29, 2023 (2 months ago)
eduardo.chaves
Photo of md5-92e2b64c36678a6a156b97aab8a53f03
eduardo.chaves
04:32 PM
- Chatwoot Custom 3.1.1 on Ubuntu 20

I'm having problems on sending and recieving messages on my chatwoot app. I've done some modification on the source-code, but I'm not sure where and how do I fix this error.

## cwctl -l web:

bash
Sep 29 12:46:15 app chatwoot-web.1[53313]: [ba55ba10-9adf-45ee-b159-73c607be25d5] NameError (undefined local variable or method `response_sources' for #):


## bundle check:

bash
chatwoot@app:~/chatwoot$ bundle check
The Gemfile's dependencies are satisfied


## unmet dependencies:

While updating my cw app, I've checked these unmet dependencies, in which I dont know if its a big problem.

bash
[4/5] Linking dependencies...
warning "@chatwoot/prosemirror-schema > [email protected]" has incorrect peer dependency "prosemirror-tables@^0.9.1".
warning " > [email protected]" has unmet peer dependency "jquery@>=2.2.0".
warning " > [email protected]" has unmet peer dependency "what-input@>=4.1.0".
warning " > [email protected]" has unmet peer dependency "lodash@^4.17.20".
warning " > [email protected]" has unmet peer dependency "css-loader@*".
warning " > [email protected]" has incorrect peer dependency "vue-router@^2.0.0".
warning " > @storybook/[email protected]" has unmet peer dependency "react@^16.8.0 || ^17.0.0 || ^18.0.0".
more...
Image 1 for - Chatwoot Custom 3.1.1 on Ubuntu 20

I'm having problems on sending and recieving messages on my chatwoot app. I've done some modification on the source-code, but I'm not sure where and how do I fix this error.

## `cwctl -l web`:

```bash
Sep 29 12:46:15 app chatwoot-web.1[53313]: [ba55ba10-9adf-45ee-b159-73c607be25d5] NameError (undefined local variable or method `response_sources' for #<Inbox id: 1, channel_id: 1, account_id: 1, name: "stagebot", created_at: "2023-09-29 13:17:44.306242000 +0000", updated_at: "2023-09-29 13:17:44.306242000 +0000", channel_type: "Channel::Api", enable_auto_assignment: true, greeting_enabled: false, greeting_message: nil, email_address: nil, working_hours_enabled: false, out_of_office_message: nil, timezone: "UTC", enable_email_collect: true, csat_survey_enabled: false, allow_messages_after_resolved: true, auto_assignment_config: {}, lock_to_single_conversation: false, portal_id: nil, sender_name_type: "friendly", business_name: nil>):
```

## `bundle check`:

```bash
chatwoot@app:~/chatwoot$ bundle check
The Gemfile's dependencies are satisfied
```

## unmet dependencies:

While updating my cw app, I've checked these unmet dependencies, in which I dont know if its a big problem.

```bash
[4/5] Linking dependencies...
warning "@chatwoot/prosemirror-schema > prosemirror-utils@0.9.6" has incorrect peer dependency "prosemirror-tables@^0.9.1".
warning " > foundation-sites@6.5.3" has unmet peer dependency "jquery@>=2.2.0".
warning " > foundation-sites@6.5.3" has unmet peer dependency "what-input@>=4.1.0".
warning " > vue-easytable@2.5.5" has unmet peer dependency "lodash@^4.17.20".
warning " > vue-loader@15.10.2" has unmet peer dependency "css-loader@*".
warning " > vuex-router-sync@4.1.3" has incorrect peer dependency "vue-router@^2.0.0".
warning " > @storybook/addons@6.5.9" has unmet peer dependency "react@^16.8.0 || ^17.0.0 || ^18.0.0".
more...
```
06:04
eduardo.chaves
06:04 PM
currently im reverting the commits i made on the code, to get at the moment before this problem
Oct 02, 2023 (2 months ago)
eduardo.chaves
Photo of md5-92e2b64c36678a6a156b97aab8a53f03
eduardo.chaves
07:52 PM
I just find out that the problem was the feature response_bot activated on super_admin dash that was causing this problem.
Oct 10, 2023 (1 month ago)
kurtsudonumcom
Photo of none
kurtsudonumcom
01:11 PM
That was helpful thanks, is there a PR to follow up on this issue?
Oct 12, 2023 (1 month ago)
justman10000
Photo of md5-56b2790c5f5ac3b8b1b26e2d345fee29
justman10000
02:03 PM
And no, should not be a problem