Closed afarney closed 6 years ago
I'd recommend removing all the wordlists you attempted to import before the restart and then re-add them. Then try creating a task. The task is attempting to reference either a null wordlist.
On Mon, Sep 18, 2017 at 9:22 AM, afarney notifications@github.com wrote:
I am getting internal server errors when I go to create tasks and start jobs. Below is what I get when I try to run these tasks. I also get stuck in a loop
09:17:24 web.1 | 2017-09-18 09:17:24 - Errno::ENOENT - No such file or directory - /home/hashcat-3.5.0/hashcat64.bin: 09:17:24 web.1 | /home/lucy/hashview/helpers/compute_task_keyspace.rb:46:in
`' 09:17:24 web.1 | /home/lucy/hashview/helpers/compute_task_keyspace.rb:46:in
getKeyspace' 09:17:24 web.1 | /home/lucy/hashview/routes/tasks.rb:216:inblock in <top (required)>' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:inblock in compile!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in
[]' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:inblock (3 levels) in route!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in
route_eval' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:inblock (2 levels) in route!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in
block in process_route' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:incatch' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in
process_route' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:inblock in route!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in
each' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:inroute!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in
block in dispatch!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:inblock in invoke' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
catch' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:ininvoke' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in
dispatch!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:inblock in call!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
block in invoke' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:incatch' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
invoke' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:incall!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-1.6.5/lib/rack/session/abstract/id.rb:225:incontext' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-1.6.5/lib/rack/session/abstract/id.rb:220:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-1.6.5/lib/rack/logger.rb:15:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-1.6.5/lib/rack/commonlogger.rb:33:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:219:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:212:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-1.6.5/lib/rack/head.rb:13:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-1.6.5/lib/rack/methodoverride.rb:22:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:inblock in call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in
synchronize' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-1.6.5/lib/rack/handler/webrick.rb:88:in
service' 09:17:24 web.1 | /home/lucy/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:inservice' 09:17:24 web.1 | /home/lucy/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in
run' 09:17:24 web.1 | /home/lucy/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' 09:17:24 web.1 | 172.16.3.116 - - [18/Sep/2017:09:17:24 -0500] "POST /tasks/create HTTP/1.1" 500 30 0.0070 09:17:24 web.1 | 172.16.3.116 - - [18/Sep/2017:09:17:24 CDT] "POST /tasks/create HTTP/1.1" 500 30This is the loop that the server keeps trying to do after the server error.
09:19:55 mgmt-worker.1 | ============== generating wordlist checksum ======================== 09:19:55 background-worker.1 | resque-scheduler: [INFO] 2017-09-18T09:19:55-05:00: queueing WordlistImporter (do_wordlist_importer) 09:19:55 background-worker.1 | resque-scheduler: [INFO] 2017-09-18T09:19:55-05:00: queueing RuleImporter (do_rulelist_importer) 09:20:00 background-worker.1 | resque-scheduler: [INFO] 2017-09-18T09:20:00-05:00: queueing WordlistImporter (do_wordlist_importer) 09:20:00 background-worker.1 | resque-scheduler: [INFO] 2017-09-18T09:20:00-05:00: queueing RuleImporter (do_rulelist_importer) 09:20:04 mgmt-worker.1 | ============== generating wordlist checksum ======================== 09:20:05 background-worker.1 | resque-scheduler: [INFO] 2017-09-18T09:20:05-05:00: queueing WordlistImporter (do_wordlist_importer) 09:20:05 background-worker.1 | resque-scheduler: [INFO] 2017-09-18T09:20:05-05:00: queueing RuleImporter (do_rulelist_importer)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hashview/hashview/issues/335, or mute the thread https://github.com/notifications/unsubscribe-auth/ACTh6-FYqChFMCv3r6ocVWTvLdpW87iKks5sjnyRgaJpZM4Pa_J7 .
-- No trees were harmed in the creation or sending of this email, however millions of electrons were terribly inconvenienced.
I am in the process of getting rid of all the entries including customers, tasks and jobs as well. I tried what you suggested and it didn't work, so Im thinking maybe its another entry that's causing problems.
Hm, re-reading that error message... two things to verify, is the hashcat bin path set correctly in the agent config file (it looks like it is)? also, does hashview have the rights to execute the binary listed there?
On Mon, Sep 18, 2017 at 9:43 AM, Hans Lakhan jarsnah12@gmail.com wrote:
I'd recommend removing all the wordlists you attempted to import before the restart and then re-add them. Then try creating a task. The task is attempting to reference either a null wordlist.
On Mon, Sep 18, 2017 at 9:22 AM, afarney notifications@github.com wrote:
I am getting internal server errors when I go to create tasks and start jobs. Below is what I get when I try to run these tasks. I also get stuck in a loop
09:17:24 web.1 | 2017-09-18 09:17:24 - Errno::ENOENT - No such file or directory - /home/hashcat-3.5.0/hashcat64.bin: 09:17:24 web.1 | /home/lucy/hashview/helpers/compute_task_keyspace.rb:46:in
`' 09:17:24 web.1 | /home/lucy/hashview/helpers/compute_task_keyspace.rb:46:in
getKeyspace' 09:17:24 web.1 | /home/lucy/hashview/routes/tasks.rb:216:inblock in <top (required)>' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:inblock in compile!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in
[]' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:inblock (3 levels) in route!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in
route_eval' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:inblock (2 levels) in route!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in
block in process_route' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:incatch' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in
process_route' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:inblock in route!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in
each' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:inroute!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in
block in dispatch!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:inblock in invoke' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
catch' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:ininvoke' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in
dispatch!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:inblock in call!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
block in invoke' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:incatch' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
invoke' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:incall!' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-1.6.5/lib/rack/session/abstract/id.rb:225:incontext' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-1.6.5/lib/rack/session/abstract/id.rb:220:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-1.6.5/lib/rack/logger.rb:15:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-1.6.5/lib/rack/commonlogger.rb:33:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:219:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:212:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-1.6.5/lib/rack/head.rb:13:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-1.6.5/lib/rack/methodoverride.rb:22:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in
call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:inblock in call' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in
synchronize' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:incall' 09:17:24 web.1 | /home/lucy/.rvm/gems/ruby-2.2.2/gems/rack-1.6.5/lib/rack/handler/webrick.rb:88:in
service' 09:17:24 web.1 | /home/lucy/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:inservice' 09:17:24 web.1 | /home/lucy/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in
run' 09:17:24 web.1 | /home/lucy/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' 09:17:24 web.1 | 172.16.3.116 - - [18/Sep/2017:09:17:24 -0500] "POST /tasks/create HTTP/1.1" 500 30 0.0070 09:17:24 web.1 | 172.16.3.116 - - [18/Sep/2017:09:17:24 CDT] "POST /tasks/create HTTP/1.1" 500 30This is the loop that the server keeps trying to do after the server error.
09:19:55 mgmt-worker.1 | ============== generating wordlist checksum ======================== 09:19:55 background-worker.1 | resque-scheduler: [INFO] 2017-09-18T09:19:55-05:00: queueing WordlistImporter (do_wordlist_importer) 09:19:55 background-worker.1 | resque-scheduler: [INFO] 2017-09-18T09:19:55-05:00: queueing RuleImporter (do_rulelist_importer) 09:20:00 background-worker.1 | resque-scheduler: [INFO] 2017-09-18T09:20:00-05:00: queueing WordlistImporter (do_wordlist_importer) 09:20:00 background-worker.1 | resque-scheduler: [INFO] 2017-09-18T09:20:00-05:00: queueing RuleImporter (do_rulelist_importer) 09:20:04 mgmt-worker.1 | ============== generating wordlist checksum ======================== 09:20:05 background-worker.1 | resque-scheduler: [INFO] 2017-09-18T09:20:05-05:00: queueing WordlistImporter (do_wordlist_importer) 09:20:05 background-worker.1 | resque-scheduler: [INFO] 2017-09-18T09:20:05-05:00: queueing RuleImporter (do_rulelist_importer)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hashview/hashview/issues/335, or mute the thread https://github.com/notifications/unsubscribe-auth/ACTh6-FYqChFMCv3r6ocVWTvLdpW87iKks5sjnyRgaJpZM4Pa_J7 .
-- No trees were harmed in the creation or sending of this email, however millions of electrons were terribly inconvenienced.
-- No trees were harmed in the creation or sending of this email, however millions of electrons were terribly inconvenienced.
Closing, let me know if this comes back up.
I am getting internal server errors when I go to create tasks and start jobs. Below is what I get when I try to run these tasks. I also get stuck in a loop
This is the loop that the server keeps trying to do after the server error.