httpswatch icon indicating copy to clipboard operation
httpswatch copied to clipboard

Fail to timeout?

Open daknob opened this issue 10 years ago • 6 comments

Just ran a copy of this project with a changed sites.json file. All sites are valid and can be DNS resolved. I have 33 websites in the list, but one of them (no idea which) causes the script to stay forever at 32/33. It keeps repeating itself forever. Socket timeout works on other websites.

daknob avatar Jan 19 '15 03:01 daknob

What site is causing problems?

On Sun, Jan 18, 2015, at 22:03, DaKnOb wrote:

Just ran a copy of this project with a changed sites.json file. All sites are valid and can be DNS resolved. I have 33 websites in the list, but one of them (no idea which) causes the script to stay forever at 32/33. It keeps repeating itself forever. Socket timeout works on other websites.


Reply to this email directly or view it on GitHub: https://github.com/gutworth/httpswatch/issues/15

benjaminp avatar Jan 19 '15 03:01 benjaminp

I'd be glad to provide the URL of the website but I added all 33 websites to the JSON and then ran the script, which means I have no way of knowing this, unless I remove the sites one-by-one and see which one was it. Any way to print the site each thread processes in the progress that's printed every second for debugging purposes? If not, I'll have to remove the sites one-by-one. Thanks

daknob avatar Jan 19 '15 03:01 daknob

The domain is www.tuc.gr which seems to be causing the trouble. It is resolvable, with port 443 open but if you send anything via telnet it simply doesn't reply. Guess we should add more than socket timeout?

daknob avatar Jan 19 '15 03:01 daknob

I get EOF occurred in violation of protocol (_ssl.c:600). Maybe you have an old version of openssl, which is hanging?

benjaminp avatar Jan 19 '15 03:01 benjaminp

It's OpenSSL 1.0.1e w/ debian security patches.. Maybe that's it..

daknob avatar Jan 19 '15 03:01 daknob

Neither OpenSSL v1.0.1j nor OpenSSL v1.0.1k seem to fix the problem..

daknob avatar Jan 19 '15 03:01 daknob