tag:support.arachni-scanner.com,2012-07-01:/discussions/problems/3888-web-ui-not-starting-on-ipv4-sept-05-nightly-buildArachni: Discussion 2015-09-30T14:37:42Ztag:support.arachni-scanner.com,2012-07-01:Comment/378728942015-09-08T16:11:21Z2015-09-08T16:11:21ZWeb UI not starting on IPv4 - Sept. 05 nightly build<div><p>Turns out it's due to an updated dependency. Is it an issue
though?</p>
<p>The server is listening on <code>localhost</code> as instructed
and achieves the expected result of responding when contacted via
<code>http://localhost:9292</code>.</p>
<p>If you wish it to bind to an IPv4 address you can do it as
always with:</p>
<pre>
<code>bin/arachni_web -o 192.168.1.2</code>
</pre></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/378728942015-09-08T18:40:25Z2015-09-08T18:40:25ZWeb UI not starting on IPv4 - Sept. 05 nightly build<div><p>In previous installations, the default was to start up on
0.0.0.0:9292, so I was able to access the WebUI remotely without
any specific configuration.</p>
<p>Then there was a similar issue with the rpcd once I was able to
access the WebUI. I tried to launch a scan using all defaults, and
the production.log grew immense (28GB) very quickly. It was looping
the same error text.</p>
<pre>
<code>Arachni::Reactor: Address family not supported by protocol - connect(2) for [::1]:7331
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection.rb:228:in `connect_nonblock'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection.rb:228:in `block in _connect'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection/error.rb:26:in `call'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection/error.rb:26:in `translate'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection.rb:227:in `_connect'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection/tls.rb:82:in `block in _connect'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection/error.rb:26:in `call'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection/error.rb:26:in `translate'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection/tls.rb:81:in `_connect'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor.rb:564:in `block in process_connections'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor.rb:563:in `each'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor.rb:563:in `process_connections'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor.rb:316:in `block in run'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor.rb:307:in `loop'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor.rb:307:in `run'
Arachni::Reactor: /packages/arachni-2.0dev-1.0dev/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor.rb:349:in `block in run_in_thread'</code>
</pre>
<p>It was a similar issue, rpcd was binding to IPv6 and not IPv4,
so I had to add the IPv4 declaration to the startup. That stopped
the errors and allowed the scan to launch.</p></div>Bobtag:support.arachni-scanner.com,2012-07-01:Comment/378728942015-09-08T18:43:53Z2015-09-08T18:43:53ZWeb UI not starting on IPv4 - Sept. 05 nightly build<div><p>I wasn't aware that RPC communication was affected too, I'll
have a look at this.<br>
Thanks for the feedback, I'll keep you posted.</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/378728942015-09-09T18:31:14Z2015-09-09T18:31:14ZWeb UI not starting on IPv4 - Sept. 05 nightly build<div><p>I couldn't reproduce the RPCD issue, can you describe the setup
and configuration please?</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/378728942015-09-30T14:37:42Z2015-09-30T14:37:42ZWeb UI not starting on IPv4 - Sept. 05 nightly build<div><p>Couldn't find any issues, feel free to reopen if you'd like.</p></div>Tasos Laskos