Node.js iisnode https 500 HRESULT 0x6d subStatus 1013

I am currently working on a live chat with socket.io and node.js. Everything works fine on my development machine. I can call my socket.io server on port 888.

The same port is free and available on my production server.

I can't figure out why IIS is throwing 500 errors. Anyone have an idea?

The following error is thrown:

HRESULT: 0x6d
HTTP status: 500
HTTP subStatus: 1013
HTTP reason: Internal Server Error

      

+3


source to share


1 answer


My problem was my IIS hosting was running at 443 https. In node.js, I also wanted to use https with the same .pfx file. This does not work.

Also there is no need to use https for node.js if the site is hosted in an SSL environment. The connection is through wss and is secure.



Instead, require('https')

I came up with require('http')

.

+3


source







All Articles