React-native-code-push: New deployment is not applied.

Created on 22 Apr 2019  路  9Comments  路  Source: microsoft/react-native-code-push

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

Steps to Reproduce

  1. Deploy new bundle
  2. Call codePush.checkUpdate()
    3.Check downloadUrl

Expected Behavior

What you expected to happen?
Update successful or downloadUrl works fine.

Actual Behavior

What actually happens?
Update is not applied even though chcekUpdate returns new bundle label and download url. Also, that downloadUrl is not working too.

Reproducible Demo

Environment

  • react-native-code-push version: 5.6.0
  • react-native version: 0.59.5
  • iOS/Android/Windows version:
  • Does this reproduce on a debug build or release build? release build
  • Does this reproduce on a simulator, or only on a physical device? physical device

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

I have used this package in last 6 month. It works perfectly fine. However, today, while I'm working on minor javascript update to my app, I found that the new deployment bundle is not applied. I tried to deploy it as mandatory, but still update is not applied. I confirmed that new bundle is uploaded successfully in appcenter.
I call codePush.checkUpdate() then it returns new bundle label. However, new bundle downloadUrl is not working. If I copy and paste downloadUrl in browser, 404 returns like below image.
Screenshot from 2019-04-22 19-51-28
I think azure cdn is broken. Can you check?

Most helpful comment

Same issue.
Hi @yuri-kulikov,
https://codepushupdates.azureedge.net/storagev2/[blob_url] can't be accessed.
The other one is fine.

All 9 comments

After 30minutes, downloadUrl works fine but app update is still not applied.

Now, downloadUrl is not working again. I think azure cdn is not stable now.

same issue.

Hey @ohjeyong, @DeerDevelop
Thanks for reporting!

Could you please clarify what kind of URL you can't access?

I've tested it with:

https://codepush.blob.core.windows.net/storagev2/[blob_url]
https://codepushupdates.azureedge.net/storagev2/[blob_url]

and everything works fine.

Same issue.
Hi @yuri-kulikov,
https://codepushupdates.azureedge.net/storagev2/[blob_url] can't be accessed.
The other one is fine.

Hi, @yuri-kulikov
Same as @leedan77.

I can download bundle file via appcenter website download bundle button(this button is linked with https://codepush.blob.core...

But not working on https://codepushupdates.azureedge... which is the downloadUrl from codePush.checkUpdate().

We're still investigating. Please keep us informed if the problem is solved.

This morning I have retried and it has been solved without doing anything. I think it is temporary network issue or azure cdn issue.

Since the problem is solved I think we can close the issue for now. But we will continue to monitor this. Please feel free to reopen the issue or create another one if needed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cgerikj picture cgerikj  路  3Comments

Fuhrmann picture Fuhrmann  路  3Comments

ACCTFORGH picture ACCTFORGH  路  3Comments

quanzaiyu picture quanzaiyu  路  3Comments

fanzhiri picture fanzhiri  路  3Comments