Suddenly getting "The service is unavailable." out of the blue
Are you all having issues? Have been working fine when all of a sudden "The service is unavailable." started popping up for our app.
Discussions are closed to public comments.
If you need help with AppHarbor please
start a new discussion.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
Support Staff 1 Posted by rune on 15 Mar, 2016 01:35 AM
Hi,
No there are no general issues at the moment. What application are you seeing this on? Looks like the app associated with your account is working fine now?
Best,
Rune
2 Posted by fictfact on 15 Mar, 2016 01:38 AM
We’re are seeing it on fictfact.com. We pulled www.fictfact.com over to AWS Elastic Beanstalk until we figure out what’s going on. If you go to http://ffweb.apphb.com/ you get either “The service is unavailable” or a 504 Gateway timeout.
--
Brian Kirsten
Sent with Airmail
Support Staff 3 Posted by rune on 15 Mar, 2016 02:00 AM
Ah ok, got it. Took a look and the worker was exceeding the maximum number of simultaneous connections leading to the HTTP 503. It's a bit interesting why that would happen as the request throughput doesn't seem much higher than usual.
That being said the issue might've been caused by the MongoDB database which the application couldn't connect to for a while there (based on the New Relic data for the application). Perhaps the application is holding on to the incoming connections when it's unable to connect to the database? That could cause issue if there's a high timeout as it's cause connections to build up.
It looks like the issue has been mitigated for the time being after your most recent deployment. Two things I'd recommend if it happens again:
Best,
Rune