Hi friends,

I'm facing a very strange problem...

I consume a webservice from within my rails app. I've written a thin
wrapper around the webservice using Net::HTTP.post_form

However, when calling the API from within my controllers, the API calls
randomly fail, complaining about timeout.

But - when I wrote a simple iterative test (500 iterations), calling the
same webservice using same thin wrapper (via rake) - to my surprise,
none of the calls failed.

I repeated the iterative test twice before thinking of writing to Rails
forum...

Any suggestions on what I might be doing wrong?

Thanks in advance...

Regards,
Maku
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to