Skip to content

An existing connection was forcibly closed by the remote host #246

@sharmapn

Description

@sharmapn

Hello,

I am trying to download the below website for my research. But I got the error that the remote host closed the connection.
Is this for all websites hosted on the web archive?
If not, how can I resolve this?

PS D:\wayback-machine-downloader-master\bin> ruby wayback_machine_downloader https://www.mentalhealthforum.net/forum/
Downloading https://www.mentalhealthforum.net/forum/ to websites/www.mentalhealthforum.net/ from Wayback Machine archives.

Getting snapshot pages......D:/Ruby32-x64/lib/ruby/3.2.0/net/protocol.rb:46:in `connect_nonblock': An existing connection was forcibly closed by the remote host. - SSL_connect (Errno::ECONNRESET)
        from D:/Ruby32-x64/lib/ruby/3.2.0/net/protocol.rb:46:in `ssl_socket_connect'
        from D:/Ruby32-x64/lib/ruby/3.2.0/net/http.rb:1342:in `connect'
        from D:/Ruby32-x64/lib/ruby/3.2.0/net/http.rb:1248:in `do_start'
        from D:/Ruby32-x64/lib/ruby/3.2.0/net/http.rb:1237:in `start'
        from D:/Ruby32-x64/lib/ruby/3.2.0/open-uri.rb:327:in `open_http'
        from D:/Ruby32-x64/lib/ruby/3.2.0/open-uri.rb:760:in `buffer_open'
        from D:/Ruby32-x64/lib/ruby/3.2.0/open-uri.rb:214:in `block in open_loop'
        from D:/Ruby32-x64/lib/ruby/3.2.0/open-uri.rb:212:in `catch'
        from D:/Ruby32-x64/lib/ruby/3.2.0/open-uri.rb:212:in `open_loop'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions