hartator / wayback-machine-downloader

Download an entire website from the Wayback Machine.
Other
5.16k stars 677 forks source link

Error: Connection reset by peer #102

Open Mohamedemad4 opened 6 years ago

Mohamedemad4 commented 6 years ago

hello I tried running the program after installing it with:

gem build wayback_machine_downloader.gemspec
gem install wayback_machine_downloader-2.1.1.gem

and I ran with the following parameters:

wayback_machine_downloader http://example.com

but it returned the following error:

<internal:prelude>:76:in__read_nonblock': Connection reset by peer (Errno::ECONNRESET) from :76:in read_nonblock' from /usr/lib/ruby/2.3.0/net/protocol.rb:154:inrbuf_fill' from /usr/lib/ruby/2.3.0/net/protocol.rb:136:in readuntil' from /usr/lib/ruby/2.3.0/net/protocol.rb:146:inreadline' from /usr/lib/ruby/2.3.0/net/http/response.rb:40:in read_status_line' from /usr/lib/ruby/2.3.0/net/http/response.rb:29:inread_new' from /usr/lib/ruby/2.3.0/net/http.rb:1437:in block in transport_request' from /usr/lib/ruby/2.3.0/net/http.rb:1434:incatch' from /usr/lib/ruby/2.3.0/net/http.rb:1434:in transport_request' from /usr/lib/ruby/2.3.0/net/http.rb:1407:inrequest' from /usr/lib/ruby/2.3.0/open-uri.rb:325:in block in open_http' from /usr/lib/ruby/2.3.0/net/http.rb:853:instart' from /usr/lib/ruby/2.3.0/open-uri.rb:319:in open_http' from /usr/lib/ruby/2.3.0/open-uri.rb:737:inbuffer_open' from /usr/lib/ruby/2.3.0/open-uri.rb:212:in block in open_loop' from /usr/lib/ruby/2.3.0/open-uri.rb:210:incatch' from /usr/lib/ruby/2.3.0/open-uri.rb:210:in open_loop' from /usr/lib/ruby/2.3.0/open-uri.rb:151:inopen_uri' from /usr/lib/ruby/2.3.0/open-uri.rb:717:in open' from /usr/lib/ruby/2.3.0/open-uri.rb:35:inopen' from /var/lib/gems/2.3.0/gems/wayback_machine_downloader-2.1.1/lib/wayback_machine_downloader/archive_api.rb:8:in get_raw_list_from_api' from /var/lib/gems/2.3.0/gems/wayback_machine_downloader-2.1.1/lib/wayback_machine_downloader.rb:87:inget_all_snapshots_to_consider' from /var/lib/gems/2.3.0/gems/wayback_machine_downloader-2.1.1/lib/wayback_machine_downloader.rb:104:in get_file_list_curated' from /var/lib/gems/2.3.0/gems/wayback_machine_downloader-2.1.1/lib/wayback_machine_downloader.rb:131:inget_file_list_by_timestamp' from /var/lib/gems/2.3.0/gems/wayback_machine_downloader-2.1.1/lib/wayback_machine_downloader.rb:270:in file_list_by_timestamp' from /var/lib/gems/2.3.0/gems/wayback_machine_downloader-2.1.1/lib/wayback_machine_downloader.rb:154:indownload_files' from /var/lib/gems/2.3.0/gems/wayback_machine_downloader-2.1.1/bin/wayback_machine_downloader:68:in <top (required)>' from /usr/local/bin/wayback_machine_downloader:23:inload' from /usr/local/bin/wayback_machine_downloader:23:in <main>'

hartator commented 6 years ago

Try with last Gem version, might be solved.

CosmicStar98 commented 1 year ago

im still getting this error. how to fix???