question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Web chat unresponsive; API fine, other channels fine

See original GitHub issue

Rasa version: 1.3.2 Rasa X version: 0.21.0 Operating system: OSX. Tested in Chrome, Safari, and Firefox; same result.

Issue: “Talk to your bot” doesn’t respond to anything; not even “Restart”. Just a pulsing ellipsis appears. (“Interactive Learning” works just fine, but it uses different API calls). The API seems to be returning a result, but that result doesn’t render to webchat. See short screencast to see the problem in action: https://www.dropbox.com/s/6ofz8gyn558gurk/screen recording 2019-09-17 at 4.34.54 pm.mov?dl=0

Error: There are no errors in the Chrome developers’ console.

Content of configuration file (config.yml) (if relevant):

pipeline: supervised_embeddings
language: en
policies:
- name: MemoizationPolicy
- name: KerasPolicy
- name: MappingPolicy

Content of domain file (domain.yml) (if relevant):

intents:
  - greeting
  - insurance-car
  - insurance-home
  - insurance-business
templates:
  utter_greeting:
    - text: Hi there!
  utter_insurance-type:
    - text: What kind of insruance do you need?
  utter_start-car:
    - text: What kind of car?
  utter_start-business:
    - text: Is your business incorporated?
  utter_start-home:
    - text: What year was your house built?
  utter_start_car2:
    - text: 'Ooh, nice car!'
actions:
  - utter_insurance-type
  - utter_greeting
  - utter_start-car
  - utter_start-business
  - utter_start-home
  - utter_start_car2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tangochriscommented, Apr 22, 2020

@erohmensing We still have this issue. As of this moment, webchat does not work in our staging or production environment (1.8.1 / 0.26.0). Happy to do a screenshare.

@amirva We don’t have a workaround for this specific issue. Becauses chat works fine in Messenger and via Rasa webchat (socket.io channel), we can live with it.

0reactions
vanshkapilcommented, Dec 2, 2020

This issue is resolved for us (thanks for the help @erohmensing!).

The key to resolution was understanding that chat in Rasa X relies on the event broker RabbitMQ (as illustrated in this architecture diagram). We thought the API calls by Rasa X to Rasa OSS were used for chat, but they are a red herring.

With this understanding, we traced an error in our Rasa X files, Could not configure valid event consumer. Our developers introduced this error when configuring Rabbit MQ for Dashbot analytics. We returned to the default event broker settings, restarted, and everything’s fine. (Now we just need to figure out how to get Dashbot working again…)

@tangochris Did you manage to fix implementation of Dashbot with RASA X ? if yes, could you please help with some sample code. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microsoft Bot Web Chat Not working but Emulator work fine
To do so, click on the "Edit" link next to the Web Chat channel on the bot management page. Try regenerating your credentials...
Read more >
[Web Channel] Update activity is not working for Adaptive card
This updateActivity logic work fine for teams channel. ... to update the adaptive card as a method/feature of BotFramework (in Web Chat).
Read more >
Troubleshoot bot configuration issues - Bot Service
Bot works in Web Chat but not in other channels​​ The simplest solution is to remove the channel and redo the channel configuration...
Read more >
13 Common RabbitMQ Mistakes and How to Avoid Them
Have long-lived connections if possible, and use channels for each task. The handshake process for an AMQP connection is quite complex and ...
Read more >
[Update: Dec. 14] YouTube bugs/issues & pending ...
IST 05:25 pm: It appears YouTube along with most other Google ... reports of comments not working/showing in the live chat sessions surface, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found