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

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

Open
zhaopenghai opened this issue Apr 19, 2022 · 1 comment

Comments

@zhaopenghai
Copy link

zhaopenghai commented Apr 19, 2022

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.

@CaesarEXMA
Copy link

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

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