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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T13:35:42+00:00 2026-06-10T13:35:42+00:00

In our prod server, every so often the requests to an external service start

  • 0

In our prod server, every so often the requests to an external service start timing out and failing. This is preceded by a short period of high response time. The interesting thing is we have an array of identical servers calling the same service (Apple Purchase and/or Facebook) and only one of the nodes suffers the long response times. Hence its not just the service being slow. This problem is rare and hard to reproduce but still very concerning.

Thread count and memory count on the node looks fine and there no exceptions just time outs. Restarting the Java process will invariably fix this issue.

It seems from looking at our response time graphs that if the external service is actually slow for a while but then recovers some of our nodes still see that node as being down. This is just a guess for now as the slow response times could just be a function of a bug on our side.

I have added a code excerpt below, we create a new exchange object for every request so I am fairly sure there is no bad data caching.

public void doSomething() {
    HttpExchange httpExchange = new HttpExchange();
    httpExchange.setURL("SOME_URL");
    httpExchange.setMethod("GET");
    httpExchange.setEventListener(listener);
    httpExchange.setTimeout(this.timeout);
    this.client.send(httpExchange);
}

Has anyone seen a similar issue with the Jetty HttpClient?
Are there any known edge cases which can cause Jetty Http Client to behave this way?
Is there any shared object in the Jetty internals which I should look at to see if it is overloaded buggy?

  • 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-10T13:35:43+00:00Added an answer on June 10, 2026 at 1:35 pm

    FYI, I launched a Bug Tracking on the site and we finally have a good set of steps for reproducibility, a work around and a fix in the works.

    However for a fix in the mean time “I am currently working around this by calling HttpExchange.cancel() in my .onExpire() event handler. Can you test this same fix?” –Wade Simmons see Bug Tracking

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

Sidebar

Related Questions

Getting .NET 4.0 installed on our prod server, just a quick question, does installation
We're looking to iron out issues in our different dev/test/prod environments. Currently we have
This started biting our ass on our production server really hard. We saw this
Model #1 - This model sits in a database on our Dev Server. Model
Our users return to our web site from an external site, to a URL
Our company has a share point document server where the UNC looks something like
On our local dev enviornment we had just one server and to add far
I'm wanting to start source controlling our DBs. I've read a lot of questions
We want to test email functionality on our staging server, but we don't want
I know there are a lot of questions out there about this - believe

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.