-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Error: The requested URL returned error: 401 Unauthorized when ATLAS_TOKEN
env is set
#11088
Comments
Hi @francomile - Does it work if you replace |
Hi @briancain, |
Hi @francomile - You should be able to use Can you explain what you mean by this?
Do you mean if you set |
@briancain ok it's now solved. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Vagrant version
Vagrant 2.2.5
Host operating system
Mac OSX Mojave 10.14.16
and
Ubuntu 18.04 LTS
Guest operating system
Ubuntu 18.04 LTS
Vagrantfile
No Vagrantfile is being used as i'm running the command
vagrant box add <box_name>
Debug output
https://gist.github.com/francomile/762b83bae0d63202d7888503e35aee4c
Expected behavior
Vagrant should be able to access the box url and download it.
Actual behavior
IF ATLAS_TOKEN env is set, the command
vagrant box add <box_name>
returns the below error. IfATLAS_TOKEN
is unset the public boxes can be downloaded, but not private ones of course.Steps to reproduce
echo 'export ATLAS_TOKEN="your_token_here"' > .bashrc
source .bashrc
vagrant box add ubuntu/bionic64
(or any other box)References
Are there any other GitHub issues (open or closed) that should be linked here?
For example:
Found no references for this Vagrant version (2.2.5) or similar issues related with not being able to download boxes when
ATLAS_TOKEN
env is set.The text was updated successfully, but these errors were encountered: