aisouard / libwebrtc

:package: Google's WebRTC implementation in a single static library.
https://axel.isouard.fr/libwebrtc
Apache License 2.0
641 stars 190 forks source link

Unable to load AWS_CREDENTIAL_FILE () #79

Closed qknight closed 4 years ago

qknight commented 4 years ago

On my Fedora 31 platform I now see this error:

.../third-party/libwebrtc/build]: make
[ 33%] Built target depot-tools
[ 37%] Performing build step for 'webrtc-src'
[ 14%] Built target webrtc-sync
[ 28%] Fetching gn for linux*
0> Failed to fetch file gs://chromium-gn/2d79b4acffac0b084f250a9699f670d41f164864 for src/buildtools/linux64/gn, skipping. [Err: .../third-party/libwebrtc/build/depot_tools/src/depot-tools/external_bin/gsutil/gsutil_4.26/gsutil/third_party/boto/boto/pyami/config.py:69: UserWarning: Unable to load AWS_CREDENTIAL_FILE ()
  warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path)
Failure: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727).
]
Failed to fetch file gs://chromium-gn/2d79b4acffac0b084f250a9699f670d41f164864 for src/buildtools/linux64/gn. [Err: .../third-party/libwebrtc/build/depot_tools/src/depot-tools/external_bin/gsutil/gsutil_4.26/gsutil/third_party/boto/boto/pyami/config.py:69: UserWarning: Unable to load AWS_CREDENTIAL_FILE ()
  warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path)
Failure: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727).
]
Downloading 1 files took 1.228930 second(s)
make[5]: *** [CMakeFiles/webrtc-gn.dir/build.make:61: CMakeFiles/webrtc-gn-complete] Error 1
make[4]: *** [CMakeFiles/Makefile2:253: CMakeFiles/webrtc-gn.dir/all] Error 2
make[3]: *** [Makefile:84: all] Error 2
make[2]: *** [CMakeFiles/webrtc-src.dir/build.make:114: webrtc/stamp/webrtc-src-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:135: CMakeFiles/webrtc-src.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

I've been visiting various implementation files like:

But don't have an idea yet what could cause this issue. Ideas?

agouaillard-cosmo commented 4 years ago

It's an internal google infrastructure error. It looks like they are hosting some of the files on AWS, and sometimes they internal connection to AWS does not work. It happens during a client sync command execution, most often during the 'hooks'. Nothing t todo but wai, it is usually transient.

qknight commented 4 years ago

We're using a webrtc codebase from 2018 IIRC and the issue there is probably similar that sometimes these bases just 'vanish'.

Thanks for your help.

TangGee commented 10 months ago

pls disable ipv6