conan: [bug] tools.get raises AuthenticationException
Environment Details (include every applicable attribute)
- Operating System+version: KUbuntu 21.04
- Conan version: 1.37.0
- Python version: 3.9.5
Conan version < 1.37.0 works properly.
Steps to reproduce (Include if Applicable)
conanfile.py
with
def build(self):
tools.get("https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.gz", destination=self._folder_name)
Logs (Executed commands with output) (Include/Attach if Applicable)
conan output
tools.get("https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.gz", destination=self._folder_name)
AuthenticationException: 403: Forbidden
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 19 (11 by maintainers)
After some delay, here is the final answer from ARM:
So (we) either host the binaries else where or use a custom user agent when using
tool.get
.Yes, of course. I “seized” this issue for those who search on Google for “conan AuthenticationException”.
The logging and netrc tipps could be useful in a wiki or troubleshooting FAQ, though 😃
Yes, lets leave this open for a while, so you can reference it too if you will try to raise it to arm.
If no further reports in a few weeks, then we will close it, thanks!