我正在关注如何设置简单的 django/orbited/stomp 实时聊天的本教程,并且我已经完全按照他的操作方式进行操作,我什至复制了他的所有代码,但我仍然觉得这个很奇怪我不明白的错误。
当我访问该网站时,我收到一条仅显示“错误”的警报。当我查看 Firebug 必须说的内容时,它告诉我以下两个错误:
Illegal document.domain value" code: "1009
http://127.0.0.1:9000/static/xsdrBridge.html
Line 68
Permission denied to access property 'Orbited'
http://127.0.0.1:9000/static/xsdrBridge.html
Line 92
我完全按照教程进行操作,但我无法弄清楚为什么会出现这些错误。我在轨道上运行:
orbited -c orbited.cnf
我通过以下方式运行我的 django 开发服务器:
python manage.py runserver 0.0.0.0:8000