Heroku Websockets:无法连接到服务器

时间:2013-10-16 07:21:11

标签: python heroku websocket

我跟着Heroku's guide to using its websockets使用Python,Flask,redis和Heroku实现了一个实时聊天应用。但是,我输入的消息都没有出现在指定的div容器中。当我从firefox firefly检查控制台时,我经常得到

cannot connect to ws://host_url/submit server
cannot connect to ws://host_url/receive server

您也可以从Heroku's official demo看到相同的错误。我甚至克隆了提供github repository,但它也有同样的错误,并且没有出现任何消​​息。我不确定Heroku是否存在问题,或者我有一些误解。谁能给我一些指导?

0 个答案:

没有答案
相关问题