Node.JS app - getting 503 Service Unavailable

2,760 views
Skip to first unread message

Jakub Kulhan

unread,
Mar 4, 2013, 4:30:09 PM3/4/13
to appfog...@googlegroups.com
Hello,

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 console I see reported status 0%. Application logs show nothing.

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.

Thank you for any help.

Regards
Jakub

Thomas Amsler

unread,
Mar 11, 2013, 7:03:45 PM3/11/13
to appfog...@googlegroups.com
Jakub,

Are you accessing the resources via HTTPS or HTTP? If you use HTTPS, then it's a know issue and AppFog is working on getting that resolved.
--Thomas

Jakub Kulhan

unread,
Apr 9, 2013, 3:01:43 PM4/9/13
to appfog...@googlegroups.com
Yes, I use HTTPS. It has to be this issue.

It doesn't happen to me anymore. Hopefully the issue has been resolved.

Jakub



Dne úterý, 12. března 2013 0:03:45 UTC+1 Thomas Amsler napsal(a):
Reply all
Reply to author
Forward
0 new messages