Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > SOAP::RPC::Driver timeout

Reply
Thread Tools

SOAP::RPC::Driver timeout

 
 
Dennis Crissman
Guest
Posts: n/a
 
      07-13-2007
I want to be able to control the timeout length on the
SOAP::RPC:river. Anyone know how this can be done?

Thanks

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
NAKAMURA, Hiroshi
Guest
Posts: n/a
 
      07-14-2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Dennis Crissman wrote:
> I want to be able to control the timeout length on the
> SOAP::RPC:river. Anyone know how this can be done?


SOAP::RPC:river#options["protocol.http.connect_timeout"] = 60 # [sec]
SOAP::RPC:river#options["protocol.http.send_timeout"] = 120 # [sec]
SOAP::RPC:river#options["protocol.http.receive_timeout"] = 60 # [sec]

The 2nd and 3rd options only works when you've installed http-access2.

// NaHi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)

iQEVAwUBRpg97R9L2jg5EEGlAQK8Bgf/SunSZzsAcirzpGJJrN/iH+gFUency4Tq
RTSsg1nERFPAJSYwHTqo1ow6scxTwnLQIFXW9zigjei92y29X9 7uC7VrxiRJrkai
DK3A/FWBdaFZaBL9Re3joNsSydnpskNU4HKb7ar2+qgpZ03Z26GSyQO C8iC4XhsT
B92tNSRCJnH6+RtkZ0HMH1nEvBcvAyJR0YS3uPejZvVhJ9zze9 aBUkyJ+6x5jXpK
2JTkx1WPDOveKcMF0ju95a2oFfYD/KLK6lIudIIeEnFvqAMDnKG9AH2oA4x2eOB5
ZGvDncIjBa84Y+ncXJd0TDlgoc2jfRNdHFSOxasTq7NJyjZvMA ecDw==
=DEVm
-----END PGP SIGNATURE-----

 
Reply With Quote
 
 
 
 
Dennis Crissman
Guest
Posts: n/a
 
      07-16-2007
NAKAMURA, Hiroshi wrote:
> SOAP::RPC:river#options["protocol.http.connect_timeout"] = 60 # [sec]
> SOAP::RPC:river#options["protocol.http.send_timeout"] = 120 # [sec]
> SOAP::RPC:river#options["protocol.http.receive_timeout"] = 60 # [sec]
>
> The 2nd and 3rd options only works when you've installed http-access2.


Is there anyway to set the "receive_timeout" without http-access2
installed?

It appears that http-access2 is installed with the rubyforge gem, is
there any other way to install it?

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
NAKAMURA, Hiroshi
Guest
Posts: n/a
 
      07-17-2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Dennis Crissman wrote:
>> SOAP::RPC:river#options["protocol.http.connect_timeout"] = 60 # [sec]
>> SOAP::RPC:river#options["protocol.http.send_timeout"] = 120 # [sec]
>> SOAP::RPC:river#options["protocol.http.receive_timeout"] = 60 # [sec]
>>
>> The 2nd and 3rd options only works when you've installed http-access2.

>
> Is there anyway to set the "receive_timeout" without http-access2
> installed?


I was wrong. soap4r + net/http should handle receive_timeout option as
same as connect_timeout. Not work for you?

> It appears that http-access2 is installed with the rubyforge gem, is
> there any other way to install it?


I released soap4r-1.5.7 yesterday and posted gems of soap4r-1.5.7 and
httpclient-2.1.0 (formerly known as http-access2) to rubyforge this
morning. Please update soap4r (httpclient should be updated according
its dependency).

// NaHi

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)

iQEVAwUBRpwtoh9L2jg5EEGlAQJDQwgAhKSkFx/zIlB7SBfwE22j2fLzO0Mfnmw5
NdNVxDS5oqqgdpZQt7bqsc0/QiiHm2KFlcjIgyHp63Stwzv4EjEtOTRbYsgo5Q7g
cUokAFUKtPAqZclfcKJmSXG3/din5ga6ThiKpwonChzgldURa5vLqZTLP4uJfoMe
AuI5o+kg9qdHNLaj1l3u/BWJwULLOEwAU41vff+n3GEUGovAcK34aA+MSEAUJMKx
ru9n/2Xl4d7YI8HZ9vtPIjGDcCOhHw3Cxt7vSRZATVaF2Tmwl3KiR45 03A6OCPtJ
R0yooEfBd4HLge623gYcaTNaHmTUai2wxC+eokPQwE7+dbfbe3 pfCg==
=Ngh0
-----END PGP SIGNATURE-----

 
Reply With Quote
 
Dennis Crissman
Guest
Posts: n/a
 
      07-17-2007
Let me rephrase my question from above, is there anyway to set the
"receive_timeout' without using any libraries beyond what Rails
provides?

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Timeout::timeout and Socket timeout Mark Probert Ruby 1 10-06-2004 09:30 AM
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. Guoqi Zheng ASP .Net 4 06-03-2004 06:39 PM
Session contents lost despite Session.Timeout = 3000; and <sessionState mode="InProc" cookieless="false" timeout="300"> Carpe Diem ASP .Net 3 02-23-2004 07:10 PM
web.config session timeout and forms authentication timeout Do ASP .Net 2 11-23-2003 02:27 PM
Re: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Bob Johnson ASP .Net 0 08-07-2003 12:52 PM



Advertisments