{"action":"created","issue":{"url":"https://api.github.com/repos/vnpy/vnpy/issues/804","repository_url":"https://api.github.com/repos/vnpy/vnpy","labels_url":"https://api.github.com/repos/vnpy/vnpy/issues/804/labels{/name}","comments_url":"https://api.github.com/repos/vnpy/vnpy/issues/804/comments","events_url":"https://api.github.com/repos/vnpy/vnpy/issues/804/events","html_url":"https://github.com/vnpy/vnpy/issues/804","id":309978328,"node_id":"MDU6SXNzdWUzMDk5NzgzMjg=","number":804,"title":"VNPY1.8连接IB经常无响应，要十几次或更多次才能连上","user":{"login":"stone3536","id":31505150,"node_id":"MDQ6VXNlcjMxNTA1MTUw","avatar_url":"https://avatars3.githubusercontent.com/u/31505150?v=4","gravatar_id":"","url":"https://api.github.com/users/stone3536","html_url":"https://github.com/stone3536","followers_url":"https://api.github.com/users/stone3536/followers","following_url":"https://api.github.com/users/stone3536/following{/other_user}","gists_url":"https://api.github.com/users/stone3536/gists{/gist_id}","starred_url":"https://api.github.com/users/stone3536/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stone3536/subscriptions","organizations_url":"https://api.github.com/users/stone3536/orgs","repos_url":"https://api.github.com/users/stone3536/repos","events_url":"https://api.github.com/users/stone3536/events{/privacy}","received_events_url":"https://api.github.com/users/stone3536/received_events","type":"User","site_admin":false},"labels":[{"id":182220022,"node_id":"MDU6TGFiZWwxODIyMjAwMjI=","url":"https://api.github.com/repos/vnpy/vnpy/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-03-30T05:22:50Z","updated_at":"2018-06-07T00:46:56Z","closed_at":"2018-05-19T14:31:27Z","author_association":"NONE","body":" 操作系统: 如Windows 7\r\n Anaconda版本: 如Anaconda 4.0.0 Python 2.7 32位\r\n vn.py版本: 如v1.8发行版\r\n\r\nIssue类型\r\n三选一：Bug/Question\r\n\r\n预期程序行为：直接连接IB，应该在2、3秒左右就有返回结果并显示数据\r\n\r\n实际程序行为：点击“连接IB”，立刻程序反应是在处理，紧接着显示无响应。\r\n\r\n重现步骤\r\n点击连接IB，无响应，即使等10几分钟也一样。要关掉程序，再次连接，少的情况下要试十几次才能连上，多的话几十次，很难运气好2、3次连上的。持续这样会把后来的人弄疯掉的呢。\r\n\r\nvnpy1.8，tws是最新的（自动更新），其他没有特殊的，接口我自己没动过的。\r\n之前1.7.1的时候没这个问题的。现在我没1.7.1的环境了。当然，vnpy接口没动，可能就是跟最新的tws接口有冲突了（tws用的是网上最新的，自动更新版本的，稳定版的刚也试了一样有问题）。\r\n\r\n请群主百忙中帮忙看下具体原因，谢谢！\r\n\r\n截图如下：\r\n![ib](https://user-images.githubusercontent.com/31505150/38125609-512f42a2-341d-11e8-8d3f-8d145eecd859.jpg)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vnpy/vnpy/issues/comments/395257858","html_url":"https://github.com/vnpy/vnpy/issues/804#issuecomment-395257858","issue_url":"https://api.github.com/repos/vnpy/vnpy/issues/804","id":395257858,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTI1Nzg1OA==","user":{"login":"vnpy","id":11263900,"node_id":"MDQ6VXNlcjExMjYzOTAw","avatar_url":"https://avatars0.githubusercontent.com/u/11263900?v=4","gravatar_id":"","url":"https://api.github.com/users/vnpy","html_url":"https://github.com/vnpy","followers_url":"https://api.github.com/users/vnpy/followers","following_url":"https://api.github.com/users/vnpy/following{/other_user}","gists_url":"https://api.github.com/users/vnpy/gists{/gist_id}","starred_url":"https://api.github.com/users/vnpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vnpy/subscriptions","organizations_url":"https://api.github.com/users/vnpy/orgs","repos_url":"https://api.github.com/users/vnpy/repos","events_url":"https://api.github.com/users/vnpy/events{/privacy}","received_events_url":"https://api.github.com/users/vnpy/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T00:46:56Z","updated_at":"2018-06-07T00:46:56Z","author_association":"OWNER","body":"就是这个问题了，我这边机器没有。类似情况我在开发vn.ib接口的时候有遇到过，具体原因到最后也没查出来，总体上做了几件事情后自己消失了：\r\n1. 升级TWS到最新版\r\n2. 换了个电脑（可能去掉了防火墙等一些东西）\r\n3. 编译了新的vnpy.ib"}}
{"actor":{"display_login":"vnpy"}}