Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8361261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:39:32+00:00 2026-06-09T11:39:32+00:00

I have a datanoise action-webservice implemented SOAP rails webservice which interacts with another SOAP

  • 0

I have a datanoise action-webservice implemented SOAP rails webservice which interacts with another SOAP webservice by posting XML SOAP requests to the third-party URL:

open("http://localhost:8080/generateResponse?xmlRequest="+CGI.escape(soapRQ.result(binding).gsub("\n","")))

Periodically this results in an exception (stacktrace below). I just cant understand what triggers this ECONNRESET:

Errno::ECONNRESET (Connection reset by peer):
  /usr/local/lib/ruby/1.8/net/protocol.rb:135:in `sysread'
  /usr/local/lib/ruby/1.8/net/protocol.rb:135:in `rbuf_fill'
  /usr/local/lib/ruby/1.8/timeout.rb:67:in `timeout'
  /usr/local/lib/ruby/1.8/timeout.rb:101:in `timeout'
  /usr/local/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
  /usr/local/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
  /usr/local/lib/ruby/1.8/net/protocol.rb:126:in `readline'
  /usr/local/lib/ruby/1.8/net/http.rb:2028:in `read_status_line'
  /usr/local/lib/ruby/1.8/net/http.rb:2017:in `read_new'
  /usr/local/lib/ruby/1.8/net/http.rb:1051:in `request'
  /usr/local/lib/ruby/1.8/open-uri.rb:248:in `open_http'
  /usr/local/lib/ruby/1.8/net/http.rb:543:in `start'
  /usr/local/lib/ruby/1.8/open-uri.rb:242:in `open_http'
  /usr/local/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
  /usr/local/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
  /usr/local/lib/ruby/1.8/open-uri.rb:162:in `catch'
  /usr/local/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
  /usr/local/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
  /usr/local/lib/ruby/1.8/open-uri.rb:518:in `open'
  /usr/local/lib/ruby/1.8/open-uri.rb:30:in `open'
  app/controllers/my_websvc_controller.rb:2354:in `postRequest'
 /usr/local/lib/ruby/gems/1.8/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/invocation.rb:141:in `send'
 /usr/local/lib/ruby/gems/1.8/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/invocation.rb:141:in `perform_invocation_without_interception'
 /usr/local/lib/ruby/gems/1.8/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/invocation.rb:135:in `perform_invocation'
 /usr/local/lib/ruby/gems/1.8/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/dispatcher/abstract.rb:46:in `web_service_filtered_invoke'
 /usr/local/lib/ruby/gems/1.8/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/dispatcher/abstract.rb:37:in `web_service_direct_invoke_without_controller'
 /usr/local/lib/ruby/gems/1.8/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:112:in `web_service_direct_invoke'
 /usr/local/lib/ruby/gems/1.8/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/dispatcher/abstract.rb:58:in `web_service_invoke'
 /usr/local/lib/ruby/gems/1.8/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/dispatcher/abstract.rb:25:in `invoke_web_service_request'
 /usr/local/lib/ruby/gems/1.8/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:58:in `dispatch_web_service_request'
 /usr/local/lib/ruby/gems/1.8/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:56:in `dispatch_web_service_request'
(eval):1:in `api'

The server side is on RHEL5 host. Rails 2.3.5 and Ruby 1.8.7. Thirdpart post is a simple java war deployed into JBOSS 4.3

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T11:39:33+00:00Added an answer on June 9, 2026 at 11:39 am

    I found the problem was because of the size of the URL being generated from the ERB binding result for the xmlRequest parameter – it was obviously too long for a URL using open. I switched to a POST and it works fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this XML file from which I'm grabbing all the data: <?xml version=1.0
I have a need to have SOAP web service on my rails app. (this
have written this little class, which generates a UUID every time an object of
Have a procedure which looks like Procedure TestProc(TVar1, TVar2 : variant); Begin TVar1 :=
Have deployed numerous report parts which reference the same view however one of them
I have old rails application. And this application need the same gem with different
How do you guys debug your Rails apps? I have seen a link to
I have a coreData datamodel file which was running perfectly. Due to some special
I have a network with some weird (as I understand) DNS server which causes
Have a xml string, goal is to replace an xml element value to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.