Hello actual i got some error on pimatic.
this is one of it
2015-07-17 19:47:10error [pimatic]: { name: 'StatusCodeError', statusCode: 502, message: '502 - <html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor="white">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.4.6 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n', error: '<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor="white">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.4.6 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n', options: { uri: 'http://api.pimatic.org/plugins', callback: undefined, simple: true, resolveWithFullResponse: false }, response: { _readableState: { highWaterMark: 16384, buffer: [], length: 0, pipes: null, pipesCount: 0, flowing: false, ended: true, endEmitted: true, reading: false, calledRead: true, sync: false, needReadable: true, emittedReadable: false, readableListening: false, objectMode: false, defaultEncoding: 'utf8', ranOut: false, awaitDrain: 0, readingMore: false, decoder: null, encoding: null }, readable: false, domain: null, _events: { end: [Object], close: [Object], data: [Function], readable: [Function], error: [Function] }, _maxListeners: 10, socket: { _connecting: false, _handle: null, _readableState: [Object], readable: false, domain: null, _events: [Object], _maxListeners: 0, _writableState: [Object], writable: false, allowHalfOpen: false, onend: null, destroyed: true, errorEmitted: false, bytesRead: 346, _bytesDispatched: 72, _pendingData: null, _pendingEncoding: '', parser: null, _httpMessage: [Object], ondata: null, _idleNext: null, _idlePrev: null, _idleTimeout: -1 }, connection: { _connecting: false, _handle: null, _readableState: [Object], readable: false, domain: null, _events: [Object], _maxListeners: 0, _writableState: [Object], writable: false, allowHalfOpen: false, onend: null, destroyed: true, errorEmitted: false, bytesRead: 346, _bytesDispatched: 72, _pendingData: null, _pendingEncoding: '', parser: null, _httpMessage: [Object], ondata: null, _idleNext: null, _idlePrev: null, _idleTimeout: -1 }, httpVersion: '1.1', complete: true, headers: { server: 'nginx/1.4.6 (Ubuntu)', date: 'Fri, 17 Jul 2015 17:47:03 GMT', 'content-type': 'text/html', 'content-length': '181', connection: 'keep-alive' }, trailers: {}, _pendings: [], _pendingIndex: 0, url: '', method: null, statusCode: 502, client: { _connecting: false, _handle: null, _readableState: [Object], readable: false, domain: null, _events: [Object], _maxListeners: 0, _writableState: [Object], writable: false, allowHalfOpen: false, onend: null, destroyed: true, errorEmitted: false, bytesRead: 346, _bytesDispatched: 72, _pendingData: null, _pendingEncoding: '', parser: null, _httpMessage: [Object], ondata: null, _idleNext: null, _idlePrev: null, _idleTimeout: -1 }, _consuming: true, _dumped: false, httpVersionMajor: 1, httpVersionMinor: 1, upgrade: false, req: { domain: null, _events: [Object], _maxListeners: 10, output: [], outputEncodings: [], writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _headerSent: true, _header: 'GET /plugins HTTP/1.1\r\nhost: api.pimatic.org\r\nConnection: keep-alive\r\n\r\n', _hasBody: true, _trailer: '', finished: true, _hangupClose: false, socket: [Object], connection: [Object], agent: [Object], socketPath: undefined, method: 'GET', path: '/plugins', _headers: [Object], _headerNames: [Object], parser: null, res: [Circular] }, request: { domain: null, _events: [Object], _maxListeners: 10, callback: [Function], uri: [Object], readable: true, writable: true, _qs: [Object], _auth: [Object], _oauth: [Object], _multipart: [Object], _redirect: [Object], _tunnel: [Object], _rp_resolve: [Function], _rp_reject: [Function], _rp_promise: [Object], _rp_callbackOrig: undefined, _rp_options: [Object], headers: {}, setHeader: [Function], hasHeader: [Function], getHeader: [Function], removeHeader: [Function], method: 'GET', localAddress: undefined, pool: {}, dests: [], __isRequestRequest: true, _callback: [Function: RP$callback], proxy: null, tunnel: undefined, setHost: true, originalCookieHeader: undefined, _disableCookies: true, _jar: undefined, port: 80, host: 'api.pimatic.org', path: '/plugins', httpModule: [Object], agentClass: [Object], agent: [Object], _rp_promise_in_use: true, _started: true, href: 'http://api.pimatic.org/plugins', req: [Object], ntick: true, response: [Circular], originalHost: 'api.pimatic.org', originalHostHeaderName: 'host', responseContent: [Circular], _destdata: true, _ended: true, _callbackCalled: true }, toJSON: [Function: responseToJSON], caseless: { dict: [Object] }, pipe: [Function], addListener: [Function], on: [Function], pause: [Function], resume: [Function], read: [Function], body: '<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor="white">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.4.6 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n' } }
19:47:10error [pimatic]: { name: 'StatusCodeError', statusCode: 502, message: '502 - <html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor="white">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.4.6 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n', error: '<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor="white">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.4.6 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n', options: { uri: 'http://api.pimatic.org/plugins', callback: undefined, simple: true, resolveWithFullResponse: false }, response: { _readableState: { highWaterMark: 16384, buffer: [], length: 0, pipes: null, pipesCount: 0, flowing: false, ended: true, endEmitted: true, reading: false, calledRead: true, sync: false, needReadable: true, emittedReadable: false, readableListening: false, objectMode: false, defaultEncoding: 'utf8', ranOut: false, awaitDrain: 0, readingMore: false, decoder: null, encoding: null }, readable: false, domain: null, _events: { end: [Object], close: [Object], data: [Function], readable: [Function], error: [Function] }, _maxListeners: 10, socket: { _connecting: false, _handle: null, _readableState: [Object], readable: false, domain: null, _events: [Object], _maxListeners: 0, _writableState: [Object], writable: false, allowHalfOpen: false, onend: null, destroyed: true, errorEmitted: false, bytesRead: 346, _bytesDispatched: 72, _pendingData: null, _pendingEncoding: '', parser: null, _httpMessage: [Object], ondata: null, _idleNext: null, _idlePrev: null, _idleTimeout: -1 }, connection: { _connecting: false, _handle: null, _readableState: [Object], readable: false, domain: null, _events: [Object], _maxListeners: 0, _writableState: [Object], writable: false, allowHalfOpen: false, onend: null, destroyed: true, errorEmitted: false, bytesRead: 346, _bytesDispatched: 72, _pendingData: null, _pendingEncoding: '', parser: null, _httpMessage: [Object], ondata: null, _idleNext: null, _idlePrev: null, _idleTimeout: -1 }, httpVersion: '1.1', complete: true, headers: { server: 'nginx/1.4.6 (Ubuntu)', date: 'Fri, 17 Jul 2015 17:47:03 GMT', 'content-type': 'text/html', 'content-length': '181', connection: 'keep-alive' }, trailers: {}, _pendings: [], _pendingIndex: 0, url: '', method: null, statusCode: 502, client: { _connecting: false, _handle: null, _readableState: [Object], readable: false, domain: null, _events: [Object], _maxListeners: 0, _writableState: [Object], writable: false, allowHalfOpen: false, onend: null, destroyed: true, errorEmitted: false, bytesRead: 346, _bytesDispatched: 72, _pendingData: null, _pendingEncoding: '', parser: null, _httpMessage: [Object], ondata: null, _idleNext: null, _idlePrev: null, _idleTimeout: -1 }, _consuming: true, _dumped: false, httpVersionMajor: 1, httpVersionMinor: 1, upgrade: false, req: { domain: null, _events: [Object], _maxListeners: 10, output: [], outputEncodings: [], writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _headerSent: true, _header: 'GET /plugins HTTP/1.1\r\nhost: api.pimatic.org\r\nConnection: keep-alive\r\n\r\n', _hasBody: true, _trailer: '', finished: true, _hangupClose: false, socket: [Object], connection: [Object], agent: [Object], socketPath: undefined, method: 'GET', path: '/plugins', _headers: [Object], _headerNames: [Object], parser: null, res: [Circular] }, request: { domain: null, _events: [Object], _maxListeners: 10, callback: [Function], uri: [Object], readable: true, writable: true, _qs: [Object], _auth: [Object], _oauth: [Object], _multipart: [Object], _redirect: [Object], _tunnel: [Object], _rp_resolve: [Function], _rp_reject: [Function], _rp_promise: [Object], _rp_callbackOrig: undefined, _rp_options: [Object], headers: {}, setHeader: [Function], hasHeader: [Function], getHeader: [Function], removeHeader: [Function], method: 'GET', localAddress: undefined, pool: {}, dests: [], __isRequestRequest: true, _callback: [Function: RP$callback], proxy: null, tunnel: undefined, setHost: true, originalCookieHeader: undefined, _disableCookies: true, _jar: undefined, port: 80, host: 'api.pimatic.org', path: '/plugins', httpModule: [Object], agentClass: [Object], agent: [Object], _rp_promise_in_use: true, _started: true, href: 'http://api.pimatic.org/plugins', req: [Object], ntick: true, response: [Circular], originalHost: 'api.pimatic.org', originalHostHeaderName: 'host', responseContent: [Circular], _destdata: true, _ended: true, _callbackCalled: true }, toJSON: [Function: responseToJSON], caseless: { dict: [Object] }, pipe: [Function], addListener: [Function], on: [Function], pause: [Function], resume: [Function], read: [Function], body: '<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor="white">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.4.6 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n' } }