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

_http_outgoing.js:492,运行一段时间 会报错,然后服务就挂了,以下是错误代码 #24

Open
highmind opened this issue Jan 30, 2018 · 0 comments

Comments

@highmind
Copy link

highmind commented Jan 30, 2018

`}
[2018-01-30 15:46:51.381] [DEBUG] [default] - save one log :
{"msg":"3",
"level":2,
"from":"http://xxxx.com/m/wuchabang/xxx.html?from=singlemessage&isappinstalled=0",
"uin":"123",
"ip":"::ffff:127.0.0.1",
"userAgent":"Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) Mobile/14G60 MicroMessenger/6.6.1 NetType/4G Language/zh_CN",
"date":"2018-01-30T07:46:51.378Z",
"all":";
msg=3;
level=2;
from=http://xxxx.com/m/wuchabang/xxx.html?from=singlemessage&isappinstalled=0;uin=123;ip=::ffff:127.0.0.1;userAgent=Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) Mobile/14G60 MicroMessenger/6.6.1 NetType/4G Language/zh_CN;date=1517298411378",
"_id":"5a7022eb3e70e5841f23209b"

}
_http_outgoing.js:492
throw new Error('"value" required in setHeader("' + name + '", value)');
^

Error: "value" required in setHeader("Content-Length", value)
at validateHeader (_http_outgoing.js:492:11)
at ClientRequest.setHeader (_http_outgoing.js:501:3)
at new ClientRequest (_http_client.js:173:14)
at Object.request (http.js:38:10)
at IncomingMessage. (D:\badjs-installer\badjs-acceptor\app.js:233:33)
at emitNone (events.js:106:13)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1056:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
`

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

1 participant