Git Product home page Git Product logo

webchk's People

Contributors

amgedr avatar pyup-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

webchk's Issues

ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

I keep getting this error in webchk, not sure why. It happens sometimes. When I check the output file, I still see good progress, plenty of 200s and 404s, but also a lot of Operation timed outs.

Exception in thread Thread-350 (_process_url):
Traceback (most recent call last):
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner
self.run()
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run
self._target(*self._args, **self.kwargs)
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\site-packages\webchk_main
.py", line 9, in _process_url
resp = http_response(url, parse=parse_xml)
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\site-packages\webchk\http.py", line 114, in http_response
result = _http_request(loc, get_request=get_request)
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\site-packages\webchk\http.py", line 78, in _http_request
conn.request(method, loc.path)
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1276, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1322, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1271, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1031, in _send_output
self.send(msg)
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 969, in send
self.connect()
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1448, in connect
self.sock = self._context.wrap_socket(self.sock,
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 512, in wrap_socket
return self.sslsocket_class._create(
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 1070, in _create
self.do_handshake()
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 1341, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

cannot save output to a file

Windows 10 Enterprise 18.03
Steps: When I use -o argument, I am not getting the file created and ouput saved there.

webchk -i list.txt -o test.txt

Result: I am getting everything printed in console, but no file is created and no content is inserted there.
Please advise.

Thank you,
Paul

How to pass user agent?

Dear Amged,

I hope your health is well.

I would love to know how I can pass user agent using webchk. Different user agents may be necessary to visit some sites or get the appropriate status code.

Thank you so much.

Initial Update

Hi ๐Ÿ‘Š

This is my first visit to this fine repo, but it seems you have been working hard to keep all dependencies updated so far.

Once you have closed this issue, I'll create separate pull requests for every update as soon as I find one.

That's it for now!

Happy merging! ๐Ÿค–

Webchk fails at "Connection Timed Out"

Hello,

I love the project but webchk fails when I provide a link which results in connection timed out. Example URL: 2gactivation.apple.com Webchk crashes with an error rather than just printing could resolve and checking the next link in my input file. This prevents all the URLs from being checked.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.