IIS Extension Error : Unknown error has occurred when trying to initialize Web Server Module

Copper Contributor

Hi guys,

 

I take a small look on this issue but can't find something.

After installing the IIS extension and the IIS Administration plugin on my remote server, i always get this error : 

 

Unknown error has occurred when trying to initialize Web Server Module: "La connexion sous-jacente a été fermée : Une erreur inattendue s'est produite lors de la réception."

 

The part in french should be "The underlying connection was closed: An unexpected error occurred on a send." (I think)

 

In the debug console I have an error 400 on a put (/powershellApi/pssessions/wac-iis-newSession?api-version=2019-02-01 400 (Bad Request))

 

and this stack : 

 

(object): Script ##Initialize-AdminAPI##:Initialize-AdminAPI.ps1 failed

(object): AjaxError: ajax error 400

(object): Unable to parse error message SyntaxError: Unexpected token L in JSON at position 0, the error must be unexpected

ERROR Error: Uncaught (in promise): Unknown error has occurred when trying to initialize Web Server Module: "La connexion sous-jacente a été fermée : Une erreur inattendue s'est produite lors de la réception."
at resolvePromise (zone.js:814)
at resolvePromise (zone.js:771)
at zone.js:873
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.js:19821)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)
at drainMicroTaskQueue (zone.js:595)
at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:500)
at invokeTask (zone.js:1540)

Any idea ?

0 Replies