New deployment is not applied.
Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Steps to Reproduce
- Deploy new bundle
- 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
- Download https://github.com/Microsoft/react-native-code-push/archive/master.zip and unzip. From
Examplesfolder runnode create-app.js appName [email protected] [email protected]command to generate plain CodePushified React Native app. Please see description on top ofcreate-app.jsfile content if needed - If you can't reproduce the bug on it, provide us as much info as possible about your project
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.
I think azure cdn is broken. Can you check?
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.