Conchylicultor / DeepQA

My tensorflow implementation of "A neural conversational model", a Deep learning based chatbot
Apache License 2.0
2.93k stars 1.17k forks source link

Issue while running ChatBot -- ValueError: No application configured for scope type 'websocket', #174

Open gauravgulati8 opened 6 years ago

gauravgulati8 commented 6 years ago

Hi, I am facing issues while running this code. I updated

  1. settings.py ASGI_APPLICATION = 'chatbot_interface.routing.application' as I was getting the error that "CommandError: You have not set ASGI_APPLICATION, which is needed to run the server."

  2. Updated Routing.py "application = ProtocolTypeRouter({ }) as per the Channels document. Now my server is running. I am able to open chatbot in browser, but I am getting error at the server. ValueError: No application configured for scope type 'websocket', I am not able to communicate to my chatbot.

Please support me for the issue.

Regards, Gaurav

ychevarrias commented 6 years ago

I have the same problem :c

misohu commented 6 years ago

Same here

johnlee09 commented 6 years ago

I have the same problem.

johnlee09 commented 6 years ago

@dfenglei After your fix two days ago for the "ASGI_APPLICATION" problem, there is still a problem. When open the port at browser, it shows error "ValueError: No application configured for scope type 'websocket'". Do you have any suggestion on this? Thank you.

dfenglei commented 6 years ago

After my fix with "ASGI_APPLICATION" problem, It can work well when I open the DeepQA site at browser. Here is my version tested. django (tested with 2.0.4) channels 1.1.8 Redis (4.0.9) asgi_redis (1.4.3) You can try it. Good Luck.

johnlee09 commented 6 years ago

After downgrading channels to 1.1.8, it works. Thanks

Jasnoor1 commented 6 years ago

Hi

Please help me with this issue: You have not set ASGI_APPLICATION, which is needed to run the server.

Thanks