From: Werner Bohl Date: 2006-01-25T14:47:12+09:00 Subject: Need help with soap timeout issue --------------070804030303080907050008 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Have a Rails 1.0 based Web Service. This service exports many method. All run fine except for a methos that takes 60-300 secs to complete. This long running method errs when invoked from client, but it passes functional tests. As attached server log shows, service invocation runs to completion, its when delivering response that the error arises. Client receives an error html page instead of soap response. Did set connection, send and receive timeout options in service client driver to 10 minutes. Server platform: Windows Server 2003,ruby 1.8.2,latest rails running on Apache Client platform: Centos 4.2, ruby 1.8.4 Please help me this is driving me nuts. Werner Bohl --------------070804030303080907050008 Content-Type: text/plain; name="server_err.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="server_err.txt" Web Service Request: Batch(runid=>30) Entrypoint: api 30 Web Service Response (50.266000): => "COMPLETED" COMPLETED Sending data Completed in 50.28100 (0 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.23500 (0%) | 200 OK [http://192.168.1.250/Zp4Service/api] Processing Base#batch (for 192.168.1.25 at 2006-01-24 12:26:14) [POST] Parameters: {""\"1.0\" encoding=\"utf-8\" ?>\n\n \n \n 30\n \n \n", "action"=>"batch", "controller"=>"zp4_service", "runid"=>30} Errno::E232 (The pipe is being closed.): C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/cgi_process.rb:178:in `flush' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/cgi_process.rb:178:in `out' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in `process_request' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in `process!' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `each_cgi' C:/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in `each' C:/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in `each_cgi' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `process!' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in `process!' C:/zp4ws/public/dispatch.fcgi:24 Rendering C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error) --------------070804030303080907050008--