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 9220163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:17:02+00:00 2026-06-18T03:17:02+00:00

I am currently using the DefaultHttpClient to create an HTTP request to a rails

  • 0

I am currently using the DefaultHttpClient to create an HTTP request to a rails server.

The network call is failing about 4% of the time with a SocketTimeoutException.

I have run Wireshark on my network traffic and discovered the following:

My successful call starts like this

enter image description here

And ends like this

enter image description here

The failed call starts like this:

enter image description here

And ends like this

enter image description here

Please note that the HTTP OK message that is sent to us from the server is missing from the end call, resulting in it timing out after about 15 seconds.

I am wondering if anybody has encountered this before or has any recommendations for debugging the Android Apache library or Apache rails to figure out why we are not receiving the HTTP OK message from the server.

  • 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-18T03:17:03+00:00Added an answer on June 18, 2026 at 3:17 am

    I figured this out. The rails server and apache library were timing out if there were bad parameters in my post request. We were passing in a “_b” parameter, and for some unknown reason the server wouldn’t like this and would time out the request. Removing the bad post parameter fixed the problem.

    If anybody else is seeing timeouts like this, I recommend reviewing the POST parameters that are being passed in.

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

Sidebar

Related Questions

Currently using Xcode 4.2 and I have two view controllers (1 and 2). I
I currently using android NDK to write some native code in C. I have
heres what I'm currently using: Rails -v 3.2.3 I'm trying to make a path
Currently using cocos2d. I have a plist data name myplist.plist. Inside the plist are
Currently using: https://github.com/felixge/node-mysql I have the following code: var connection = mysql.createConnection({ host :
currently using jq 1.4.2 And i have gone through this forum and other forums
currently using PHP5 with htmlMimeMail 5 ( http://www.phpguru.org/static/mime.mail.html ) to send HTML e-mail communications.
Currently using SQL Developer with no complaint, now there is a question about how
Currently using System.Web.UI.WebControls.FileUpload wrapped in our own control. We have licenses for Telerik. I
Currently using Core Data . I have one table in which I am trying

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.