Every time ERROR 500

black's Avatar

black

24 Apr, 2017 08:55 AM

Hey I'm use REST API for my thing and this problem is that if scanner working 5 -10 - 15 min after some time I'm get this:

2017-04-24 04:52:06 - Arachni::RPC::Exceptions::ConnectionError - Connection closed [Connection refused - connect(2) for 127.0.0.1:13708]:
        /root/arachni-2.0dev-1.0dev/system/gems/gems/arachni-rpc-0.2.1.4/lib/arachni/rpc/client.rb:238:in `call_sync'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/arachni-rpc-0.2.1.4/lib/arachni/rpc/client.rb:196:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/arachni-rpc-0.2.1.4/lib/arachni/rpc/proxy.rb:73:in `forward'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/arachni-rpc-0.2.1.4/lib/arachni/rpc/proxy.rb:51:in `block in translate'
        /root/arachni-2.0dev-1.0dev/system/gems/bundler/gems/arachni-8ee5bbe15e0d/lib/arachni/rest/server.rb:112:in `block in <class:Server>'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1610:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1610:in `block in compile!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:974:in `[]'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:974:in `block (3 levels) in route!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:993:in `route_eval'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:974:in `block (2 levels) in route!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1014:in `block in process_route'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1012:in `catch'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1012:in `process_route'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:972:in `block in route!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:971:in `each'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:971:in `route!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1084:in `block in dispatch!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1081:in `dispatch!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `block in call!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `call!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:894:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-1.6.4/lib/rack/deflater.rb:35:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-1.6.4/lib/rack/logger.rb:15:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:218:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:211:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:181:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:2021:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1486:in `block in call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1795:in `synchronize'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1486:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/puma-2.14.0/lib/puma/server.rb:541:in `handle_request'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/puma-2.14.0/lib/puma/server.rb:388:in `process_client'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/puma-2.14.0/lib/puma/server.rb:270:in `block in run'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/puma-2.14.0/lib/puma/thread_pool.rb:106:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/puma-2.14.0/lib/puma/thread_pool.rb:106:in `block in spawn_thread'
62.102.148.164 - - [24/Apr/2017:04:52:06 -0400] "GET /scans/e49a5ed16a0342b18b7c1c9c89d70828 HTTP/1.1" 500 - 1.8393
2017-04-24 04:52:12 - Arachni::RPC::Exceptions::ConnectionError - Connection closed [Connection refused - connect(2) for 127.0.0.1:13708]:
        /root/arachni-2.0dev-1.0dev/system/gems/gems/arachni-rpc-0.2.1.4/lib/arachni/rpc/client.rb:238:in `call_sync'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/arachni-rpc-0.2.1.4/lib/arachni/rpc/client.rb:196:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/arachni-rpc-0.2.1.4/lib/arachni/rpc/proxy.rb:73:in `forward'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/arachni-rpc-0.2.1.4/lib/arachni/rpc/proxy.rb:51:in `block in translate'
        /root/arachni-2.0dev-1.0dev/system/gems/bundler/gems/arachni-8ee5bbe15e0d/lib/arachni/rest/server.rb:112:in `block in <class:Server>'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1610:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1610:in `block in compile!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:974:in `[]'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:974:in `block (3 levels) in route!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:993:in `route_eval'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:974:in `block (2 levels) in route!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1014:in `block in process_route'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1012:in `catch'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1012:in `process_route'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:972:in `block in route!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:971:in `each'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:971:in `route!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1084:in `block in dispatch!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1081:in `dispatch!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `block in call!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `call!'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:894:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-1.6.4/lib/rack/deflater.rb:35:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-1.6.4/lib/rack/logger.rb:15:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:218:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:211:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:181:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:2021:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1486:in `block in call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1795:in `synchronize'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1486:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/puma-2.14.0/lib/puma/server.rb:541:in `handle_request'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/puma-2.14.0/lib/puma/server.rb:388:in `process_client'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/puma-2.14.0/lib/puma/server.rb:270:in `block in run'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/puma-2.14.0/lib/puma/thread_pool.rb:106:in `call'
        /root/arachni-2.0dev-1.0dev/system/gems/gems/puma-2.14.0/lib/puma/thread_pool.rb:106:in `block in spawn_thread'

This biggest problem is that I'm can't delete this seed to solve this problem ( What can I'm do ? Please help.

  1. Support Staff 1 Posted by Tasos Laskos on 29 Apr, 2017 11:21 AM

    Tasos Laskos's Avatar

    Looks like I'm going to have to improve the error handling of the REST service.
    In the meantime, can you please tell me what resources (RAM, CPU, etc.) the machine has?

  2. Support Staff 2 Posted by Tasos Laskos on 09 May, 2017 10:34 AM

    Tasos Laskos's Avatar

    Fixed in the nightlies.

  3. Tasos Laskos closed this discussion on 09 May, 2017 10:34 AM.

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