-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Core occasionally cannot be downloaded from China #2713
Comments
Please note that through a change to the error handling of CURL in our
|
Whenever the first download via CocoaPods has failed, the cache could be in a corrupt state. It might help in such cases to remove Realm from the CocoaPods cache, what can be achieved by running the following command: rm -rf ~/Library/Caches/CocoaPods/Pods/**/Realm* In addition, the integration in the project should be reset. rm -rf /Pods After that and ensuring that you've a working internet connection without restrictions, you can run the following: pod install --verbose |
I am in china and has the same problem when I use VPN. The core realm package is 63MB, that is so big and the VPN is hard to download it. By looking the build.sh of realm, it use
|
@madawei2699 says the correct answer. I am also a developer in China.The solution is download |
Wish you fix this issue ASAP. Too many developer in China work without VPN. |
@Onetaway You can find the download url in |
It's stop when "Downloading dependency: core 0.100.4".I tried these methods that mentioned above. |
After Realm 2.0.x you'd want to download |
This is ridiculous, if the developers from China needs to download the zipped file to local temp directory to let cocoapods to detect it, why not just download the dylib/static framework and add the dependency to project manually directly? All the pods just pass except the realm-cocoa for command BTW, that would be so nice to write a note/tips in README.md file in github and realm.io/docs, since this issue has blocked so many developers. @realm-admin BTW, I'm a developer from China. Many thanks for your great job! |
I have the same problem even I use VPN and I solved it by downloading the dependence manually. In conclusion, you should download realm-core-XXX.tar.xz and realm-sync-cocoa-${REALM_SYNC_VERSION}.tar.xz, then put them into $TMPDIR/core/ and $TMPDIR/sync respectively. |
I am not in China, and I am having lots of trouble installing realm. Here is the relevant bit from the "pod install verbose" output:
wtf is going on?? |
@danat8x8 what's wrong with the installation? The log output you shared doesn't seem to indicate a failure of any kind... If by your own admission your issue is unrelated to what this issue is tracking, why not open a new issue, taking care to fill out the new issue template, and include the full output of |
apologies, I was typing before thinking. there is an error when it tries to install Realm, that I can't resolve. I'll open another issue. |
I am in china and has the same problem when I use VPN..Place tell me how to host success
|
I am facing this problem today, the @madawei2699 is right. |
The speed almost drives me mad, I don't understand my previous colleague choose this database, but he already leave the company, just because this database can cause a lot of trouble? |
@kimown cocoa: core: and put them into |
It's only necessary to download the former file. The latter is not used. |
Realm is the best DB library i found for iOS. I love, but i live in Cuba, and cloudflare (realm.io) is making me going crazy every time i need install them. Using Speedify (a really good and speedy VPN) i will take 2 or 3 ours to achieve this task. Please do something, move the core to a domain that don´t block countries. Realm is the unique library in the world giving problems when installed with CocoaPods. Help please ! And please can u edit install.sh and tell curl to display network info when downloading core?, for example: % Total % Received % Xferd Average Speed Time Time Time Current |
@wonder2011 have you considered migrating to SPM, which will only download code from |
We've had several reports from users in China who sometimes cannot download Realm's core.
Realm hosts its core binaries in an AWS S3 bucket, available through Cloudflare via our
static.realm.io
domain. You're affected by this issue if those services are operational, you have a good internet connection, you're in mainland China and you're still getting the following error:Downloading core failed. Please try again once you have an Internet connection.
.We're working with Cloudflare to improve our availability in China and will update this issue when we have more to announce.
In the meantime, please use a VPN or a prebuilt version of Realm available through our GitHub releases: https://github.com/realm/realm-cocoa/releases.
Thanks for your patience.
The text was updated successfully, but these errors were encountered: