使用egg自带的curl的时候,间歇性会报错,为什么?at errnoException (dns.js:50:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)code: "ENOTFOUND"errno: "ENOTFOUND"syscall: "getaddrinfo"hostname: "test.com"host: "test.com"port: 80name: "RequestError"data: undefinedpath: "/test"status: -1headers: {}res: {"status":-1,"statusCode":-1,"headers":{},"size":0,"aborted":false,"rt":5,"keepAliveSocket":false,"requestUrls":["http://test.com/test"],"timing":null,"remoteAddress":"","remotePort":"","socketHandledRequests":1,"socketHandledResponses":0}pid: 23297
- 1 回答
- 0 关注
- 1209 浏览
添加回答
举报
0/150
提交
取消