Hi Glenn,
Thanks for your response.
Unfortunately forcing websockets alone does not appear to do the trick.
I have basically created another app by following this article: https://www.windowsazure.com/en-us/develop/nodejs/tutorials/app-using-socketio/ (I used a worker role for the node app).
By default socket.io transports default to
websocket, htmlfile, xhr-polling, jsonp-polling according to https://github.com/LearnBoost/Socket.IO/wiki/Configuring-Socket.IO, so the websocket transport should be chosen by default (without even configuring it in the app). This is exactly what
I did and when running in the local emulator it works just fine in Chrome (you can see it in Tools > Developer Tools > Network) but not when deploying to Azure.
Even configuring the transport explicitly does not do the trick (the app simply hangs given that no other fallbacks are allowed):
var io = sio.listen(app) , nicknames = {};
io.set('transports', ['websocket']);
io.sockets.on('connection', function (socket) {...
I also enabled remote desktop for my worker role and see that my application files are located in f:\\approot. I am unclear where the logs go to, can you point me to the appropriate location/setup?
Finally, I would very much appreciate it if you can point me to a working deployment of the Node.js/socket.io example chat application where I can see it actually working.
By now I have spent a significant amount of time trying to get this trial application working. I consider this a task that should not take more than 10 minutes for evaluation purposes, especially given that it is almost trivial to setup on AWS. Searching
the Web for related content appears also extremely sparse leaving me to think this is a feature that is supposed to work but nobody actually tried out by deploying the chat app and looking at the network transports.
If the node.js integration in Azure is currently not production ready I would appreciate knowing about this.
Thanks in advance for digging deeper here.
Regards,
-Alex