Skip to content
This repository was archived by the owner on Jan 12, 2019. It is now read-only.
This repository was archived by the owner on Jan 12, 2019. It is now read-only.

App crashes on Heroku.  #170

@rikard-io

Description

@rikard-io

Followed instructions in README but app keeps crashing without any insightful log.
Example works fine running both elasticsearch and app.js locally
Example does not crash but gives indexNotFound error when running app.js locally and elastic search throught bonsai

Starting process with command `node ./app.js`
2017-08-23T17:58:08.580603+00:00 heroku[worker.1]: State changed from starting to up
2017-08-23T17:58:10.858949+00:00 app[worker.1]: Configured using BONSAI_URL environment variable https://ea5qte4q:n7ud9lbn9h1k622w@dogwood-xxxxxx.us-east-1.bonsaisearch.net { FB_URL: 'https://let-there-flash-light.firebaseio.com',
2017-08-23T17:58:10.858960+00:00 app[worker.1]:   FB_REQ: 'search/request',
2017-08-23T17:58:10.858961+00:00 app[worker.1]:   FB_RES: 'search/response',
2017-08-23T17:58:10.858962+00:00 app[worker.1]:   FB_SERVICEACCOUNT: 'service-account.json',
2017-08-23T17:58:10.858963+00:00 app[worker.1]:   ES_HOST: 'xxxxxx.us-east-1.bonsaisearch.net',
2017-08-23T17:58:10.858964+00:00 app[worker.1]:   ES_PORT: 80,
2017-08-23T17:58:10.858964+00:00 app[worker.1]:   ES_USER: 'xxxxxx',
2017-08-23T17:58:10.858965+00:00 app[worker.1]:   ES_PASS: 'xxxxxx' }
2017-08-23T17:58:11.034203+00:00 app[worker.1]: Connecting to ElasticSearch host dogwood-xxxxxx.us-east-1.bonsaisearch.net:80
2017-08-23T17:58:16.743069+00:00 app[worker.1]: Connected to ElasticSearch host dogwood-xxxxxx.us-east-1.bonsaisearch.net:80
2017-08-23T17:58:16.743368+00:00 app[worker.1]: Connecting to Firebase https://xxxxxx.firebaseio.com
2017-08-23T17:58:16.843849+00:00 heroku[worker.1]: State changed from up to crashed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions