Closed goreycn closed 9 years ago
Can you try again, ensuring that you have an active internet connection while installing?
Installing Realm (0.94.1) [!] /bin/bash -c set -e sh build.sh cocoapods-setup
core is not a symlink. Deleting... Downloading dependency: core 0.92.1.1 Downloading core failed. Please try again once you have an Internet connection.
Installing Realm (0.95.0) [!] /bin/bash -c set -e sh build.sh cocoapods-setup
core is not a symlink. Deleting... Downloading dependency: core 0.92.1.1 Downloading core failed. Please try again once you have an Internet connection.
I meet it, too
@jpsim is it possible your S3 configuration changes could've caused this?
I installing others is ok.
Downloading dependencies Installing AFNetworking (2.5.4) Installing ASProgressPopUpView (0.8) Installing Base64nl (1.2) Installing FCUUID (1.1.4) Installing GZIP (1.0.3) Installing IGDigest (1.1.2) Installing Mantle (2.0.4) Installing Realm (0.95.0) [!] /bin/bash -c set -e sh build.sh cocoapods-setup
core is not a symlink. Deleting... Downloading dependency: core 0.92.1.1 Downloading core failed. Please try again once you have an Internet connection.
This is strange, since I'm not having any trouble downloading the core zip myself
@jpsim is it possible your S3 configuration changes could've caused this?
That's the most likely option I can think of too. @codesourse would it be possible for you to share your public IP address with us? You can email it to us privately to help@realm.io if you prefer. We recently had to implement some IP filtering to prevent Realm from being downloaded from countries that we aren't allowed to export to, and I get the feeling that this filtering is affecting you.
I can reproduce the error myself 9 times out of 10. Running the curl step manually, with arguments tweaked to get decent errors, I see that I'm getting HTTP/1.1 403 Forbidden
.
@jpsim i sent your email.
We recently had to implement some IP filtering to prevent Realm from being downloaded from countries that we aren't allowed to export to, and I get the feeling that this filtering is affecting you.
That's the point , so I have to give it up (cocoapod)?
any way, realm.framework works well.
I have the exact same error with Realm 0.95, internet connection is active, cocoapods 0.38.2
.
After trying with cURL
from terminal, i've got 403 Forbidden
Can confirm this (from Germany).
Have been wondering why I'm getting a message such as Version <html><head><title>403 Forbidden</title></head>....</html> is now available ...
while running my app and now I can't update anymore. Before looking deeper into this issue, I have followed another recommendation to delete a couple of folders (including Pods/RealmCocoa
), so my current installation is gone now.
It's not this IP address alone, I've tried from work and from home and it's 403 Forbidden
for both.
We recently had to implement some IP filtering to prevent Realm from being downloaded from countries that we aren't allowed to export to, and I get the feeling that this filtering is affecting you.
Does this mean you're not allowed to export this software to Germany? o.O
@Padarom exactly, i'm trying from Berlin :) and my installation is gone as i deleted the Pods
and xxxx.xcworkspace
Beacause of bad net env.
the prepare command Realm provide is sh build.sh cocoapod-setup
, mainly code is download realm-core, download realm-core if $TMPDIR/core_bin/core-${REALM_CORE_VERSION}.tar.bz2 file not exists. so if you downloads always failed, you can download realm-core directly according to url provided by build.sh (shell script function download_core
), and then backup it, when you need pod install realm, you can mv it to $TMPDIR/core_bin/core-${REALM_CORE_VERSION}.tar.bz2.
${REALM_CORE_VERSION} is core version , such as 0.92.1.1
There's even a 403 Forbidden
when manually going on static.realm.io
(which is where it's hosted), no matter which file we try to access. So there's no chance manually downloading without using a VPN or something the like.
I've sent a mail to help@realm.io so they can investigate a bit further. Can't really continue my work right now, so that's a bad thing.
I put last realm-core 0.92.1.1 to my dropbox, https://www.dropbox.com/s/r0w7u1ox5n4i3ms/core-0.92.1.1.tar.bz2?dl=0
great , Thanks :+1:
i confirm it's working now after downloading the file from @MickeyHub 's dropbox and placing into $TMPDIR/core_bin/
thanks again
Worked like a charm, thanks :+1: At least I'm able to get working again for now :)
Though the issue should still be looked into for the future
almost always failed for China's net env.😂
Sorry about the trouble, we've disabled IP filtering on AWS S3 for the time being so you should now be able to download core (and other assets served from static.realm.io).
I am experiencing this exact issue right now targetting 0.95.0. Also your website links all lead to errors, confirming access problems (at least on my end). @jpsim
@austinkettner we're experiencing issues with S3 since 9am Pacific Time this morning. I'll post again here once we've resolved the issues.
Thanks @jpsim, much appreciated!
Ok, now resolved. It may take a few minutes for these changes to propagate. Thanks for your patience.
Hi, I am experiencing the same issue from France trying to get the branch swift 2.0
@bnadim that sounds like a different issue, please open a new ticket at https://github.com/realm/realm-cocoa/issues/new
Still got following issue:
[!] /bin/bash -c
set -e
sh build.sh cocoapods-setup
core is not a symlink. Deleting...
Downloading dependency: core 0.92.2
Downloading core failed. Please try again once you have an Internet connection.
Looks like Realm's core binaries couldn't be downloaded, as the message indicates. If you generally have difficulty downloading large assets from AWS S3 hosted in the US, that could explain the issue. Only advice I can give is to try again.
Thanks @jpsim . And yes, the core has been download after 10+ times.
same as @luohui8891, I want to die
@MickeyHub hey guy, just FYI, I have tried again via US VPN, it works.
Same here, tried it several times. No success.
[!] /bin/bash -c
set -e
sh build.sh cocoapods-setup
core is not a symlink. Deleting...
Downloading dependency: core 0.94.0
Downloading core failed. Please try again once you have an Internet connection.
Is there any ip address or url I can verify with that this is in fact caused by aws s3? Thanks!
thanks @MickeyHub , that worked! Although it's important to rename the downloaded file to "core-VERSION.tar.bz2".
@luohui8891 ,Thank you, I think it'll be OK. @neugartf , I updated dropbox share link to latest realm-core(0.94.0, tag:v0.96.0) realm-core
I meet it, too
> Running prepare command
$ /bin/bash -c set -e sh build.sh cocoapods-setup
core is not a symlink. Deleting...
Downloading dependency: core 0.94.0
Downloading core failed. Please try again once you have an Internet connection.
[!] /bin/bash -c
set -e
sh build.sh cocoapods-setup
core is not a symlink. Deleting...
Downloading dependency: core 0.94.0
Downloading core failed. Please try again once you have an Internet connection.
@losingle What is the ISP you are using? China Telecom?
@beeender China Telecom over Japan VPN
ditto
directly download the latest version core-0.94.0.tar.bz2. put it to the folder $TMPDIR/core_bin.
have the same issue here:
[!] /bin/bash -c set -e sh build.sh cocoapods-setup
core is not a symlink. Deleting... Downloading dependency: core 0.95.5 Downloading core failed. Please try again once you have an Internet connection.
@jpsim ,does Taiwan is one of countries that is affected by IP filtering? Thank you
@jpsim ,does Taiwan is one of countries that is affected by IP filtering? Thank you
No, only the countries listed as blocked in our README.
I have the same issue here from Holland. I'm trying to download realm core 0.95.5.
Having this issue from the US. Any progress been made on this?
We're tracking this issue now by #2713, please take a look at the proposed workaround there and whether your error matches the output shown there, when trying to download the latest version of Realm. If that shouldn't fix it, please open up a new issue instead.
@MickeyHub You are right.I meet this issue frequently in China.
I had this problem today after updating Cocoapods from 0.39.0 to 1.0.1 then to 1.1.0.rc.2
prior to the 1.0.1 upgrade, pod install would properly install RealmSwift, but after, I got the error:
[!] /bin/bash -c set -e sh build.sh cocoapods-setup
I downgraded back to 0.39.0 and ran pod install again, and received the following (new) error:
xcrun: error: active developer path ("/Applications/Xcode-beta.app/Contents/Developer") does not exist, use sudo xcode-select --switch path/to/Xcode.app
to specify the Xcode that you wish to use for command line developer tools (or see man xcode-select
)
Downloading dependencies
I deleted Xcode-beta from my system a few days/weeks ago when GM8 hit, so running xcode-select -r to reset to the default command line tools path resolved that error on 0.39.0
on a whim, I re-upgraded to 1.0.1 and re-ran pod install.
This time, no issues, everything installed just fine.
Not sure if it's the same issue as what other (US) people have seen, but it might be worth looking in to if you're hitting this error. (I did not add this to #2713 because I'm not in China ...)
@neugartf Yes!!!Thank you for your 'rename' !!! lol
Try to install realm with Cocoapods, I got the message below
and pod version: