Search code examples
node.jsiis-7iisnode

503 "Service Unavailable" error for all apps after installing iisnode


After installing iisnode on Windows Server 2008 SP2 (32 bit), all previously functioning apps report a "HTTP Error 503. The service is unavailable." None of these applications are registering or using the iisnode module.

The application pools are stopped after processing their first request. The event log reports the error as EventID 5002 with:

"Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool."

Prior to that error, there are several Warnings as Event ID 3139 with:

"A listener channel for protocol 'http' in worker process '1688' serving application pool 'DefaultAppPool' reported a listener channel failure. The data field contains the error number."

I've given the app pool identity read/execute permissions to the node.exe (v0.8.14), as well as C:\Program Files\iisnode\iisnode.dll.

If I remove the iisnode module from iis, the sites and app pools run fine.

Any ideas on how to resolve these errors?


Solution

  • It is due to this bug: https://github.com/tjanczuk/iisnode/issues/231. The bug is already fixed and a new version of iisnode with the fix will be released shortly.

    In the meantime you can use iisnode 0.2.0 on Windows Server 2008 R2 or move back to iisnode 0.1.21.