Action server not working

when running “rasa run actions” getting error like below

rasa_sdk.endpoint  - Starting action endpoint server...
Traceback (most recent call last):
 File "C:\Users\mohammad.mudassir\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main      
   "__main__", mod_spec)
 File "C:\Users\mohammad.mudassir\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
   exec(code, run_globals)
 File "C:\Rasa-demo\venv\Scripts\rasa.exe\__main__.py", line 7, in <module>
 File "c:\rasa-demo\venv\lib\site-packages\rasa\__main__.py", line 118, in main
   cmdline_arguments.func(cmdline_arguments)
 File "c:\rasa-demo\venv\lib\site-packages\rasa\cli\run.py", line 59, in run_actions
   sdk.main_from_args(args)
 File "c:\rasa-demo\venv\lib\site-packages\rasa_sdk\__main__.py", line 25, in main_from_args
   args.auto_reload,
 File "c:\rasa-demo\venv\lib\site-packages\rasa_sdk\endpoint.py", line 157, in run
   action_package_name, cors_origins=cors_origins, auto_reload=auto_reload
 File "c:\rasa-demo\venv\lib\site-packages\rasa_sdk\endpoint.py", line 79, in create_app
   app = Sanic("rasa_sdk", configure_logging=False, register=False)
TypeError: __init__() got an unexpected keyword argument 'register'
Rasa Version      :         2.8.17
Minimum Compatible Version: 2.8.9
Rasa SDK Version  :         2.8.11
Rasa X Version    :         None
Python Version    :         3.7.9
Operating System  :         Windows-10-10.0.19041-SP0
Python Path       :         c:\rasa-demo\venv\scripts\python.exe

@mudassir-lab Can you install the below version and give a try.

Rasa version 2.8.25 rasa sdk versino 2.8.4

Yes downgraded rasa sdk version to 2.8.4 and worked.

With the release of Rasa 2.8.34 and the SDK 2.8.11 compression was added to the protocol which means that you have to upgrade both Rasa and the SDK together.