MicrosoftEdge/static-code-scan

'offline' not working within local

Closed this issue · 9 comments

Hello,
I'm trying to get the modern.ie code project to work 'offline' within my local environment. I setup a local URL as http://localhost:1339/index.html. I've setup a test page simply as http://localhost:1339/test1/test1.html. I've set the /lib directory as the root folder within IIS and the other directories as Virtual Directories (may not be necessary).

  • master branch: I get 500 error on scan report result on the modern.ie site.
  • vNext branch: I get empty scan report results on modern.ie site.
  • I've tried in IE9 and IE11.
  • I've tried changing the HTTP to HTTPS in the form post

Any help would be appreciated. Thanks.

Are you using any type of authentication with IIS (ntlm for example)?

Is the error 500 the result of scanning your website or does it actually have a problem?
If you try scanning another website (www.bing.com for example), does it work?
Have you tried using http://127.0.0.1/index.html?

-----Original Message-----
From: "DisposableHero" notifications@github.com
Sent: ‎3/‎23/‎2015 6:30 AM
To: "InternetExplorer/modern.IE-static-code-scan" modern.IE-static-code-scan@noreply.github.com
Subject: [modern.IE-static-code-scan] 'offline' not working within local (#87)

Hello,
I'm trying to get the modern.ie code project to work 'offline' within my local environment. I setup a local URL as http://localhost:1339/index.html. I've setup a test page simply as http://localhost:1339/test1/test1.html. I've set the /lib directory as the root folder within IIS and the other directories as Virtual Directories (may not be necessary).
master branch: I get 500 error on scan report result on the modern.ie site.
vNext branch: I get empty scan report results on modern.ie site.
I've tried in IE9 and IE11.
I've tried changing the HTTP to HTTPS in the form post
Any help would be appreciated. Thanks.

Reply to this email directly or view it on GitHub.

Thanks for response molant. I'm using Windows 7 Enterprise with IIS 6 with Anonymous Authentication enabled. For 'www.bing.com' I get error 'Failed: 0' alert along with Error: "name" and "value" for setHeader(). Same errors with any local static test pages such as http://localhost:1339/test1/test1.html.

You are using node 0.12. This is a known issue (see other issues). The work around for now is to use 0.10.36.

Thanks!

-----Original Message-----
From: "DisposableHero" notifications@github.com
Sent: ‎3/‎24/‎2015 6:31 AM
To: "InternetExplorer/modern.IE-static-code-scan" modern.IE-static-code-scan@noreply.github.com
Cc: "Anton Molleda" amolleda@gmail.com
Subject: Re: [modern.IE-static-code-scan] 'offline' not working within local(#87)

Thanks for response molant. I'm using Windows 7 Enterprise with IIS 6 with Anonymous Authentication enabled. For 'www.bing.com' I get error 'Failed: 0' alert along with Error: "name" and "value" for setHeader(). Same errors with any local static test pages such as http://localhost:1339/test1/test1.html.

Reply to this email directly or view it on GitHub.

Yes, that fixed it. Thanks!

I am not able to scan an application, node has been successfully installed. later I installed npm. It still shows me 500 just after entering url usename and password
PFA Screen shot of RESULT shown on cmd

Sorry could not send screen shot due to security issue.
{ [Error: connect TIMEDOUT]

Failded: 500
{ "cause":{"code":"ETIMEDOUT", errno:ETIMEDOUT, syscall:connect}
isOpertionable:true,"code":ETIMEDOUT,errno:ETIMEDOUT,syscall:connect}

@dharmeshqk does the website you are trying to scan require authentication like NTLM? That could be the issue

@molant : We will check with Server support team whether we are using any authentication like NTLM or any other. By time, can you guide what is work around for that. Thanks!!