/usr/local/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill': execution expired (Timeout::Error)

Discussion in 'Ruby' started by vishnu, May 31, 2006.

  1. vishnu

    vishnu Guest

    While calling soap interface I get Timeout::Error,
    Can you suggest how can I increase timeout

    /usr/local/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill': execution expired
    (Timeout::Error)
    from /usr/local/lib/ruby/1.8/timeout.rb:56:in `timeout'
    from /usr/local/lib/ruby/1.8/timeout.rb:76:in `timeout'
    from /usr/local/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'
    from /usr/local/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
    from /usr/local/lib/ruby/1.8/net/protocol.rb:126:in `readline'
    from /usr/local/lib/ruby/1.8/net/http.rb:1988:in
    `read_status_line'
    from /usr/local/lib/ruby/1.8/net/http.rb:1977:in `read_new'
    from /usr/local/lib/ruby/1.8/net/http.rb:1046:in `request'
    ... 9 levels...
    from /usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:141:in `call'
    from /usr/local/lib/ruby/1.8/soap/rpc/driver.rb:178:in `call'
    from /usr/local/lib/ruby/1.8/soap/rpc/driver.rb:232:in
    `doHostOpen'

    here is my client code..

    require 'SCDriver.rb'
    require 'base64'
    require 'hmac-md5'
    require 'hmac-sha1'

    endpoint_url = ARGV.shift
    obj = SCHostPort.new(endpoint_url)
    obj.wiredump_file_base = "soapresult"
    obj.doHostOpen()
    vishnu, May 31, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page