{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/1e7feae77472f0a960a8174683c6e54e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1e7feae77472f0a960a8174683c6e54e","url":"https://api.github.com/users/bjoseph","login":"bjoseph","id":666471},"milestone":{"state":"open","open_issues":1,"url":"https://api.github.com/repos/tenderlove/mechanize/milestones/5","due_on":null,"number":5,"creator":{"avatar_url":"https://secure.gravatar.com/avatar/58479f76374a3ba3c69b9804163f39f4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"58479f76374a3ba3c69b9804163f39f4","url":"https://api.github.com/users/drbrain","login":"drbrain","id":9831},"title":"mechanize 2.1","description":"","closed_issues":16,"created_at":"2011-10-20T04:51:34Z"},"labels":[{"name":"Bug","color":"ff0000","url":"https://api.github.com/repos/tenderlove/mechanize/labels/Bug"}],"updated_at":"2011-11-04T22:53:29Z","assignee":{"avatar_url":"https://secure.gravatar.com/avatar/58479f76374a3ba3c69b9804163f39f4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"58479f76374a3ba3c69b9804163f39f4","url":"https://api.github.com/users/drbrain","login":"drbrain","id":9831},"comments":49,"closed_at":"2011-11-03T20:25:28Z","url":"https://api.github.com/repos/tenderlove/mechanize/issues/123","body":"I am trying to do some simple screen scraping on etrade's website but am getting a similar issue that was reported by someone earlier.  I read through that message thread but it doesn't look like it was ever resolved.  \r\n\r\nHere is the error I am getting back:\r\n\r\n    Net::HTTP::Persistent::Error: too many connection resets (due to Connection reset by peer - Errno::ECONNRESET) after 2 requests on 14759220\r\n    \tfrom /Users/benny/.rvm/gems/ruby-1.9.2-p180@taxhaven/gems/net-http-persistent-1.8/lib/net/http/persistent.rb:446:in `rescue in request'\r\n    \tfrom /Users/benny/.rvm/gems/ruby-1.9.2-p180@taxhaven/gems/net-http-persistent-1.8/lib/net/http/persistent.rb:422:in `request'\r\n    \tfrom /Users/benny/.rvm/gems/ruby-1.9.2-p180@taxhaven/gems/mechanize-2.0.1/lib/mechanize/http/agent.rb:204:in `fetch'\r\n    \tfrom /Users/benny/.rvm/gems/ruby-1.9.2-p180@taxhaven/gems/mechanize-2.0.1/lib/mechanize.rb:628:in `post_form'\r\n    \tfrom /Users/benny/.rvm/gems/ruby-1.9.2-p180@taxhaven/gems/mechanize-2.0.1/lib/mechanize.rb:520:in `submit'\r\n    \tfrom /Users/benny/.rvm/gems/ruby-1.9.2-p180@taxhaven/gems/mechanize-2.0.1/lib/mechanize/form.rb:167:in `submit'\r\n    \tfrom (irb):74\r\n    \tfrom /Users/benny/.rvm/gems/ruby-1.9.2-p180@taxhaven/gems/railties-3.0.9/lib/rails/commands/console.rb:44:in `start'\r\n    \tfrom /Users/benny/.rvm/gems/ruby-1.9.2-p180@taxhaven/gems/railties-3.0.9/lib/rails/commands/console.rb:8:in `start'\r\n    \tfrom /Users/benny/.rvm/gems/ruby-1.9.2-p180@taxhaven/gems/railties-3.0.9/lib/rails/commands.rb:23:in `<top (required)>'\r\n    \tfrom script/rails:6:in `require'\r\n    \tfrom script/rails:6:in `<main>'\r\n\r\nHere is my code:\r\n\r\n```\r\nrequire 'rubygems'\r\nrequire 'mechanize'\r\n\r\nagent = Mechanize.new\r\nlogin_page = agent.get(\"https://www.etrade.com\")\r\nform = login_page.form_with(:action => '/login.fcc') \r\nform.USER     = \"test\"\r\nform.PASSWORD = \"test12\"\r\nform.submit\r\n```\r\n\r\nAny ideas?\r\n\r\nThanks\r\n\r\n","html_url":"https://github.com/tenderlove/mechanize/issues/123","number":123,"title":"Net::HTTP::Persistent::Error: too many connection resets (due to Connection reset by peer - Errno::ECONNRESET) after 2 requests on 14759220 ","id":1156193,"created_at":"2011-07-03T00:52:59Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/58479f76374a3ba3c69b9804163f39f4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"58479f76374a3ba3c69b9804163f39f4","url":"https://api.github.com/users/drbrain","login":"drbrain","id":9831},"updated_at":"2011-11-04T22:53:29Z","url":"https://api.github.com/repos/tenderlove/mechanize/issues/comments/2637527","body":"Ugh, check_extra_deps depends on a rubygems feature that doesn't exist yet.\r\n\r\nYes, you can run `gem install pkg/mechanize-2.1.gem` and it will work.\r\n\r\nI've updated my comment above to have working instructions.\r\n\r\nAlso, I will release a prerelease version of mechanize 2.1 on Monday.","id":2637527,"created_at":"2011-11-04T22:53:29Z"}}