microsoft / react-native-code-push

React Native module for CodePush
http://appcenter.ms
Other
8.98k stars 1.47k forks source link

Code push for iOS works fine but not Android #2476

Closed vunguyendhSTS closed 9 months ago

vunguyendhSTS commented 1 year ago

Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):

Steps to Reproduce

  1. This morning try to deploy new code push version
  2. run both script for iOS and Android deployment
  3. iOS passed but Android throw internal server error or some SSL connection error

Expected Behavior

What you expected to happen?

Actual Behavior

What actually happens?

  STACK TRACE AND/OR SCREENSHOTS

Reproducible Demo

Environment

(The more info the faster we will be able to address it!)

maman commented 1 year ago

seeing similiar errors on our build too. The stacktrace is something like this:

Error: Error: write EPROTO 139978279597952:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1563:SSL alert number 80

but in our case, the issue is on the ios bundle upload. Android is fine.

Our team also found that appcenter is now still had some issues, could this be related?

(screenshot for history purpose)

image
Garguy commented 1 year ago

Having similar issue. Working fine on iOS but Android is failing. Device tries to download the update and just rollback on its own then CodePush is crashing app on restart.

We are using "react-native": "0.68.1", "react-native-code-push": "7.0.5",

FATAL EXCEPTION: main Process: com.chrobinson.navispherecarrier.dev, PID: 30865 java.lang.AssertionError: recreateReactContextInBackground should only be called after the initial createReactContextInBackground call. at com.facebook.infer.annotation.Assertions.assertCondition(Assertions.java:88) at com.facebook.react.ReactInstanceManager.recreateReactContextInBackground(ReactInstanceManager.java:436) at com.microsoft.codepush.react.CodePushNativeModule$2.run(CodePushNativeModule.java:156)

Garguy commented 1 year ago

Any luck from anyone on this? Still having issues where the push goes out and Android just auto rolls back after trying to update.

pierroo commented 1 year ago

That issue is kinda scary; does that mean CodePush can actually crashes the app when they are down or something?

microsoft-github-policy-service[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

jignesh-joshi commented 1 year ago

I am facing the same issue is there any solution for it?

wilmxre commented 7 months ago

any update on this?