Stopping all processes with SIGTERM
See original GitHub issuethis is $ my heroku logs -t --app:
2015-01-10T22:26:44.965131+00:00 heroku[api]: Deploy 6933f9b by foad.nh@gmail.com
2015-01-10T22:26:44.965742+00:00 heroku[api]: Release v7 created by foad.nh@gmail.com
2015-01-10T22:26:45.105202+00:00 heroku[web.1]: State changed from up to starting
2015-01-10T22:26:47.200945+00:00 heroku[web.1]: Starting process with command node server.js
2015-01-10T22:26:47.965497+00:00 app[web.1]: server listening at { address: ‘0.0.0.0’, family: ‘IPv4’, port: 55536 }
2015-01-10T22:26:47.218350+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2015-01-10T22:26:48.430733+00:00 heroku[web.1]: State changed from starting to up
2015-01-10T22:26:48.474124+00:00 heroku[web.1]: Process exited with status 143
that is wrong?!
Issue Analytics
- State:
- Created 9 years ago
- Comments:6 (2 by maintainers)

Top Related StackOverflow Question
There’s nothing wrong here, Heroku send SIGTERM to all processes after a re-deploy or
heroku restart.import express from ‘express’ import dotenv from ‘dotenv’ import mongoose from ‘mongoose’ import cors from ‘cors’ import path from ‘path’ //sdsd import { fileURLToPath } from ‘url’; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); //Routers import NewsRouter from ‘./routers/NewsRouter.js’ import UserRouter from ‘./routers/UserRouter.js’ import RulesRouter from ‘./routers/RulesRouter.js’
const app =express() const PORT = process.env.PORT || 8800
dotenv.config() app.use(cors()); app.use(express.json()) app.use(express.static(‘uploads’)); mongoose.set(‘useFindAndModify’, false);
//connect to mongodb mongoose.connect(process.env.MONGODB_URI || ‘mongodb://localhost/elite’, { useNewUrlParser: true, useUnifiedTopology: true, useCreateIndex: true, }).then(() => console.log(“DB Connection Successfull”)) .catch((err) => { console.error(err); });
app.use(‘/api/News’,NewsRouter) app.use(‘/api/users’,UserRouter) app.use(‘/api/rules’,RulesRouter)
if (process.env.NODE_ENV === ‘production’) { // Set static folder app.use(express.static(‘client/build’));
app.get(‘*’, (req, res) => { res.sendFile(path.resolve(__dirname, ‘client’, ‘build’, ‘index.html’)); }); }
app.listen(PORT,()=>{ console.log(
server is up on port : ${PORT}) }) thats my index file and im reciving Stopping all processes with SIGTERM and white page