-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hello folks!
I needed some assistance on the error that I've been getting lately.
Whenever I run a command/chat in HipChat: @hubot gh info, I'm getting the below error in the debug logs. I've tried may a stuffs but couldn't figure out the exact reason. Any help will really be appreciated. I have a feeling that my GitHub API URL getting parsed is somehow wrong.
REQUEST: { host: 'ghe..com/api/v3',
port: 443,
path: '/orgs//teams?per_page=100&access_token=***********',
method: 'get',
headers:
{ host: 'ghe..com/api/v3',
'content-length': '0',
accept: 'application/vnd.github.moondragon+json',
'user-agent': 'NodeJS HTTP Client' },
ca: undefined,
agent:
HttpsProxyAgent {
domain: null,
_events: {},
_eventsCount: 0,
_maxListeners: undefined,
callback: [Function: connect],
secureProxy: true,
proxy:
{ protocol: 'https:',
slashes: true,
auth: null,
host: 'ghe..com/',
port: 443,
hostname: 'ghe..com/',
hash: null,
search: null,
query: null,
href: 'https://ghe.****.com/',
parse: [Function: parse],
format: [Function: format],
resolve: [Function: resolve],
resolveObject: [Function: resolveObject],
parseHost: [Function: parseHost] } } }
STATUS: 400
HEADERS: {"server":"GitHub.com","date":"Fri, 04 Aug 2017 20:38:08 GMT","content-type":"text/html","content-length":"161083","connection":"close","etag":""57ed0977-2753b""}
problem with request: read ECONNRESET
[error] read ECONNRESET { org: '', per_page: 100 } null
[Fri Aug 04 2017 16:38:08 GMT-0400 (EDT)] DEBUG building message
[Fri Aug 04 2017 16:38:08 GMT-0400 (EDT)] DEBUG There was an error getting the details of the organization: ****