Error while deploying to web

@nik202

This is what i get after installing the first code


  File "C:\Users\Atwine\anaconda3\envs\rasaenv\lib\site-packages\sanic\app.py", line 931, in handle_request
    response = await response
  File "C:\Users\Atwine\anaconda3\envs\rasaenv\lib\site-packages\engineio\asyncio_server.py", line 223, in handle_request
    return await self._make_response(self._bad_request(
  File "C:\Users\Atwine\anaconda3\envs\rasaenv\lib\site-packages\engineio\asyncio_server.py", line 376, in _make_response
    response = make_response(
  File "C:\Users\Atwine\anaconda3\envs\rasaenv\lib\site-packages\engineio\async_drivers\sanic.py", line 102, in make_response
    return HTTPResponse(body_bytes=payload, content_type=content_type,
TypeError: __init__() got an unexpected keyword argument 'body_bytes'
[2021-08-26 20:05:02 +0300] [6900] [ERROR] Exception occurred while handling uri: 'http://localhost:5005/socket.io/?EIO=3&transport=polling&t=Nk3R12K'
Traceback (most recent call last):
  File "C:\Users\Atwine\anaconda3\envs\rasaenv\lib\site-packages\sanic\app.py", line 931, in handle_request
    response = await response
  File "C:\Users\Atwine\anaconda3\envs\rasaenv\lib\site-packages\engineio\asyncio_server.py", line 223, in handle_request
    return await self._make_response(self._bad_request(
  File "C:\Users\Atwine\anaconda3\envs\rasaenv\lib\site-packages\engineio\asyncio_server.py", line 376, in _make_response
    response = make_response(
  File "C:\Users\Atwine\anaconda3\envs\rasaenv\lib\site-packages\engineio\async_drivers\sanic.py", line 102, in make_response
    return HTTPResponse(body_bytes=payload, content_type=content_type,
TypeError: __init__() got an unexpected keyword argument 'body_bytes'

@atwine try update the packages only

pip install python-engineio

pip install python-socketio

@atwine I hope this solution work for your error, if yes please close this thread for future reference.

The error is still thereā€¦i will close once resolved.