carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.38k stars 3.69k forks source link

403 when pulling FBX SDK #5342

Closed PriestOfAdanos closed 2 years ago

PriestOfAdanos commented 2 years ago
#20 1630.8 BuildUtilsDocker.sh: Downloading FBX SDK...
#20 1630.9 --2022-04-06 15:18:56--  https://www.autodesk.com/content/dam/autodesk/www/adn/fbx/2020-0-1/fbx202001_fbxsdk_linux.tar.gz
#20 1631.0 Resolving www.autodesk.com (www.autodesk.com)... 23.72.166.107
#20 1631.1 Connecting to www.autodesk.com (www.autodesk.com)|23.72.166.107|:443... connected.
#20 1631.2 HTTP request sent, awaiting response... 403 Forbidden
#20 1631.2 2022-04-06 15:18:56 ERROR 403: Forbidden.

This issue can be fixed with adding flag --user-agent="Mozilla" to wget

ll7 commented 2 years ago

I have the same issue while building carla in a docker:

BuildPythonAPI.sh: Success!
BuildUtilsDocker.sh: Downloading FBX SDK...
--2022-05-13 06:26:31--  https://www.autodesk.com/content/dam/autodesk/www/adn/fbx/2020-0-1/fbx202001_fbxsdk_linux.tar.gz
Resolving www.autodesk.com (www.autodesk.com)... 104.125.70.182
Connecting to www.autodesk.com (www.autodesk.com)|104.125.70.182|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2022-05-13 06:26:31 ERROR 403: Forbidden.

make: *** [build.utils] Error 8
Util/BuildTools/Linux.mk:149: recipe for target 'build.utils' failed
The command '/bin/sh -c cd /home/carla/ &&   if [ -z ${GIT_BRANCH+x} ]; then git clone --depth 1 https://github.com/carla-simulator/carla.git;   else git clone --depth 1 --branch $GIT_BRANCH https://github.com/carla-simulator/carla.git; fi &&   cd /home/carla/carla &&   ./Update.sh &&   make CarlaUE4Editor &&   make PythonAPI &&   make build.utils &&   make package &&   rm -r /home/carla/carla/Dist' returned a non-zero code: 2

Where should I use this flag? In my docker command or do I have to modify the BuildUtilsDocker.sh. I use the current dev branch of carla.

docker build -t carla -f Carla.Dockerfile .
max-lennon commented 2 years ago

I have the same issue while building carla in a docker:

BuildPythonAPI.sh: Success!
BuildUtilsDocker.sh: Downloading FBX SDK...
--2022-05-13 06:26:31--  https://www.autodesk.com/content/dam/autodesk/www/adn/fbx/2020-0-1/fbx202001_fbxsdk_linux.tar.gz
Resolving www.autodesk.com (www.autodesk.com)... 104.125.70.182
Connecting to www.autodesk.com (www.autodesk.com)|104.125.70.182|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2022-05-13 06:26:31 ERROR 403: Forbidden.

make: *** [build.utils] Error 8
Util/BuildTools/Linux.mk:149: recipe for target 'build.utils' failed
The command '/bin/sh -c cd /home/carla/ &&   if [ -z ${GIT_BRANCH+x} ]; then git clone --depth 1 https://github.com/carla-simulator/carla.git;   else git clone --depth 1 --branch $GIT_BRANCH https://github.com/carla-simulator/carla.git; fi &&   cd /home/carla/carla &&   ./Update.sh &&   make CarlaUE4Editor &&   make PythonAPI &&   make build.utils &&   make package &&   rm -r /home/carla/carla/Dist' returned a non-zero code: 2

Where should I use this flag? In my docker command or do I have to modify the BuildUtilsDocker.sh. I use the current dev branch of carla.

docker build -t carla -f Carla.Dockerfile .

Were you able to resolve this problem? I'm having a similar difficulty.

ll7 commented 2 years ago

No, I wasn't. Sorry.

ndeshp2s commented 2 years ago

Hi @PriestOfAdanos,

Could you please suggest how exactly "--user-agent="Mozilla" this fix needs to be applied?