[ERROR] Exception occurred while handling uri: unknown

Could someone help me understand why I get this error?

2020-03-21 08:19:22,612 [ERROR]  Exception occurred while handling uri: unknown
    Traceback (most recent call last):
      File "/home/cesar.acuna/.local/lib/python3.6/site-packages/sanic/server.py", line 276, in data_received
    self.parser.feed_data(data)
      File "httptools/parser/parser.pyx", line 193, in httptools.parser.parser.HttpParser.feed_data
    httptools.parser.errors.HttpParserInvalidMethodError: invalid HTTP method
    2020-03-21 08:19:22,991 [ERROR]  Exception occurred while handling uri: unknown
    Traceback (most recent call last):
      File "/home/cesar.acuna/.local/lib/python3.6/site-packages/sanic/server.py", line 276, in data_received
    self.parser.feed_data(data)
      File "httptools/parser/parser.pyx", line 193, in httptools.parser.parser.HttpParser.feed_data
    httptools.parser.errors.HttpParserInvalidMethodError: invalid HTTP method
    2020-03-21 16:08:49,544 [ERROR]  Error happened when trying to save conversation tracker to 'SQLTrackerStore'. Falling back to use the 'InMemoryTrackerStore'. Please investigate the following error: (pymysql.err.OperationalError) (2006, "MySQL server has gone away (ConnectionResetError(104, 'Connection reset by peer'))")
    [SQL: SELECT events.id AS events_id, events.sender_id AS events_sender_id, events.type_name AS events_type_name, events.timestamp AS events_timestamp, events.intent_name AS events_intent_name, events.action_name AS events_action_name, events.data AS events_data 
    FROM events, (SELECT max(events.timestamp) AS session_start 
    FROM events 
    WHERE events.sender_id = %(sender_id_1)s AND events.type_name = %(type_name_1)s) AS anon_1 
    WHERE events.sender_id = %(sender_id_2)s AND (events.timestamp >= anon_1.session_start OR anon_1.session_start IS NULL) ORDER BY events.timestamp]
    [parameters: {'sender_id_1': '4074733c-f8b8-45dd-a520-27bd40f5a05a+d1cd02b0-0dad-4ed1-bde5-a206ba8e12d6', 'type_name_1': 'session_started', 'sender_id_2': '4074733c-f8b8-45dd-a520-27bd40f5a05a+d1cd02b0-0dad-4ed1-bde5-a206ba8e12d6'}]
    (Background on this error at: http://sqlalche.me/e/e3q8).

What steps have you taken that led to this error?

I got the same error when I docker-compose up the service for several days.

[2020-07-15 19:26:17 +0000] [1] [ERROR] Exception occurred while handling uri: unknown rasa_1 | Traceback (most recent call last): rasa_1 | File “/opt/venv/lib/python3.7/site-packages/sanic/server.py”, line 276, in data_received rasa_1 | self.parser.feed_data(data) rasa_1 | File “httptools/parser/parser.pyx”, line 193, in httptools.parser.parser.HttpParser.feed_data rasa_1 | httptools.parser.errors.HttpParserError: invalid constant string

My docker-compose :jack_o_lantern:

version: ‘3.0’

services:

rasa:

image: rasa/rasa:1.10.3-full

ports:

  - 5005:5005
volumes:
  - ./:/app
command:
  - run
  - --enable-api
  - --cors
  - "*"
  - --debug

Same same here: Not using docker, connected to channel facebook and telegram. Everything was working fine untill it started giving me this error message that repeats itself very fast right after the bot is used and then I get a new occurence every few seconds. I have been adding answers with buttons for telegram today.

Exception occurred while handling uri: unknown Traceback (most recent call last): File “/home/debian/rasa/citybot/venv/lib/python3.7/site-packages/sanic/server.py”, line 276, in data_received self.parser.feed_data(data) File “httptools/parser/parser.pyx”, line 193, in httptools.parser.parser.HttpParser.feed_data httptools.parser.errors.HttpParserInvalidMethodError: invalid HTTP method

If any luck? Could you please suggest how to fix the issue - [80280] [ERROR] Exception occurred while handling uri: unknown

Please reply, if you found any fix. Regards!