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

  • Home
  • SEARCH
  • 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 8072753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:07:29+00:00 2026-06-05T14:07:29+00:00

Scaling my web app to 2 web proceses on Heroku breaks Nowjs/Sockets.io. I’m using

  • 0

Scaling my web app to 2 web proceses on Heroku breaks Nowjs/Sockets.io.

I’m using full stack that is new to me and everything works great until I add a 2nd web process. Node.js still responds fine but Nowjs stops responding. I get 503 responds in the browser and

GET musicbacon.com/socket.io/1/?t=1339117661910 dyno=web.2 queue=0 wait=0ms service=2ms status=200 bytes=82
2012-06-08T01:07:42+00:00 heroku[router]: Error H13 (Connection closed without response) -> GET musicbacon.com/socket.io/1/websocket/12401614301555103827 dyno=web.2 queue= wait= service= status=503 bytes=

on the server.

I think that Nowjs (which is an abstraction layer on top of Socket.io) creates it’s own server along side my Node.js server. Scaling Heroku spins up a new Node.js server VM but since Now.js isn’t yet compatible with distributed environments it just dies.

Hopefully I’m missing something and I can scale Now.js because 1 Heroku web process can only handle about 60 users at a time in my experience.

Full stake is:
Heroku
Node.js
Express
Jade
Now.js
Postgres

Error H13 reference: https://devcenter.heroku.com/articles/error-codes#h13__connection_closed_without_response

  • 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-05T14:07:32+00:00Added an answer on June 5, 2026 at 2:07 pm

    WebSockets don’t work on Heroku, you need to change your Socket.IO configuration to disable WS:

    • https://devcenter.heroku.com/articles/using-socket-io-with-node-js-on-heroku
    • https://devcenter.heroku.com/articles/request-timeout#longpolling_and_streaming_responses
    • https://github.com/LearnBoost/Socket.IO/wiki/Configuring-Socket.IO
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I'm scaling the web app server horizontally with trying to avoid using sessions,
Using in-process session state is evil when it comes to scaling web applications (does
I'm working on the design of a web app which will be using AJAX
I'm scaling a CGImageRef . I found various code examples on the web that
I'm working on a web app that is somewhere between an email service and
I'm looking into hosting a standard Java web app on AWS and the new
We're using a Ruby web-app with Redis server for caching. Is there a point
I've got a website running on Amazon Web Services that is deployed using Elastic
Using a scaling transform to negate the y-coordinate alters some conventions in Quartz drawing
Using EC2 instances (along with Amazon Auto Scaling and Elastic Load Balancing) I have

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.