Comments (4)
I don't know Heroku, and I have no idea whath this error means. You should investigate more together with Heroku to check what the problem is.
from uptime.
Just for future visitors of this issue...
Heroku apps run under what Heroku calls "Web Dynos", essentially it's a single running process... in your case it would be your "node app.js" of this particular application.
No web processes running
means that your node app.js
or node process respectively is simply not running...
Whether that be due to the fact that you didn't create a Procfile
to tell Heroku what to run... or there is a fatal error in the initial running of the node app.
If you do not have a Procfile in the root of your Uptime app... you should add one that looks like this:
web: node app.js
Add & Commit this change, then do another git push heroku master
and wait to see if it deployed.
Once it deploys, try your herokuapp.com url again and if it still errors out... then that means it's failing.
You can run the heroku logs
command in your terminal to assist in debugging the problem.
I suspect it's one of the following problems...
1.) The port you're trying to use is 8082 and Heroku is only accepting what is stored in process.env.PORT
To fix this, in app.js... line 110 simply change
server.listen(process.env.PORT || config.server.port || 8082);
(HONESTLY, this is best practice anyway and should probably be merged into Uptime
)
This will ensure that process.env.PORT
takes precedence. There are a few things with Uptime
to consider when changing the port from 8082... and those are probably going to be dependent on what you have your API URL set to in the config.yaml files... I suggest making a production.yaml
that reflects the production settings for Heroku...
For instance... part of my production.yaml
looks like this:
monitor:
name: origin
apiUrl: 'http://appname.herokuapp.com/api' # must be accessible without a proxy
pollingInterval: 10000 # ten seconds
2.) Your MongoDB connection settings could be invalid...
In this case, do heroku logs
and ensure you don't have any fatal errors relating to Mongo...
Or if you find any fatal errors relating to anything else... feel free to post them back here and I'll assist further.
from uptime.
calling the node app
command prefixed with a custom PORT
environment variable is now supported.
from uptime.
no problem on heroku and appfog. Works nicely.
from uptime.
Related Issues (20)
- Openshift deploy error
- uptime in codeigniter app HOT 3
- [Error: http://localhost:8082/api/checks/needingPoll resource responded with err or code: 404]
- Docker Install
- Duplicate Entry
- High severity vulnerability affecting this repo
- Error facing while using email plugin HOT 1
- suport raspbian HOT 3
- Debug failed check
- error after npm install node-uptime,Can't set headers after they are sent.
- needingPoll endpoint responded with error code: 504 HOT 1
- /api/pings resource not available: socket hang up
- how to config email.service ?
- Incorrect Availability & Downtime duration between AM & PM events
- MongoDB 3.6 Version aggregate error HOT 2
- TypeError: Cannot read property 'prototype' of undefined HOT 6
- Addition of SMS based notification service for uptime HOT 1
- Heroku Wiki Information could be changed: websockets is now enabled on default
- npm install error
- For those still wanting to use uptime....
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uptime.