I have a very simple grid that I am adding a runtime (e.g. user clicks a button to add this grid). The OnConnected event of my hub never gets fired. Interestingly when I move the same code to the $(document).ready(function() it works fine. It appears the issue is with binding the client to the hub dynamically.
My code, the values of chat and hubStart are valid.