Web UI hangs no grid and remote scans

Ryan's Avatar


03 Sep, 2015 01:57 AM

Hi all,

I have experienced a problem when running grid/remote scans from the webui. Each time a scan is started it sit there stating "scan is starting" and never continues. When this happens the /system/logs/webui/production.log file rapidly increases to several gigs.

The 2 *nix servers are allocated one vcore and 1gb of ram. I know this is not much but I have recreated the default profile with the following changes to help:
HTTP request queue size: 40
Pool size: 2
Screen width: 1440
Screen height: 900

Server 1:
sudo bin/arachni_web -p 8080
sudo bin/arachni_rpcd --address "IP Address" --port 9090 --nickname scan1 --pool-size 2

sudo bin/arachni_rpcd --address "IP Address" --port 9090 --nickname scan2 --pool-size 2

This happens only if running a GRID scan when running a Remote scan from server2. When the scan is started you can see the dispatcher write: Call: dispatcher.dispatch but then never continues. The log file just cycles through:

Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/ar
achni/reactor/connection.rb:228:in connect_nonblock' Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/ar achni/reactor/connection.rb:228:inblock in connect'
Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection/error.rb:26:in call' Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection/error.rb:26:intranslate'
Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection.rb:227:in _connect' Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection/tls.rb:82:inblock in connect'
Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection/error.rb:26:in call' Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection/error.rb:26:intranslate'
Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection/tls.rb:81:in _connect' Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor.rb:564:inblock in process
Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor.rb:563:in each' Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/ar achni/reactor.rb:563:inprocess
Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor.rb:316:in block in run' Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor.rb:307:inloop'
Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor.rb:307:in run' Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor.rb:349:inblock in run_in_thread'
Arachni::Reactor: Operation already in progress - connect(2) for
Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection.rb:228:in connect_nonblock' Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection.rb:228:inblock in _connect'
Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection/error.rb:26:in call' Arachni::Reactor: /usr/bin/arachni/system/gems/gems/arachni-reactor-0.1.0/lib/arachni/reactor/connection/error.rb:26:intranslate'

Let me know what you think.


  1. Support Staff 1 Posted by Tasos Laskos on 03 Sep, 2015 02:02 AM

    Tasos Laskos's Avatar

    Are the nodes accessible via the addresses you've configured them to listen on?

  2. 2 Posted by Ryan on 03 Sep, 2015 02:18 AM

    Ryan's Avatar

    Thanks for your prompt reply!

    Yes I have used Netcat to check connectivity between server 1&2 on port 9090 and you can also see them show up in the dispatcher tab of the web ui.

  3. Support Staff 3 Posted by Tasos Laskos on 03 Sep, 2015 02:23 AM

    Tasos Laskos's Avatar

    Is access to other ports restricted?
    Dispatchers spawn and provide Instances, Instances are separate processes and bind to their own ports.
    You can configure the Dispatchers with a --port-range if you need something more predictable.

  4. 4 Posted by Ryan on 03 Sep, 2015 02:32 AM

    Ryan's Avatar

    That is likely to be the problem.

    Thanks again for your help, and good job making such an excellent tool!

  5. Support Staff 5 Posted by Tasos Laskos on 03 Sep, 2015 02:35 AM

    Tasos Laskos's Avatar

    Thanks man, feel free to re-open if you keep having issues.


  6. Tasos Laskos closed this discussion on 03 Sep, 2015 02:35 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac