hartator / wayback-machine-downloader

Download an entire website from the Wayback Machine.
Other
5.36k stars 713 forks source link

Failed to open TCP connection to web.archive.org:443 (Connection refused - connect(2) for "web.archive.org" port 443) (Errno::ECONNREFUSED) #300

Open sarowarhosen03 opened 4 months ago

sarowarhosen03 commented 4 months ago

suddenly the process was stooped can anyone tell me what the issue?

image i'm usiing buntu 24.04 LTS x86_64

─$ wayback_machine_downloader https://smallbiography.com -f 20230330164319 1 ↵
Downloading https://smallbiography.com to websites/smallbiography.com/ from Wayback Machine archives.

Getting snapshot pages..................../usr/lib/ruby/3.2.0/net/http.rb:1603:in `initialize': Failed to open TCP connection to web.archive.org:443 (Connection refused - connect(2) for "web.archive.org" port 443) (Errno::ECONNREFUSED)
    from /usr/lib/ruby/3.2.0/net/http.rb:1603:in `open'
    from /usr/lib/ruby/3.2.0/net/http.rb:1603:in `block in connect'
    from /usr/lib/ruby/3.2.0/timeout.rb:189:in `block in timeout'
    from /usr/lib/ruby/3.2.0/timeout.rb:196:in `timeout'
    from /usr/lib/ruby/3.2.0/net/http.rb:1601:in `connect'
    from /usr/lib/ruby/3.2.0/net/http.rb:1580:in `do_start'
    from /usr/lib/ruby/3.2.0/net/http.rb:1569:in `start'
    from /usr/lib/ruby/3.2.0/open-uri.rb:327:in `open_http'
    from /usr/lib/ruby/3.2.0/open-uri.rb:760:in `buffer_open'
    from /usr/lib/ruby/3.2.0/open-uri.rb:214:in `block in open_loop'
    from /usr/lib/ruby/3.2.0/open-uri.rb:212:in `catch'
    from /usr/lib/ruby/3.2.0/open-uri.rb:212:in `open_loop'
    from /usr/lib/ruby/3.2.0/open-uri.rb:153:in `open_uri'
    from /usr/lib/ruby/3.2.0/open-uri.rb:740:in `open'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader/archive_api.rb:13:in `get_raw_list_from_api'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:92:in `block in get_all_snapshots_to_consider'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:91:in `times'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:91:in `get_all_snapshots_to_consider'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:105:in `get_file_list_curated'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:164:in `get_file_list_by_timestamp'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:309:in `file_list_by_timestamp'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:192:in `download_files'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/bin/wayback_machine_downloader:72:in `<top (required)>'
    from /usr/local/bin/wayback_machine_downloader:25:in `load'
    from /usr/local/bin/wayback_machine_downloader:25:in `<main>'
/usr/lib/ruby/3.2.0/net/http.rb:1603:in `initialize': Connection refused - connect(2) for "web.archive.org" port 443 (Errno::ECONNREFUSED)
    from /usr/lib/ruby/3.2.0/net/http.rb:1603:in `open'
    from /usr/lib/ruby/3.2.0/net/http.rb:1603:in `block in connect'
    from /usr/lib/ruby/3.2.0/timeout.rb:189:in `block in timeout'
    from /usr/lib/ruby/3.2.0/timeout.rb:196:in `timeout'
    from /usr/lib/ruby/3.2.0/net/http.rb:1601:in `connect'
    from /usr/lib/ruby/3.2.0/net/http.rb:1580:in `do_start'
    from /usr/lib/ruby/3.2.0/net/http.rb:1569:in `start'
    from /usr/lib/ruby/3.2.0/open-uri.rb:327:in `open_http'
    from /usr/lib/ruby/3.2.0/open-uri.rb:760:in `buffer_open'
    from /usr/lib/ruby/3.2.0/open-uri.rb:214:in `block in open_loop'
    from /usr/lib/ruby/3.2.0/open-uri.rb:212:in `catch'
    from /usr/lib/ruby/3.2.0/open-uri.rb:212:in `open_loop'
    from /usr/lib/ruby/3.2.0/open-uri.rb:153:in `open_uri'
    from /usr/lib/ruby/3.2.0/open-uri.rb:740:in `open'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader/archive_api.rb:13:in `get_raw_list_from_api'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:92:in `block in get_all_snapshots_to_consider'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:91:in `times'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:91:in `get_all_snapshots_to_consider'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:105:in `get_file_list_curated'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:164:in `get_file_list_by_timestamp'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:309:in `file_list_by_timestamp'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:192:in `download_files'
    from /var/lib/gems/3.2.0/gems/wayback_machine_downloader-2.3.1/bin/wayback_machine_downloader:72:in `<top (required)>'
    from /usr/local/bin/wayback_machine_downloader:25:in `load'
    from /usr/local/bin/wayback_machine_downloader:25:in `<main>'
╭─shuvo@ubuntu
zisra commented 4 months ago
Screenshot 2024-07-19 at 1 04 05 AM

Same issue here

jmamma commented 3 months ago

Same, on MacOS

LePdP commented 2 months ago

Same here. Any solutions?