{"action":"created","issue":{"url":"https://api.github.com/repos/SignalR/SignalR/issues/3475","repository_url":"https://api.github.com/repos/SignalR/SignalR","labels_url":"https://api.github.com/repos/SignalR/SignalR/issues/3475/labels{/name}","comments_url":"https://api.github.com/repos/SignalR/SignalR/issues/3475/comments","events_url":"https://api.github.com/repos/SignalR/SignalR/issues/3475/events","html_url":"https://github.com/SignalR/SignalR/issues/3475","id":71195379,"number":3475,"title":"HubContext group call issue","user":{"login":"jahtalab","id":6134122,"avatar_url":"https://avatars.githubusercontent.com/u/6134122?v=3","gravatar_id":"","url":"https://api.github.com/users/jahtalab","html_url":"https://github.com/jahtalab","followers_url":"https://api.github.com/users/jahtalab/followers","following_url":"https://api.github.com/users/jahtalab/following{/other_user}","gists_url":"https://api.github.com/users/jahtalab/gists{/gist_id}","starred_url":"https://api.github.com/users/jahtalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jahtalab/subscriptions","organizations_url":"https://api.github.com/users/jahtalab/orgs","repos_url":"https://api.github.com/users/jahtalab/repos","events_url":"https://api.github.com/users/jahtalab/events{/privacy}","received_events_url":"https://api.github.com/users/jahtalab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-04-27T06:50:32Z","updated_at":"2016-07-25T17:26:15Z","closed_at":null,"body":"I'm using signalR to broadcast values to clients, I created a singleton class that gets HubContext like this:\r\n\r\n```c#\r\nprivate readonly Lazy<IHubContext> _tickerHubContext = new Lazy<IHubContext>(() => GlobalHost.ConnectionManager.GetHubContext<TickerHub>());\r\n``` \r\n\r\nalso in my TickerHub class i have a subscribe method that clients call and i register them in a group.\r\n\r\nthe issue is that when i try to call a client method using a group it doesn't work.\r\n\r\nI traced SignalR code, and it looks like the problem is in MessageBus class, Publish method:\r\n```c#\r\n    public virtual Task Publish(Message message)\r\n    {\r\n      if (message == null)\r\n        throw new ArgumentNullException(\"message\");\r\n      Topic topic;\r\n      if (this.Topics.TryGetValue(message.Key, out topic))\r\n      {\r\n        long num = (long) topic.Store.Add(message);\r\n        this.ScheduleTopic(topic);\r\n      }\r\n      this.Counters.MessageBusMessagesPublishedTotal.Increment();\r\n      this.Counters.MessageBusMessagesPublishedPerSec.Increment();\r\n      return TaskAsyncHelper.Empty;\r\n    }\r\n```\r\nthe topic that SignalProxy generates for group call, doesn't exist in this.Topics,\r\n\r\nalso since i'm working on this I'm interested in contributing to SignalR respository,\r\nbut I need some help to figure out what exactly is causing this issue.\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/SignalR/SignalR/issues/comments/235022331","html_url":"https://github.com/SignalR/SignalR/issues/3475#issuecomment-235022331","issue_url":"https://api.github.com/repos/SignalR/SignalR/issues/3475","id":235022331,"user":{"login":"Reedwarbler","id":3340363,"avatar_url":"https://avatars.githubusercontent.com/u/3340363?v=3","gravatar_id":"","url":"https://api.github.com/users/Reedwarbler","html_url":"https://github.com/Reedwarbler","followers_url":"https://api.github.com/users/Reedwarbler/followers","following_url":"https://api.github.com/users/Reedwarbler/following{/other_user}","gists_url":"https://api.github.com/users/Reedwarbler/gists{/gist_id}","starred_url":"https://api.github.com/users/Reedwarbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reedwarbler/subscriptions","organizations_url":"https://api.github.com/users/Reedwarbler/orgs","repos_url":"https://api.github.com/users/Reedwarbler/repos","events_url":"https://api.github.com/users/Reedwarbler/events{/privacy}","received_events_url":"https://api.github.com/users/Reedwarbler/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T17:26:15Z","updated_at":"2016-07-25T17:26:15Z","body":"@halter73  I didn't set the load balance, and there is only one instance."}}
{"actor":{"display_login":"Reedwarbler"}}