microsoft / react-native-code-push

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

Code push suddenly repeats "Network Request Failed" #2645

Closed ori9998 closed 9 months ago

ori9998 commented 9 months ago

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

Steps to Reproduce

  1. Start the app
  2. When checking for update, it says "An unknown error occurred.
  3. Emits [CodePush] Network request failed

Expected Behavior

What you expected to happen? It should check for update and start the app This started an hour ago

Actual Behavior

What actually happens?

  STACK TRACE AND/OR SCREENSHOTS

LOG [CodePush] Checking for update. LOG [CodePush] An unknown error occurred. LOG [CodePush] Network request failed

Reproducible Demo

Environment

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

ori9998 commented 9 months ago

Is anyone experiencing the same issue? My application is down and my customers are suffering. https://status.appcenter.ms/ appcenter status shows that it is operational...

cwkeam commented 9 months ago

Hi @ori9998 we are experiencing the same issue. We are seeing an SSL error in the AppCenter side.

cwkeam commented 9 months ago

@lucen-ms @DmitriyKirakosyan @Priskorn Apologies for the abrupt ping, but our whole service is down due to this issue & I had seen that you all are the PR reviewers of this repository. Apologies if this is not due process.

Esbruiz commented 9 months ago

Same is happening to me, if you go to:

https://codepush.appcenter.ms/v0.1/public/codepush/update_check?deployment_key={your_deployment_key}&app_version={app_version}&client_unique_id={client_unique_id}

That URL is the one that codepush.checkForUpdate() uses to check for updates, if you manually go there you'll see a certificate error:

NET::ERR_CERT_DATE_INVALID

facucaramelpoint commented 9 months ago

Same here ,IOS and Android on react native are not working.

"react-native-code-push": "^8.1.1" "react-native": "0.71.8"

hubciorz commented 9 months ago
image

Guys, they just didn't renew the TLS/SSL certificate 🫡 It expired 1.5h ago.

angusryer commented 9 months ago

Yep. Cert expired:

image

kenithts commented 9 months ago

Same here! Can we get more visibility to this issue?

keijionga commented 9 months ago

Same here

image
Gabogg07 commented 9 months ago

After checking I got the same Invalid certificate error. Any updates on this?

jeffinhk commented 9 months ago

press likes on this post then more people should act upon this issue

hubciorz commented 9 months ago

Same here! Can we get more visibility to this issue?

@kenithts Try to reach the support team on appcenter.ms:

image
yunusemreayar commented 9 months ago

any solution here?

hubciorz commented 9 months ago

any solution here?

They need to renew the cert.

burakgenc10 commented 9 months ago

Has anyone experienced a similar problem before? How long does it take to renew SSL certificates?

angusryer commented 9 months ago

Contacting support is a good idea. I just sent them this:

Your SSL certificate at https://codepush.appcenter.ms/ has EXPIRED!

Github issue: https://github.com/microsoft/react-native-code-push/issues/2645

Error:

NET::ERR_CERT_DATE_INVALID
Subject: *.appcenter.ms
Issuer: Microsoft Azure TLS Issuing CA 05
Expires on: Jan 18, 2024
Current date: Jan 18, 2024
hubciorz commented 9 months ago

Has anyone experienced a similar problem before? How long does it take to renew SSL certificates?

About a minute but they need to know about the problem first. Perhaps they didn't even get any notification on that since https://status.appcenter.ms/ shows that everything is fine...

angusryer commented 9 months ago

Has anyone experienced a similar problem before? How long does it take to renew SSL certificates?

About a minute but they need to know about the problem first. Perhaps they didn't even get any notification on that since https://status.appcenter.ms/ shows that everything is fine...

Maybe we should open an issue in a different repo and link this issue to it as well?

hubciorz commented 9 months ago
image
esthefanielanza commented 9 months ago

I'm experiencing the same issue here, will contact support as well.

burakgenc10 commented 9 months ago

I contacted support and they stated that they were having problems with the CodePush services. it will be resolved soon.

hubciorz commented 9 months ago

Yeah, but they started working on that only 2 minutes ago :/

image
lucen-ms commented 9 months ago

We have rotated the expired certificate; we are sorry for any inconvenience.

megabeehothanhminh commented 9 months ago

@all should also check the code logic in that part. Because I also use codepush but I don't see this problem happening to me. I just give my opinion

yunusemreayar commented 9 months ago

@ALL should also check the code logic in that part. Because I also use codepush but I don't see this problem happening to me. I just give my opinion

are you Friedrich Nietzsche ?

hubciorz commented 9 months ago

@ALL should also check the code logic in that part. Because I also use codepush but I don't see this problem happening to me. I just give my opinion

Because it was fixed yesterday. That was a matter of an expired certificate and was not related to the code at all.

songzuyun commented 1 month ago

now, Same is happening to me

DordeDimitrijev commented 1 month ago

Hello @songzuyun thank you for reaching out. Can you please explain what issue are you experiencing, since the issue with certificate was resolved as mentioned above

We have rotated the expired certificate; we are sorry for any inconvenience.