# Rasa.core.run.serve\_application(agent, channel='cmdline') not working in 1.1.6

**URL:** <https://forum.rasa.com/t/rasa-core-run-serve-application-agent-channel-cmdline-not-working-in-1-1-6/13034>\
**Category:** Rasa Open Source\
**Created:** [July 17, 2019, 7:05am UTC](https://forum.rasa.com/t/rasa-core-run-serve-application-agent-channel-cmdline-not-working-in-1-1-6/13034 "2019-07-17T07:05:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![indranil180](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/indranil180/32/4434_2.png) [@indranil180](https://forum.rasa.com/u/indranil180)\
**Post date:** [July 17, 2019, 7:05am UTC](https://forum.rasa.com/t/rasa-core-run-serve-application-agent-channel-cmdline-not-working-in-1-1-6/13034/1 "2019-07-17T07:05:19Z")

</div>

I have migrated from rasa 0.12.4 to rasa 1.1.6 i am not able to run rasa.core.run.serve\_application(agent, channel=‘cmdline’) Below is my code please check

> def run\_weather\_bot(serve\_forever=True):

> interpreter = RasaNLUInterpreter(‘C:\Samples\xxx\models\nlu\default\weathernlu’)

> ```
> action_endpoint = EndpointConfig(url="http://localhost:5055/webhook")
> agent = Agent.load('C:\\Samples\\xxx\\models\\dialogue', interpreter=interpreter, action_endpoint=action_endpoint)
> rasa.core.run.serve_application(agent, channel='cmdline')
> 
> return agent
> 
> ```

I am getting error related to event broker
