marcells / node-build-monitor

A Build Monitor written in Node.js, which supports several build services and can be easily extended.
https://marcells.github.io/node-build-monitor
MIT License
349 stars 168 forks source link

Connecting With Travis-ci facing error no -4078 #215

Closed MTBC-DevOps-MH149 closed 4 years ago

MTBC-DevOps-MH149 commented 4 years ago

I am running node-build-monitor manually. my config file is attached below. I am facing error no : -4078. Error: connect ECONNREFUSED 54.243.143.241:443 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { errno: -4078, code: 'ECONNREFUSED', syscall: 'connect', address: '54.243.143.241', port: 443 } Can you help? I think i am taking token wrong.

{
  "monitor": {
    "interval": 5000,
    "numberOfBuilds": 12,
    "latestBuildOnly": false,
    "sortOrder": "date",
    "debug": true
  },
  "services": [
    {
      "name": "Travis",
      "configuration": {
        "slug": "khan-hassan/react-test-ci",
    "token": "token here."
      }
    },
    {
      "name": "Travis",
      "configuration": {
        "slug": "khan-hassan/react-test-ci",
        "latestBuildOnly": true
      }
    }
  ]
}
marcells commented 4 years ago

Your second part in the configuration looks wrong:

{
      "name": "Travis",
      "configuration": {
        "slug": "khan-hassan/react-test-ci",
        "latestBuildOnly": true
      }
    }

Is the issue still present?