-
Notifications
You must be signed in to change notification settings - Fork 175
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
Dependency download fails on Linux: (403) Forbidden #319
Comments
I also get an Access Denied error for that URL from my Windows-based Chome from Japan. So possibly an issue with Epic's CDN. |
Read more about the fix here: https://forums.unrealengine.com/t/upcoming-disruption-of-service-impacting-unreal-engine-users-on-github/1155880 |
Niiiice. This effectively means they broke all git tags. |
We're in trouble. I did some Python (#320) so we repair existing UE tags. The problem is that it doesn't work. Because we need to authenticate when we're downloading |
As mentioned before, the thread describes the fix: Manually update the Engine/Build/Commit.gitdeps.xml in your custom Engine. There is currently no automatic fix for this issue. |
Hello, thanks for the information. I have replaced this file on my local windows UE repo and it worked. Do you know where should I replace this file to in the Ubuntu machine where I run 'ue4-docker build'? Should I first clone the repo of Unreal Engine mannually first and replace this file and then run 'ue4-docker build'? Thanks a lot! |
I have the same question. Right now I have local copy of UE4 but I would like to do modify that file in the container. The image is not created correctly therefore I cannot get inside the container and modify that file manually. I'm not sure if I should try to hack the python package and the Dockerfile. |
If I understand correctly this is an issue for anyone using ue4-docker and won't be fixed. Perhaps it needs including in the documentation? |
Any chances to get this fixed? |
This should only be a problem for users using custom (local) UE4 forks. In that case, you can apply Epic's fix to your local source, and things will work again. Per that announcement, UE4 4.25 and later custom forks should be able to merge (or cherry-pick) the latest tag from Epic and get the fixed file, but I haven't tried that myself. Trying to automate this in ue4-docker is a hassle because we either need access to the user's GitHub credentials to extract the relevant file (which is what blocked #320), which usually isn't available when building from local forks; or we'd need to have available every updated Potentially we could add a flag that lets the ue4-docker user override Commit.gitdeps.xml, but that's pretty specific and requires the user to go download the correct file, in which case they may as well just commit it to their local fork and the problem is fixed. If anyone is trying to build an old commit ID directly, rather than using local source, and hitting this issue, then #320's approach would be feasible, as you're already providing GitHub credentials for the download stage. If people are in this situation, then an approach like #320's could work, and if it's gated on providing GitHub credentials, then it'd work for people doing local source builds too if they additionally provide GitHub credentials. To be clear, my understanding is that this only affects people (re)building the ue4-source image (and maybe ue4-minimal?), it didn't retroactively break existing images. |
Yes following the instructions to build airsim from source. |
I also don't think I'm using a custom fork. I'm really not versed about UE4 and its build process, was just following CARLA's docs to build a Docker image. I simply did |
I believe you should open an issue in airsim to ask them to fix their build instructions. |
Their instructions are using 4.19.2, which is ancient, and didn't have the in-repo fix applied by Epic. In this case, they're not using a custom local fork, so they could benefit from the approach from #320, since their build-from-source step requires GitHub credentials already. This is the "old commit ID directly" situation I describe above, I forgot to mention that it also applies to 4.26 and older too. 4.19 has fallen out of support in ue4-docker as well, so honestly it'd be simpler for everyone if they could upgrade to a newer UE4 version. Their non-container builds use 4.27 (and specify that is the current minimum supported version) so I would guess that it's just their instructions that need to be updated. The 4.27 branch
Edit: Oh dear, the successor project was cancelled in October and the entire team was to be laid off as of last week. So I expect that repo will not see another update. Also, a quick check suggests that the fixed Commit.gitdeps.xml was in the release branches, but the release tags were not updated, so just building |
Is there any solutions that can build the ue4 (or ue5) automatically by the ue4-docker python packgae? From the answers above, I find it is difficult to build the ue4 from scratch with a clean docker container, I just want to use the ue4-docker package to build a successfuly container, that can be used to do something in carla. In short, how can I solve this issue? @slonopotamus @Zaratusa Last but not least, thank you for the discussion with the above attempted solutions. |
You should be able to build containers for UE 4.25 or later by doing a "custom" build against the relevant Epic release branch, e.g., https://github.com/EpicGames/UnrealEngine/tree/4.25, rather than using the tag. Any releases from 5.2 onwards should work by tag as usual. For anything older versions or releases, you'll need to create a custom branch of your own, apply Epic's fix and then build from that custom branch.
|
On the note of the Carla fork actually, if anyone has recently linked their Epic Games account to their GitHub account and can't access that or any other forks of the Unreal Engine, it's due to Epic's ongoing GitHub organisation maintenance. Fortunately it looks like Epic are aware of the issue and are working to address it. @slonopotamus @TBBle just a heads-up, in case we see any issues filed against ue4-docker from users who are trying to build images for a fork they don't have access to. |
Hi, I've generated a Dockerfile to build a custom version 4.27.2 on Linux in Gitlab CI with the following settings:
Running the
Setup.sh
causes the following error, even when running it without any excludes:I've never had any problems downloading the dependencies on Windows or MacOS. Is this a known issue on Linux?
The text was updated successfully, but these errors were encountered: