Jakub Kulhan
Jakub Kulhan

Reputation: 1562

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.

Upvotes: 2

Views: 1301

Answers (2)

Jakub Kulhan
Jakub Kulhan

Reputation: 1562

Bug with HTTPS in AppFog confirmed in their Google Group.

Upvotes: 0

James Wright
James Wright

Reputation: 3010

Just a quick tip: you can use the command af logs <appname> to view your application logs.

Upvotes: 1

Related Questions