code-push-server icon indicating copy to clipboard operation
code-push-server copied to clipboard

android每次把bundle上传到服务器成功后,导致服务器奔溃

Open zhaopenghai opened this issue 3 years ago • 1 comments

code-push-server:最新版本号, "react-native": "0.65.1", "react-native-code-push": "^7.0.4", code-push -v: 2.1.9

执行 code-push release-react FirewallAndroid Android --deploymentName Production --description "删除无用数据" --targetBinaryVersion 1-development false --mandatory true 命令 Upload progress:[==================================================] 100% 0.0s Successfully released an update containing the "/var/folders/8n/gtzkr9nx00qg0r9t1t_kpsdw0000gn/T/CodePush/CodePush" directory to the "Production" deployment of the "FirewallAndroid" app.

服务器奔溃日志: [2022-04-19T15:52:15.236] [INFO] http - ::ffff:192.168.0.36 - - "POST /apps/FirewallAndroid/deployments/Production/release HTTP/1.1" 200 18 "" "node-superagent/3.8.3" events.js:352 throw er; // Unhandled 'error' event ^

Error: Invalid protocol: 192.168.0.36: at Request.init (/Users/baoyuanlong/Desktop/code-push/code-push-server-0.5.2/node_modules/request/request.js:458:31) at new Request (/Users/baoyuanlong/Desktop/code-push/code-push-server-0.5.2/node_modules/request/request.js:127:8) at request (/Users/baoyuanlong/Desktop/code-push/code-push-server-0.5.2/node_modules/request/index.js:53:10) at /Users/baoyuanlong/Desktop/code-push/code-push-server-0.5.2/core/utils/common.js:92:9 at suppressedCallback (fs.js:236:5) at FSReqCallback.oncomplete (fs.js:180:23) Emitted 'error' event on Request instance at: at Request.init (/Users/baoyuanlong/Desktop/code-push/code-push-server-0.5.2/node_modules/request/request.js:458:17) at new Request (/Users/baoyuanlong/Desktop/code-push/code-push-server-0.5.2/node_modules/request/request.js:127:8) [... lines matching original stack trace ...] at FSReqCallback.oncomplete (fs.js:180:23) Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.

zhaopenghai avatar Apr 19 '22 07:04 zhaopenghai

我也有遇到這個問題,快崩潰了

CaesarEXMA avatar Mar 23 '23 08:03 CaesarEXMA