Trying to submit a form is resulting in the following error:<br><br>&gt;&gt; page = agent.submit(f, f.buttons.first)<br>query: &quot;action=start&amp;quick=Y&amp;clientApp=0&amp;clientID=MCO&quot;<br>Net::HTTP::Post: /dealerApply/controller.jsp
<br>using cookie: JSESSIONID=GJ4NCvGJDTlrvrKsLw17hZ3FnlXFdVkvB5hh1jLkHKcH4Tn27371!-538794652<br>request-header: accept-language =&gt; en-us,en;q0.5<br>request-header: connection =&gt; keep-alive<br>request-header: accept =&gt; */*
<br>request-header: accept-encoding =&gt; gzip,identity<br>request-header: user-agent =&gt; WWW-Mechanize/0.6.8 (<a href="http://rubyforge.org/projects/mechanize/">http://rubyforge.org/projects/mechanize/</a>)<br>request-header: content-type =&gt; application/x-www-form-urlencoded
<br>request-header: cookie =&gt; JSESSIONID=GJ4NCvGJDTlrvrKsLw17hZ3FnlXFdVkvB5hh1jLkHKcH4Tn27371!-538794652<br>request-header: referer =&gt; <a href="https://censored.com/dealerApply/">https://censored.com/dealerApply/</a>
<br>request-header: accept-charset =&gt; ISO-8859-1,utf-8;q=0.7,*;q=0.7<br>request-header: content-length =&gt; 47<br>request-header: keep-alive =&gt; 300<br>Errno::EPIPE: Broken pipe<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/openssl/buffering.rb:178:in `syswrite&#39;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/openssl/buffering.rb:178:in `do_write&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/openssl/buffering.rb:192:in `write&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/net/protocol.rb:175:in `write0&#39;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/net/protocol.rb:151:in `write&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/net/protocol.rb:166:in `writing&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/net/protocol.rb:150:in `write&#39;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/net/http.rb:1571:in `write_header&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/net/http.rb:1536:in `send_request_with_body&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/net/http.rb:1522:in `exec&#39;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/net/http.rb:1045:in `request&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/gems/1.8/gems/mechanize-0.6.8/lib/mechanize.rb:443:in `fetch_page&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/gems/1.8/gems/mechanize-
0.6.8/lib/mechanize.rb:357:in `post_form&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/gems/1.8/gems/mechanize-0.6.8/lib/mechanize.rb:234:in `submit&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from (irb):28<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from :0<br><br>I&#39;d be happy to provide any other information needed to help debug the problem.
<br><br>Thanks,<br>Michael Guterl<br>