Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throwing Server is busy error. #31

Open
mack1290 opened this issue Sep 18, 2019 · 2 comments
Open

throwing Server is busy error. #31

mack1290 opened this issue Sep 18, 2019 · 2 comments

Comments

@mack1290
Copy link

Description:
{ Error: Server is busy at Request._callback (/usr/src/app/node_modules/splunk-logging/splunklogger.js:484:35) at Request.self.callback (/usr/src/app/node_modules/request/request.js:185:22) at Request.emit (events.js:182:13) at Request. (/usr/src/app/node_modules/request/request.js:1161:10) at Request.emit (events.js:182:13) at IncomingMessage. (/usr/src/app/node_modules/request/request.js:1083:12) at Object.onceWrapper (events.js:273:13) at IncomingMessage.emit (events.js:187:15) at endReadableNT (_stream_readable.js:1085:12) at process._tickCallback (internal/process/next_tick.js:63:19) code: 9 }

@mack1290
Copy link
Author

my findings: i think _body.text is undefined due to which it is going into hung state.

if (!splunkError && _body && _body.code && _body.code.toString() !== "0") {
splunkError = new Error(_body.text);
splunkError.code = _body.code;
}

@shakeelmohamed
Copy link
Contributor

@mack1290 nice find, we're open to a PR but not sure if we'll be able to repro this one easily ourselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants