RPC client disconnect from dispatcher

marcio.rocha's Avatar

marcio.rocha

25 Oct, 2016 06:14 PM

Hi, I am trying to use the RPC client to start a scan on another server running the Dispatcher. every time i do it, after a few minutes from the scan start, the client disconnect from the server and i cannot retrieve the report nor view the scan information.
When this happens, the RPC Server keeps running the scan.

What can cause this?

  1. Support Staff 1 Posted by Tasos Laskos on 25 Oct, 2016 06:32 PM

    Tasos Laskos's Avatar

    When you say the RPC client you mean arachni_rpc or have you written your own script using the RPC::Client library?

  2. 2 Posted by marcio.rocha on 25 Oct, 2016 06:43 PM

    marcio.rocha's Avatar

    I am using arachni_rpc

  3. Support Staff 3 Posted by Tasos Laskos on 25 Oct, 2016 06:44 PM

    Tasos Laskos's Avatar

    What are the server's resources? RAM/CPU/Disk
    Also, can you show me the output of dmesg?

  4. 4 Posted by marcio.rocha on 25 Oct, 2016 06:53 PM

    marcio.rocha's Avatar

    I am running the dispatcher on Ubuntu 16.04 VMWare virtual machine with 4 CPU cores, 8 GB ram and 30 GB available disk

    Which dmesg do you need? the Dispatcher server or the one I´m running arachni_rpc?

  5. Support Staff 5 Posted by Tasos Laskos on 25 Oct, 2016 06:54 PM

    Tasos Laskos's Avatar

    dmesg on the server, also, how many parallel scan are you running and how much of that RAM is actually available?

  6. 6 Posted by marcio.rocha on 25 Oct, 2016 07:03 PM

    marcio.rocha's Avatar

    i was running one scan with 3 spawns, each spawn with 4 browser instances. when nothing is running it has about 7.5 GB free ram.

  7. Support Staff 7 Posted by Tasos Laskos on 25 Oct, 2016 07:07 PM

    Tasos Laskos's Avatar

    Is there an error log or an error printed to the terminal or the client or server?

  8. 8 Posted by marcio.rocha on 25 Oct, 2016 07:12 PM

    marcio.rocha's Avatar

    sending the last error log

  9. Support Staff 9 Posted by Tasos Laskos on 25 Oct, 2016 07:59 PM

    Tasos Laskos's Avatar

    Thanks.
    First of all, avoid using the spawns option, it's not that stable and I'm considering removing it or rewriting that part of the system.

    Once you retry without it, can you please keep an eye out for any errors?
    You've stumbled upon an error that I've been trying to locate for some time now.

  10. 10 Posted by marcio.rocha on 25 Oct, 2016 08:21 PM

    marcio.rocha's Avatar

    I have created a new scan without the spawns option, i´ll let you know if the problem appears this time.

  11. Support Staff 11 Posted by Tasos Laskos on 25 Oct, 2016 08:22 PM

    Tasos Laskos's Avatar

    Thank you.

  12. Tasos Laskos closed this discussion on 28 Nov, 2016 03:29 PM.

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

Keyboard shortcuts

Generic

? 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