{"action":"created","issue":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/4056","repository_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate","labels_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/4056/labels{/name}","comments_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/4056/comments","events_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/4056/events","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/4056","id":386082940,"node_id":"MDU6SXNzdWUzODYwODI5NDA=","number":4056,"title":"Abp.AspNetCore.SignalR reconnection doesn't work","user":{"login":"wuyi23","id":11494510,"node_id":"MDQ6VXNlcjExNDk0NTEw","avatar_url":"https://avatars2.githubusercontent.com/u/11494510?v=4","gravatar_id":"","url":"https://api.github.com/users/wuyi23","html_url":"https://github.com/wuyi23","followers_url":"https://api.github.com/users/wuyi23/followers","following_url":"https://api.github.com/users/wuyi23/following{/other_user}","gists_url":"https://api.github.com/users/wuyi23/gists{/gist_id}","starred_url":"https://api.github.com/users/wuyi23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuyi23/subscriptions","organizations_url":"https://api.github.com/users/wuyi23/orgs","repos_url":"https://api.github.com/users/wuyi23/repos","events_url":"https://api.github.com/users/wuyi23/events{/privacy}","received_events_url":"https://api.github.com/users/wuyi23/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-30T08:20:02Z","updated_at":"2018-12-06T07:33:14Z","closed_at":"2018-11-30T10:36:45Z","author_association":"NONE","body":"Hi,I used \"Abp.AspNetCore.SignalR 3.4.0-preview2\"  in program.I want  reconnects to the server  when the client disconnects,but it doesn‘ work.Was it my code error?My client code as follow:\r\n\r\n    <script src=\"/js/lib/signalr-client/signalr.min.js\" ></script>\r\n    <script src=\"/js/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.signalr-client.js\"></script>\r\n    <script>\r\n        var chatHub = null;\r\n        $(function () {\r\n            abp.signalr.startConnection('/optManagementCockpitHub',\r\n                function (connection) {\r\n                    chatHub = connection; // Save a reference to the hub\r\n                    //test\r\n                    connection.on('getMessage',\r\n                        function (message) { // Register for incoming messages\r\n                            alert('received message: ' + message);\r\n                        });\r\n\r\n                    connection.on('refreshFlowCountMaxTopFive',\r\n                        function (data) { // Register for incoming messages\r\n                            alert('received refreshFlowCountMaxTopFive: ' + JSON.stringify(data));\r\n                        });\r\n        });\r\n\r\n        function mytest() {\r\n            alert(\"aa\");\r\n            chatHub.invoke('sendMessage', \"testwuwu!\"); // Send a message to the server\r\n        }\r\n    </script>\r\n    <button onclick=\"mytest()\">Send</button>\r\n"},"comment":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/comments/444775836","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/4056#issuecomment-444775836","issue_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/4056","id":444775836,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDc3NTgzNg==","user":{"login":"wuyi23","id":11494510,"node_id":"MDQ6VXNlcjExNDk0NTEw","avatar_url":"https://avatars2.githubusercontent.com/u/11494510?v=4","gravatar_id":"","url":"https://api.github.com/users/wuyi23","html_url":"https://github.com/wuyi23","followers_url":"https://api.github.com/users/wuyi23/followers","following_url":"https://api.github.com/users/wuyi23/following{/other_user}","gists_url":"https://api.github.com/users/wuyi23/gists{/gist_id}","starred_url":"https://api.github.com/users/wuyi23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuyi23/subscriptions","organizations_url":"https://api.github.com/users/wuyi23/orgs","repos_url":"https://api.github.com/users/wuyi23/repos","events_url":"https://api.github.com/users/wuyi23/events{/privacy}","received_events_url":"https://api.github.com/users/wuyi23/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T07:33:14Z","updated_at":"2018-12-06T07:33:14Z","author_association":"NONE","body":"@maliming @liangshiw Thanks, but I read about it in the abp documents:\"ASP.NET Boilerplate also automatically reconnects to the server (from the client) when the client disconnects, if abp.signalr.autoConnect is true......\".Is my abp version too low?"}}
{"actor":{"display_login":"wuyi23"}}