I am attempting to get websockets working in my dev environment:
In addition to the above solutions for troubleshooting WebSockets problems in SignalR, if you are inside a corporate network (or something similarly structured) it is likely that your proxies and firewalls will interfere with the handshake.
But, if you access it over SSL, the wrapper it provides protects it from this interference in many cases.