node.jsexpressappfog

Node.JS application on AppFog responding with 503 Service Unavailable


I'm developing a Node.JS app. When running on localhost everything works fine.

After I've deployed it to AppFog, I randomly get 503 Service Unavailable responses either for static resources (served using express.static() middleware, Express is version 3.1.0), or API calls (serving JSON documents from MongoDB). Also in AppFog console I see reported status 0%. Application logs show nothing. And it seems the applications does not stop.

I tried running single instance with 2GB of memory as well as 16 instances each with 128MB still getting 503.

Application is deployed to US East infra. It uses MongoHQ add-on.

Have you experienced this behavior on AppFog or with your Node.JS apps? Thanks for any help.


Solution

  • Bug with HTTPS in AppFog confirmed in their Google Group.