ERROR:pika.adapters.blocking_connection:Unexpected connection close detected: ConnectionClosedByBroker: (320) "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"

Hi All,

I am new to Rasa, When I am trying to deploy Rasa X on my Linux server. But I am not able to deploy

INFO:rasax.community.services.event_consumers.pika_consumer:Start consuming queue 'rasa_production_events' on pika host 'rabbit'.
ERROR:pika.adapters.blocking_connection:Unexpected connection close detected: ConnectionClosedByBroker: (320) "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
ERROR:rasax.community.services.event_service:Caught an exception while consuming events. Will retry in 5 s.
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/rasax/community/services/event_service.py", line 1641, in continuously_consume
    consumer.consume()
  File "/usr/local/lib/python3.7/site-packages/rasax/community/services/event_consumers/pika_consumer.py", line 180, in consume
    self.channel.start_consuming()
  File "/usr/local/lib/python3.7/site-packages/pika/adapters/blocking_connection.py", line 1866, in start_consuming
    self._process_data_events(time_limit=None)
  File "/usr/local/lib/python3.7/site-packages/pika/adapters/blocking_connection.py", line 2027, in _process_data_events
    self.connection.process_data_events(time_limit=time_limit)
  File "/usr/local/lib/python3.7/site-packages/pika/adapters/blocking_connection.py", line 825, in process_data_events
    self._flush_output(common_terminator)
  File "/usr/local/lib/python3.7/site-packages/pika/adapters/blocking_connection.py", line 522, in _flush_output
    raise self._closed_result.value.error
pika.exceptions.ConnectionClosedByBroker: (320, "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'")
INFO:rasax.community.services.event_consumers.pika_consumer:Start consuming queue 'rasa_production_events' on pika host 'rabbit'.

Note : I followed Rasa X Quick Installation for deploying.

Can someone please help me to solve this.

Thanks!

Hey @pradeepbatchu. Were you not able to access your deployment, or is this just something that appeared in the logs? This might be okay if that log appeared before INFO:rasax.community.services.event_consumers.pika_consumer:Start consuming queue 'rasa_production_events' on pika host 'rabbit'., meaning that it wasn’t connected until this success log.

hey @erohmensing, I am not able to access deployment (Rasa X)

Hi @erohmensing , I have solved above error, now I am seeing below error. Can anyone please help me?

INFO:alembic.runtime.migration:Context impl PostgresqlImpl. INFO:alembic.runtime.migration:Will assume transactional DDL. /usr/local/lib/python3.7/site-packages/rasax/community/services/test_service.py:43: UserWarning: Unable to get tests from tests/conversation_tests.md: File ‘tests/conversation_tests.md’ does not exist. Please, make sure you have end-to-end tests added to your assistant. See Test Your Assistant for more information. UserWarning, Starting Rasa X server… :rocket:

How did you solve the problem?

hey, we deployed Rasax using Helm Chart GitHub - RasaHQ/rasa-x-helm: Rasa X Helm chart for deploying on Kubernetes (K8s) and OpenShift.

1 Like

Hi @pradeepbatchu how dit you solve the proble. I have the same problem. Thank

Hi @Papa, we deployed Rasa X using Helm chart

Can we use rasa chatbot with drupal.

Hi @pradeepbatchu How to use window.onload = WebChat.open; of rasa webchat for the last version. This is for enabling the chat widget to open on page loadin.

@Papa - if you are looking to integrate your chat widget on webpage, please check botfront

Thank @pradeepbatchu i am using this but i want to open the chat widget automatically when i load my page. I was possible with the previous version like that: window.onload = WebChat.open but now i don’t know how it works for latest version.

Hi,
Was this issue resolved?
We’re also facing same issue.

Thanks,
Newt Team