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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:43:40+00:00 2026-06-13T11:43:40+00:00

I have a Node.js application on Heroku. I’ve recently switched a long query to

  • 0

I have a Node.js application on Heroku. I’ve recently switched a long query to use SSE (EventSource). While it works great and fast on my machine, I keep getting an Error H15 (Idle connection) on my GET request. The H15 description says I went over 55 seconds allowed per transaction. But my entire query doesn’t take more than 4-5 seconds.

Furthermore, after reading the description, I’m returning my first byte (just a number) immediately upon hitting the query, before it starts any heavy work – and it still doesn’t work.

My question/s are:

  1. What do I need to do in order to keep this thing going? An HTTP header parameter? Something on the client JS side? How do I avoid H15?
  2. Am I trying to do something not supported by Heroku? I don’t think so, as I have another app on Heroku that uses EventSource successfully (express-eventsource.herokuapp.com, source on github: https://github.com/TravelingTechGuy/express-eventsource)

As always, thanks for your time.

  • 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-13T11:43:42+00:00Added an answer on June 13, 2026 at 11:43 am

    After trying everything, changing and re-writing my code, profiling the network etc., finally my friend (with no Node knowledge whatsoever) came up with an idea that put me on the right track:

    It seems like this is a domain issue – NOT a code issue at all.
    I set an ANAME mapping and it turns out that since Heroku uses 5 different IPs, mapping to just one of them can screw up an SSE call. Basically, mydomain.com showed an IP different than mydomain.herokuapp.com – meaning the server tried returning a response to a different IP than the one that initiated the call, hence it timed out.

    I ditched the ANAME in favor of a CNAME (basically, giving up the naked mydomain.com in favor of http://www.mydomain.com) and now it seems to be working.

    Conclusions:

    1. Not everything is a code issue – if it works well in one environment and not in another, it’s a configuration issue
    2. If you struggle with something for too long, it helps to bring in a new set of eyes. Even with no subject matter expertise, you’ll get great ideas to fresh approaches you can try
    3. 1and1 DNS control sucks b@lls. Moving out of there
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use node.js and socket.io. I have an application that runs on the IP
I'm writing a node application and I recently switched from port 3000 to port
I have an application up and running on Heroku with Express.js on Node.js with
I have a node application that is not a web application - it completes
I have a node.js (v0.6.12) application that starts by evaluating a Javascript file, startup.js.
Currently i have a node.js and socket.io application in development on my local machine
I have a memory leak on one of the part of my node.js application.
I have a 3-node web farm being managed by IIS7 and Application Request Routing.
I have a node application which can end up with a CSV formatted table
I have a Node.JS application running on Linux at AWS EC2 that uses the

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.