收藏
回答

无法发送请求

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug wx.request 客户端 7.0.3 2.6.5 [238]

- 当前 Bug 的表现(可附上截图)


- 预期表现


- 复现路径


- 提供一个最简复现 Demo

无法发送请求


错误

request:fail unexpected end of stream

O @ [publib]:1

(anonymous) @ [publib]:1

a.emit @ [publib]:1

ca @ [publib]:1

(anonymous) @ [publib]:1

(anonymous) @ [publib]:1

S @ [publib]:1

value @ [publib]:1208

(anonymous) @ [VM 16]:1

Script.runInContext @ vm.js:59

runInContext @ vm.js:120

handleEvaluateJavascript @ [publib]:588

handleProcessMessage @ [publib]:1233

ws.on @ [publib]:1458

emitOne @ events.js:115

emit @ events.js:210

_receiver.onmessage @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules/ws/lib/WebSocket.js:146

dataMessage @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules/ws/lib/Receiver.js:389

getData @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules/ws/lib/Receiver.js:330

startLoop @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules/ws/lib/Receiver.js:165

add @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules/ws/lib/Receiver.js:139

_ultron.on @ /Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules/ws/lib/WebSocket.js:142

emitOne @ events.js:115

emit @ events.js:210

addChunk @ _stream_readable.js:263

readableAddChunk @ _stream_readable.js:250

Readable.push @ _stream_readable.js:208

onread @ net.js:595


回答关注问题邀请回答
收藏
登录 后发表内容