Skip to content
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

The Google Cloud SDK (gcloud) doesn't work through Alpaca #29

Closed
samuong opened this issue Sep 24, 2019 · 2 comments · Fixed by #30
Closed

The Google Cloud SDK (gcloud) doesn't work through Alpaca #29

samuong opened this issue Sep 24, 2019 · 2 comments · Fixed by #30
Assignees

Comments

@samuong
Copy link
Owner

samuong commented Sep 24, 2019

Steps to reproduce:

  1. Set up the proxy to go via Alpaca, by following the instructions at: https://cloud.google.com/sdk/docs/proxy-settings#proxy_configuration
  2. Run gcloud compute addresses list. If you haven't already done so, it'll ask you to provide your credentials and project name.

The output should look like this:

$ gcloud compute addresses list
Listed 0 items.

But what actually happens is that it just sits there doing nothing.

@samuong
Copy link
Owner Author

samuong commented Sep 24, 2019

This regression started with 42e94be.

@samuong samuong self-assigned this Sep 24, 2019
@samuong
Copy link
Owner Author

samuong commented Sep 24, 2019

Turns out this is due to the wrong newline character being used. It should be \r\n, not just \n, according to https://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant