DRbFire

Buenas tardes,

he descargado DRbFire para poder usar DRb a traves de NAT y firewalls.
El problema es que cuando ejecuto ‘test_drbfire.rb’ para validar la
instalacion, me da esta salida:

Loaded suite G:/Projectes/KademliaRuby/lib/drbtesting/test_drbfire
Started
FE.E.
Finished in 0.047 seconds.

  1. Failure:
    test_connect_twice(DRbFire::TC_Protocol)
    [G:/Projectes/KademliaRuby/lib/drbtesting/test_drbfire.rb:93:in
    check_communication' G:/Projectes/KademliaRuby/lib/drbtesting/test_drbfire.rb:116:intest_connect_twice’]:
    Exception raised:
    Class: DRb::DRbConnError
    Message: <“drbfire://127.0.0.1:44324 - #<NoMethodError: private method
    `open’ called for nil:NilClass>”>

—Backtrace—
C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:736:in open' C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:729:ineach’
C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:729:in open' C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:1189:ininitialize’
C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:1169:in new' C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:1169:inopen’
C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:1085:in method_missing' C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:1107:inwith_friend’
C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:1084:in method_missing' G:/Projectes/KademliaRuby/lib/drbtesting/test_drbfire.rb:95:incheck_communication’
C:/Program Files/ruby/lib/ruby/1.8/timeout.rb:56:in timeout' C:/Program Files/ruby/lib/ruby/1.8/timeout.rb:76:intimeout’
G:/Projectes/KademliaRuby/lib/drbtesting/test_drbfire.rb:94:in
check_communication' G:/Projectes/KademliaRuby/lib/drbtesting/test_drbfire.rb:93:incheck_communication’
G:/Projectes/KademliaRuby/lib/drbtesting/test_drbfire.rb:116:in
`test_connect_twice’


  1. Error:
    test_normal_communication(DRbFire::TC_Protocol):
    Errno::EBADF: Bad file descriptor - bind(2)
    C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:865:in initialize' C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:865:inopen’
    C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:865:in open_server' C:/Program Files/ruby/lib/ruby/site_ruby/1.8/drb/drbfire.rb:165:inopen_server’
    C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:759:in open_server' C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:757:ineach’
    C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:757:in open_server' C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:1339:ininitialize’
    C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:1627:in new' C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:1627:instart_service’
    G:/Projectes/KademliaRuby/lib/drbtesting/test_drbfire.rb:84:in
    check_communication' G:/Projectes/KademliaRuby/lib/drbtesting/test_drbfire.rb:112:intest_normal_communication’

  2. Error:
    test_ssl_communication(DRbFire::TC_Protocol):
    Errno::EBADF: Bad file descriptor - bind(2)
    C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:865:in initialize' C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:865:inopen’
    C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:865:in open_server' C:/Program Files/ruby/lib/ruby/site_ruby/1.8/drb/drbfire.rb:165:inopen_server’
    C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:759:in open_server' C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:757:ineach’
    C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:757:in open_server' C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:1339:ininitialize’
    C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:1627:in new' C:/Program Files/ruby/lib/ruby/1.8/drb/drb.rb:1627:instart_service’
    G:/Projectes/KademliaRuby/lib/drbtesting/test_drbfire.rb:84:in
    check_communication' G:/Projectes/KademliaRuby/lib/drbtesting/test_drbfire.rb:129:intest_ssl_communication’

5 tests, 6 assertions, 1 failures, 2 errors

Alguna idea de donde puede estar el origen de los errores? O alguna
alternativa para usar DRb a traves de NAT?

Gracias,
Pere V.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs