Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Can't load pages after limited number of requests to IIS / iisnode and websocket issues?/ Recycling app pools?

$
0
0

I have been developing my first chatroom with iisnode (node.js) and websockets.

The chatroom works fine for the most part.  I can open up 2 or three browsers and chat back and forth.

But trouble arises when I load up 4 or 5 pages, or if I start refreshing the page a dozen times in a row.

IIS stops responding to the requests, and the browser is left trying to GET the page (and never succeeds).

The only way to fix this, even after closing the node process, is to Recycle my App pool.

Are there limits on websockets?  Are there limits to the maximum number of GET requests that can happen at once?

Also note that I am not launching the server with Node.exe. 

I used IIS's rewrite module to rewrite the socket.io/1/?t=1234567890 request to server.js.  (I can't execute Node.exe directly in web hosting)


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>