Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to timeout? #15

Open
daknob opened this issue Jan 19, 2015 · 6 comments
Open

Fail to timeout? #15

daknob opened this issue Jan 19, 2015 · 6 comments

Comments

@daknob
Copy link

daknob commented Jan 19, 2015

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.

@benjaminp
Copy link
Owner

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:
#15

@daknob
Copy link
Author

daknob commented Jan 19, 2015

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
Copy link
Author

daknob commented Jan 19, 2015

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?

@benjaminp
Copy link
Owner

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

@daknob
Copy link
Author

daknob commented Jan 19, 2015

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

@daknob
Copy link
Author

daknob commented Jan 19, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants