You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux DESKTOP 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
Cloud Provider (where do you deploy Algo to)
cloud.scaleway.com
Summary of the problem
WLS bash types ^V instead of typing copied material into the terminal.
By unintended coincidence, Scaleway setup does not show pasted material.
As a result, it's easy to wonder why ./algo keeps failing when attempting to determine if server exists. Typing in access key does make bug go away.
(env) chaznix@DESKTOP:~/algo$ ./algo
What provider would you like to use?
1. DigitalOcean
2. Amazon Lightsail
3. Amazon EC2
4. Microsoft Azure
5. Google Compute Engine
6. Scaleway
7. OpenStack (DreamCompute optimised)
8. Install to existing Ubuntu 16.04 server
Enter the number of your desired provider
: 6
Enter your auth token (https://www.scaleway.com/docs/generate-an-api-token/)
[pasted values will not be displayed]
[...]:
Enter your organization name (https://cloud.scaleway.com/#/billing)
[pasted values will not be displayed]
[...]:
Name the vpn server:
[algo.local]:
What region should the server be located in?
1. par1 Paris
2. ams1 Amsterdam
Enter the number of your desired region:
[1]: 1
Do you want macOS/iOS clients to enable "VPN On Demand" when connected to cellular networks?
[y/N]:
Do you want macOS/iOS clients to enable "VPN On Demand" when connected to Wi-Fi?
[y/N]:
Do you want to install a DNS resolver on this VPN server, to block ads while surfing?
[y/N]:
Do you want each user to have their own account for SSH tunneling?
[y/N]:
Do you want the VPN to support Windows 10 or Linux Desktop clients? (enables compatible ciphers and key exchange, less secure)
[y/N]:
Do you want to retain the CA key? (required to add users in the future, but less secure)
[y/N]:
PLAY [Configure the server] ******************************************************************************************************************************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************************************************************************************************************************
ok: [localhost]
TASK [Local pre-tasks] ***********************************************************************************************************************************************************************************************************
included: /home/chaznix/algo/playbooks/local.yml for localhost
TASK [Generate the SSH private key] **********************************************************************************************************************************************************************************************
ok: [localhost]
TASK [Generate the SSH public key] ***********************************************************************************************************************************************************************************************
ok: [localhost]
TASK [Change mode for the SSH private key] ***************************************************************************************************************************************************************************************
ok: [localhost]
TASK [Ensure the dynamic inventory exists] ***************************************************************************************************************************************************************************************
ok: [localhost]
TASK [cloud-scaleway : Check if server exists] ***********************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "connection": "close", "content": "{\"message\": \"Authentication error\", \"type\": \"invalid_auth\"}", "content_length": "59", "content_type": "application/json", "date": "Fri, 16 Mar 2018 22:43:31 GMT", "json": {"message": "Authentication error", "type": "invalid_auth"}, "msg": "Status code was not [200]: HTTP Error 401: UNAUTHORIZED", "redirected": false, "server": "Tengine", "status": 401, "url": "https://cp-par1.scaleway.com/servers"}
TASK [cloud-scaleway : debug] ****************************************************************************************************************************************************************************************************
ok: [localhost] => {
"fail_hint": [
"Sorry, but something went wrong!",
"Please check the troubleshooting guide.",
"https://trailofbits.github.io/algo/troubleshooting.html"
]
}
TASK [cloud-scaleway : fail] *****************************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed as requested from task"}
PLAY RECAP ***********************************************************************************************************************************************************************************************************************
localhost : ok=7 changed=0 unreachable=0 failed=2
(env) chaznix@DESKTOP:~/algo$
The text was updated successfully, but these errors were encountered:
OS / Environment (where do you run Algo on)
Cloud Provider (where do you deploy Algo to)
Summary of the problem
WLS bash types
^V
instead of typing copied material into the terminal.By unintended coincidence, Scaleway setup does not show pasted material.
As a result, it's easy to wonder why
./algo
keeps failing when attempting to determine if server exists. Typing in access key does make bug go away.##############EDIT: RESOLVED ############################
This can be worked around by setting the properties of the Windows Linux Subsystem. Please note that this workaround should be added to the existing algo docs.
https://superuser.com/questions/1064813/windows-10-build-14316-ctrl-v-doesnt-work-on-bash-on-ubuntu-on-windows#1109862
Steps to reproduce the behavior
./algo
2.5 feel sad
./algo
4.5 feel glad
Full log
The text was updated successfully, but these errors were encountered: