6 Replies Last post: Feb 21, 2012 9:04 PM by Chris Eardley  
Chris Eardley Newbie 11 posts since
Feb 19, 2012
Currently Being Moderated

Feb 19, 2012 4:10 PM

Validation of web links blocked by some servers?

Hi

I notice that resource validation works on some servers but not others; in other words http://www.server1.com/index.htm will show up as existing but http://www.server2.com/index.htm does not. Presumably this is due to server 2 blocking the ping or whatever it is that phpstorm sends out to validate the file. Could someone give me a clue about how I get server2 to respond properly to phpstorm? I'm guessing it's some sort of firewall/port issue.

Thanks.

Eugene Kudelevsky JetBrains 186 posts since
Jun 19, 2009
Currently Being Moderated
Feb 20, 2012 3:16 PM in response to: Chris Eardley
Re: Validation of web links blocked by some servers?

Actually, we send GET http request to the URL. If we get valid response with code differning from OK (200) and TIMEOUT (408), then we highlight the link as unresoved. Also we consider the link as unresolved if we get "unknown host" error, but there is some "known" host in the file (that means internet connection seems to be available).

Eugene Kudelevsky JetBrains 186 posts since
Jun 19, 2009
Currently Being Moderated
Feb 21, 2012 6:25 PM in response to: Chris Eardley
Re: Validation of web links blocked by some servers?

Unfortunatelly I cannot reproduce it. BTW, it seems like a bug. Could you, please, create an issue in our tracker and attach idea.log file?

Eugene Kudelevsky JetBrains 186 posts since
Jun 19, 2009
Currently Being Moderated
Feb 21, 2012 7:05 PM in response to: Chris Eardley
Re: Validation of web links blocked by some servers?

Logs of IDE are in:

  • Windows and Linux: ~\.WebIde...\system\log\
  • Mac OS X: ~/Library/Logs/WebIde.../

More Like This

  • Retrieving data ...