{"comment":{"created_at":"2011-10-09T20:07:22Z","body":"Why do you create a new connection every time to send to the chat server? That's bad, keep the connection object alive. What OS are you running this on Windows server?","updated_at":"2011-10-09T20:07:22Z","url":"https://api.github.com/repos/SignalR/SignalR/issues/comments/2338453","id":2338453,"user":{"avatar_url":"https://secure.gravatar.com/avatar/1fe64ebb176498be5f73ab51986c6b7b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/davidfowl","id":95136,"login":"davidfowl"}},"action":"created","issue":{"number":39,"created_at":"2011-10-09T19:18:23Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I have the simple, non-hub chat client (from hanselman's blog post) which works (http://www.mysite.com/echo). From another web server I have VB.Net code that is also sending messages to the chat server like (using the Signalr client): \r\n\r\n    Public Sub SendMessage(msg As String)\r\n        Dim connection As New Connection(\"http://www.mysitecom/echo\")\r\n        connection.Start().Wait()\r\n        connection.Send(msg)\r\n    End Sub\r\n\r\nSo, on one of the chat clients I type \"test\" and click send. It will echo back to me. Then I call the above code from the other server a few times and nothing appears in my chat client. I then type 'test2' in the chat client and It echos back to me 'test2' plus all the messages I sent from the other server. Here is my chat server code: \r\n\r\n    Public Class UsersConnection\r\n        Inherits PersistentConnection\r\n        Protected Overrides Function OnReceivedAsync(clientId As String, data As String) As System.Threading.Tasks.Task\r\n            Logging.NewEvent() _\r\n                        .Text(\"OnReceivedAsync: '{0}', '{1}'\", clientId, data) _\r\n                        .Tags(\"signal received\") _\r\n                        .Post()\r\n            Return Connection.Broadcast(data)\r\n        End Function\r\n    End Class\r\n\r\nThe logging code in the OnReceivedAsync method does not get called for the other web server until the 'test2' message is sent. Once the 'test2' message is sent from the chat client, I get a log event for all the blocked messages from other server, then a log event for 'test2'.","comments":1,"title":"Sends being blocked","updated_at":"2011-10-09T20:07:22Z","url":"https://api.github.com/repos/SignalR/SignalR/issues/39","id":1857977,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/903b6e7caedc64b301bb6329188c4c4d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/davideweaver","id":737309,"login":"davideweaver"},"html_url":"https://github.com/SignalR/SignalR/issues/39","labels":[],"state":"open"},"legacy":{"issue_id":1857977,"comment_id":2338453}}