failing WebSocket opening handshake (‘Internal server error: ‘unicode’ object has no attribute ‘host”)  
dropping connection to peer tcp4:127.0.0.1:52346 with abort=False: Internal server error: ‘unicode’ object has no attribute ‘host’  

python模块 没有host属性 可能是由于代码版本太老,依赖软件库版本太新。找到host字段删除即可