Skip to content

Actor Crash on Code Submit #134

Closed
Closed
@tycrowe

Description

@tycrowe

I've been working on setting up a server for hosting code workout, however when I attempt to submit code through the running rails server, I get that the actor has crashed. The resulting error is below:

Actor crashed!
Errno::ECONNREFUSED: Failed to open TCP connection to localhost:8080 (Connection refused - connect(2) for "localhost" port 8080)
	/usr/lib/ruby/2.3.0/net/http.rb:882:in `rescue in block in connect'
	/usr/lib/ruby/2.3.0/net/http.rb:879:in `block in connect'
	/usr/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
	/usr/lib/ruby/2.3.0/timeout.rb:101:in `timeout'
	/usr/lib/ruby/2.3.0/net/http.rb:878:in `connect'
	/usr/lib/ruby/2.3.0/net/http.rb:863:in `do_start'
	/usr/lib/ruby/2.3.0/net/http.rb:852:in `start'
	/usr/lib/ruby/2.3.0/net/http.rb:584:in `start'
	/usr/lib/ruby/2.3.0/net/http.rb:479:in `get_response'
	/vagrant/app/jobs/code_worker.rb:151:in `execute_javatest'
	/vagrant/app/jobs/code_worker.rb:83:in `block in perform'
	/var/lib/gems/2.3.0/gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:294:in `with_connection'
	/vagrant/app/jobs/code_worker.rb:20:in `perform'
	/var/lib/gems/2.3.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
	/var/lib/gems/2.3.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
	/var/lib/gems/2.3.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'
	/var/lib/gems/2.3.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
	/var/lib/gems/2.3.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
	/var/lib/gems/2.3.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
	/var/lib/gems/2.3.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
	/var/lib/gems/2.3.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'

The ports are configured correctly as far as I can tell on the guest as well as the host but I don't think the java-daemon is running. Is there a well-documented cause for this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions