tag:support.arachni-scanner.com,2012-07-01:/discussions/problems/4254-netreadtimeout-error-when-running-rb-login-script-through-browser-with-http-proxyArachni: Discussion 2017-06-11T10:37:31Ztag:support.arachni-scanner.com,2012-07-01:Comment/424378612017-04-27T10:22:05Z2017-04-27T10:22:05Z[Net:ReadTimeout] error when running .rb login script through browser with --http-proxy<div><p>Can you show me the entire error please?</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/424378612017-04-27T12:11:27Z2017-04-27T12:11:29Z[Net:ReadTimeout] error when running .rb login script through browser with --http-proxy<div><p>Thank you for the response. Full error message is attached.</p></div>Andriitag:support.arachni-scanner.com,2012-07-01:Comment/424378612017-04-27T12:12:44Z2017-04-27T12:12:44Z[Net:ReadTimeout] error when running .rb login script through browser with --http-proxy<div><p>Can you also show me the script please?</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/424378612017-04-27T12:37:31Z2017-04-29T11:17:52Z[Net:ReadTimeout] error when running .rb login script through browser with --http-proxy<div><p>Yes, sure:</p>
<pre>
<code>browser.goto 'https://site.com/login.xhtml'
btn = browser.button( id: 'loginForm:submitForm' )
lgn = browser.text_field( name: 'loginForm:j_username' ).set 'username'
pass = browser.text_field( name: 'loginForm:j_password' ).set 'password'
btn.click
framework.options.session.check_pattern = /Welcome,/</code>
</pre>
<p>And it does log in, but crashes after, on the stage of downloading JSs and CSSs</p></div>Andriitag:support.arachni-scanner.com,2012-07-01:Comment/424378612017-04-29T11:18:51Z2017-04-29T11:18:51Z[Net:ReadTimeout] error when running .rb login script through browser with --http-proxy<div><p>Can you please try increasing the <code>--browser-cluster-job-timeout</code> setting? Set it to <code>50</code> (50 seconds) and see if that helps at all.</p></div>Tasos Laskos