Network connection problems in Google Cloud SDK while I have access to google or website like google app engine in my browsersvn over HTTP proxyConfiguring iTerm and Git to use a proxy on OS XHow do I have to configure the proxy settings so Eclipse can download new plugins?How can I set proxysettings for SSH in eclipse?git refuses to connect without proxysocket.error: [Errno 101] Network is unreachable with google app engine“gcloud auth activate-service-account” and “gcloud source repos clone” errorUsing Google cloud sdk with corporate proxy settings?Google GAX / gRPC in Node.js Does Not Work With HTTP/S ProxyHow to use gcloud compute scp over a proxy network?
Premier League simulation
The Game of the Century - why didn't Byrne take the rook after he forked Fischer?
Based on what criteria do you add/not add icons to labels within a toolbar?
Is a switch from R to Python worth it?
What does the ISO setting for mechanical 35mm film cameras actually do?
How does LIDAR avoid getting confused in an environment being scanned by hundreds of other LIDAR?
Purchased new computer from DELL with pre-installed Ubuntu. Won't boot. Should assume its an error from DELL?
What was the role of Commodore-West Germany?
Is there a way to say "double + any number" in German?
Can I enter a rental property without giving notice if I'm afraid a tenant may be hurt?
In MTG, was there ever a five-color deck that worked well?
Probably terminated or laid off soon; confront or not?
Find a text string in a file and output only the rest of the text that follows it?
Ubuntu show wrong disk sizes, how to solve it?
Non-small objects in categories
Entry element query missing user field data when user is suspended
Identify Batman without getting caught
Is space radiation a risk for space film photography, and how is this prevented?
How to switch an 80286 from protected to real mode?
Only charge capacitor when button pushed then turn on LED momentarily with capacitor when button released
Is the first page of a novel really that important?
What is the German idiom or expression for when someone is being hypocritical against their own teachings?
A verb for when some rights are not violated?
Our group keeps dying during the Lost Mine of Phandelver campaign. What are we doing wrong?
Network connection problems in Google Cloud SDK while I have access to google or website like google app engine in my browser
svn over HTTP proxyConfiguring iTerm and Git to use a proxy on OS XHow do I have to configure the proxy settings so Eclipse can download new plugins?How can I set proxysettings for SSH in eclipse?git refuses to connect without proxysocket.error: [Errno 101] Network is unreachable with google app engine“gcloud auth activate-service-account” and “gcloud source repos clone” errorUsing Google cloud sdk with corporate proxy settings?Google GAX / gRPC in Node.js Does Not Work With HTTP/S ProxyHow to use gcloud compute scp over a proxy network?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I created an account on Google App Engine, then I installed google-cloud-sdk by gcloud init, and get the following error:
Pick configuration to use:
[1] Re-initialize this configuration [a] with new settings
[2] Create a new configuration
[3] Switch to and re-initialize existing configuration: [default]
Please enter your numeric choice: 1
Your current configuration has been set to: [a]
You can skip diagnostics next time by using the following flag:
gcloud init --skip-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
ERROR: Reachability Check failed.
Cannot reach https://www.google.com (ResponseNotReady)
Cannot reach https://accounts.google.com (ResponseNotReady)
Cannot reach
https://cloudresourcemanager.googleapis.com/v1beta1/projects
(ResponseNotReady)
Cannot reach https://www.googleapis.com/auth/cloud-platform
(ResponseNotReady)
Network connection problems may be due to proxy or firewall settings.
Do you have a network proxy you would like to set in gcloud (Y/n)? Y
Select the proxy type:
[1] HTTP
[2] HTTP_NO_TUNNEL
[3] SOCKS4
[4] SOCKS5
Please enter your numeric choice: 1
Enter the proxy host address: XXX
Enter the proxy port: XXX
Is your proxy authenticated (y/N)? n
Cloud SDK proxy properties set.
Rechecking network connection...done.
ERROR: Reachability Check still does not pass.
Cannot reach https://www.google.com (ResponseNotReady)
Cannot reach https://accounts.google.com (ResponseNotReady)
Cannot reach
https://cloudresourcemanager.googleapis.com/v1beta1/projects
(ResponseNotReady)
Cannot reach https://www.googleapis.com/auth/cloud-platform
(ResponseNotReady)
Cannot reach
https://dl.google.com/dl/cloudsdk/channels/rapid/components-2.json
(ResponseNotReady)
Current effective Cloud SDK network proxy settings:
type = http
host = XXX
port = XXX
username = None
password = None
What would you like to do?
[1] Change Cloud SDK network proxy properties
[2] Clear all gcloud proxy properties
[3] Exit
Please enter your numeric choice:
I am in China but I can unblock google or website like google app engine in my browser with proxy(setting in shadowsocks2.3). I tried to set a network proxy in google cloud SDK, the IP address and port are exactly the one used in shadowsocks2.3, but it still didn’t work. And my project list couldn’t be accessed. What is the exact problem? Hints or explanations are all appreciated. Many thanks in advance!
proxy google-cloud-sdk network-connection
add a comment |
I created an account on Google App Engine, then I installed google-cloud-sdk by gcloud init, and get the following error:
Pick configuration to use:
[1] Re-initialize this configuration [a] with new settings
[2] Create a new configuration
[3] Switch to and re-initialize existing configuration: [default]
Please enter your numeric choice: 1
Your current configuration has been set to: [a]
You can skip diagnostics next time by using the following flag:
gcloud init --skip-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
ERROR: Reachability Check failed.
Cannot reach https://www.google.com (ResponseNotReady)
Cannot reach https://accounts.google.com (ResponseNotReady)
Cannot reach
https://cloudresourcemanager.googleapis.com/v1beta1/projects
(ResponseNotReady)
Cannot reach https://www.googleapis.com/auth/cloud-platform
(ResponseNotReady)
Network connection problems may be due to proxy or firewall settings.
Do you have a network proxy you would like to set in gcloud (Y/n)? Y
Select the proxy type:
[1] HTTP
[2] HTTP_NO_TUNNEL
[3] SOCKS4
[4] SOCKS5
Please enter your numeric choice: 1
Enter the proxy host address: XXX
Enter the proxy port: XXX
Is your proxy authenticated (y/N)? n
Cloud SDK proxy properties set.
Rechecking network connection...done.
ERROR: Reachability Check still does not pass.
Cannot reach https://www.google.com (ResponseNotReady)
Cannot reach https://accounts.google.com (ResponseNotReady)
Cannot reach
https://cloudresourcemanager.googleapis.com/v1beta1/projects
(ResponseNotReady)
Cannot reach https://www.googleapis.com/auth/cloud-platform
(ResponseNotReady)
Cannot reach
https://dl.google.com/dl/cloudsdk/channels/rapid/components-2.json
(ResponseNotReady)
Current effective Cloud SDK network proxy settings:
type = http
host = XXX
port = XXX
username = None
password = None
What would you like to do?
[1] Change Cloud SDK network proxy properties
[2] Clear all gcloud proxy properties
[3] Exit
Please enter your numeric choice:
I am in China but I can unblock google or website like google app engine in my browser with proxy(setting in shadowsocks2.3). I tried to set a network proxy in google cloud SDK, the IP address and port are exactly the one used in shadowsocks2.3, but it still didn’t work. And my project list couldn’t be accessed. What is the exact problem? Hints or explanations are all appreciated. Many thanks in advance!
proxy google-cloud-sdk network-connection
Did you follow steps in cloud.google.com/sdk/docs/proxy-settings, can you be more specific what you have tried, and/or include example that someone can replicate your steps?
– cherba
Apr 1 '18 at 20:14
I followed the steps according to the hint in SDK. And I have modified the code in question. Is there any problem in the setting process ?
– Xue Guo
Apr 2 '18 at 6:16
add a comment |
I created an account on Google App Engine, then I installed google-cloud-sdk by gcloud init, and get the following error:
Pick configuration to use:
[1] Re-initialize this configuration [a] with new settings
[2] Create a new configuration
[3] Switch to and re-initialize existing configuration: [default]
Please enter your numeric choice: 1
Your current configuration has been set to: [a]
You can skip diagnostics next time by using the following flag:
gcloud init --skip-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
ERROR: Reachability Check failed.
Cannot reach https://www.google.com (ResponseNotReady)
Cannot reach https://accounts.google.com (ResponseNotReady)
Cannot reach
https://cloudresourcemanager.googleapis.com/v1beta1/projects
(ResponseNotReady)
Cannot reach https://www.googleapis.com/auth/cloud-platform
(ResponseNotReady)
Network connection problems may be due to proxy or firewall settings.
Do you have a network proxy you would like to set in gcloud (Y/n)? Y
Select the proxy type:
[1] HTTP
[2] HTTP_NO_TUNNEL
[3] SOCKS4
[4] SOCKS5
Please enter your numeric choice: 1
Enter the proxy host address: XXX
Enter the proxy port: XXX
Is your proxy authenticated (y/N)? n
Cloud SDK proxy properties set.
Rechecking network connection...done.
ERROR: Reachability Check still does not pass.
Cannot reach https://www.google.com (ResponseNotReady)
Cannot reach https://accounts.google.com (ResponseNotReady)
Cannot reach
https://cloudresourcemanager.googleapis.com/v1beta1/projects
(ResponseNotReady)
Cannot reach https://www.googleapis.com/auth/cloud-platform
(ResponseNotReady)
Cannot reach
https://dl.google.com/dl/cloudsdk/channels/rapid/components-2.json
(ResponseNotReady)
Current effective Cloud SDK network proxy settings:
type = http
host = XXX
port = XXX
username = None
password = None
What would you like to do?
[1] Change Cloud SDK network proxy properties
[2] Clear all gcloud proxy properties
[3] Exit
Please enter your numeric choice:
I am in China but I can unblock google or website like google app engine in my browser with proxy(setting in shadowsocks2.3). I tried to set a network proxy in google cloud SDK, the IP address and port are exactly the one used in shadowsocks2.3, but it still didn’t work. And my project list couldn’t be accessed. What is the exact problem? Hints or explanations are all appreciated. Many thanks in advance!
proxy google-cloud-sdk network-connection
I created an account on Google App Engine, then I installed google-cloud-sdk by gcloud init, and get the following error:
Pick configuration to use:
[1] Re-initialize this configuration [a] with new settings
[2] Create a new configuration
[3] Switch to and re-initialize existing configuration: [default]
Please enter your numeric choice: 1
Your current configuration has been set to: [a]
You can skip diagnostics next time by using the following flag:
gcloud init --skip-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
ERROR: Reachability Check failed.
Cannot reach https://www.google.com (ResponseNotReady)
Cannot reach https://accounts.google.com (ResponseNotReady)
Cannot reach
https://cloudresourcemanager.googleapis.com/v1beta1/projects
(ResponseNotReady)
Cannot reach https://www.googleapis.com/auth/cloud-platform
(ResponseNotReady)
Network connection problems may be due to proxy or firewall settings.
Do you have a network proxy you would like to set in gcloud (Y/n)? Y
Select the proxy type:
[1] HTTP
[2] HTTP_NO_TUNNEL
[3] SOCKS4
[4] SOCKS5
Please enter your numeric choice: 1
Enter the proxy host address: XXX
Enter the proxy port: XXX
Is your proxy authenticated (y/N)? n
Cloud SDK proxy properties set.
Rechecking network connection...done.
ERROR: Reachability Check still does not pass.
Cannot reach https://www.google.com (ResponseNotReady)
Cannot reach https://accounts.google.com (ResponseNotReady)
Cannot reach
https://cloudresourcemanager.googleapis.com/v1beta1/projects
(ResponseNotReady)
Cannot reach https://www.googleapis.com/auth/cloud-platform
(ResponseNotReady)
Cannot reach
https://dl.google.com/dl/cloudsdk/channels/rapid/components-2.json
(ResponseNotReady)
Current effective Cloud SDK network proxy settings:
type = http
host = XXX
port = XXX
username = None
password = None
What would you like to do?
[1] Change Cloud SDK network proxy properties
[2] Clear all gcloud proxy properties
[3] Exit
Please enter your numeric choice:
I am in China but I can unblock google or website like google app engine in my browser with proxy(setting in shadowsocks2.3). I tried to set a network proxy in google cloud SDK, the IP address and port are exactly the one used in shadowsocks2.3, but it still didn’t work. And my project list couldn’t be accessed. What is the exact problem? Hints or explanations are all appreciated. Many thanks in advance!
proxy google-cloud-sdk network-connection
proxy google-cloud-sdk network-connection
edited Apr 2 '18 at 6:11
Xue Guo
asked Apr 1 '18 at 7:24
Xue GuoXue Guo
234 bronze badges
234 bronze badges
Did you follow steps in cloud.google.com/sdk/docs/proxy-settings, can you be more specific what you have tried, and/or include example that someone can replicate your steps?
– cherba
Apr 1 '18 at 20:14
I followed the steps according to the hint in SDK. And I have modified the code in question. Is there any problem in the setting process ?
– Xue Guo
Apr 2 '18 at 6:16
add a comment |
Did you follow steps in cloud.google.com/sdk/docs/proxy-settings, can you be more specific what you have tried, and/or include example that someone can replicate your steps?
– cherba
Apr 1 '18 at 20:14
I followed the steps according to the hint in SDK. And I have modified the code in question. Is there any problem in the setting process ?
– Xue Guo
Apr 2 '18 at 6:16
Did you follow steps in cloud.google.com/sdk/docs/proxy-settings, can you be more specific what you have tried, and/or include example that someone can replicate your steps?
– cherba
Apr 1 '18 at 20:14
Did you follow steps in cloud.google.com/sdk/docs/proxy-settings, can you be more specific what you have tried, and/or include example that someone can replicate your steps?
– cherba
Apr 1 '18 at 20:14
I followed the steps according to the hint in SDK. And I have modified the code in question. Is there any problem in the setting process ?
– Xue Guo
Apr 2 '18 at 6:16
I followed the steps according to the hint in SDK. And I have modified the code in question. Is there any problem in the setting process ?
– Xue Guo
Apr 2 '18 at 6:16
add a comment |
2 Answers
2
active
oldest
votes
To set your host : 127.0.0.1 and port : 1080
I have ss in my computer.And when I set like above,it can work well.
1
Can you clarify what 'ss' is?
– Ameen
Mar 24 at 7:10
shadowsocks
– wolfdan
Mar 25 at 15:39
add a comment |
You need to configure your gcloud cli tool to use a proxy.
https://cloud.google.com/sdk/docs/proxy-settings
In my case, I'm using shadow-socks as proxy, so I did:
gcloud config set proxy/type socks5
gcloud config set proxy/address 127.0.0.1
gcloud config set proxy/port 1086
and it works.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49595789%2fnetwork-connection-problems-in-google-cloud-sdk-while-i-have-access-to-google-or%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
To set your host : 127.0.0.1 and port : 1080
I have ss in my computer.And when I set like above,it can work well.
1
Can you clarify what 'ss' is?
– Ameen
Mar 24 at 7:10
shadowsocks
– wolfdan
Mar 25 at 15:39
add a comment |
To set your host : 127.0.0.1 and port : 1080
I have ss in my computer.And when I set like above,it can work well.
1
Can you clarify what 'ss' is?
– Ameen
Mar 24 at 7:10
shadowsocks
– wolfdan
Mar 25 at 15:39
add a comment |
To set your host : 127.0.0.1 and port : 1080
I have ss in my computer.And when I set like above,it can work well.
To set your host : 127.0.0.1 and port : 1080
I have ss in my computer.And when I set like above,it can work well.
answered Mar 24 at 7:03
wolfdanwolfdan
11 bronze badge
11 bronze badge
1
Can you clarify what 'ss' is?
– Ameen
Mar 24 at 7:10
shadowsocks
– wolfdan
Mar 25 at 15:39
add a comment |
1
Can you clarify what 'ss' is?
– Ameen
Mar 24 at 7:10
shadowsocks
– wolfdan
Mar 25 at 15:39
1
1
Can you clarify what 'ss' is?
– Ameen
Mar 24 at 7:10
Can you clarify what 'ss' is?
– Ameen
Mar 24 at 7:10
shadowsocks
– wolfdan
Mar 25 at 15:39
shadowsocks
– wolfdan
Mar 25 at 15:39
add a comment |
You need to configure your gcloud cli tool to use a proxy.
https://cloud.google.com/sdk/docs/proxy-settings
In my case, I'm using shadow-socks as proxy, so I did:
gcloud config set proxy/type socks5
gcloud config set proxy/address 127.0.0.1
gcloud config set proxy/port 1086
and it works.
add a comment |
You need to configure your gcloud cli tool to use a proxy.
https://cloud.google.com/sdk/docs/proxy-settings
In my case, I'm using shadow-socks as proxy, so I did:
gcloud config set proxy/type socks5
gcloud config set proxy/address 127.0.0.1
gcloud config set proxy/port 1086
and it works.
add a comment |
You need to configure your gcloud cli tool to use a proxy.
https://cloud.google.com/sdk/docs/proxy-settings
In my case, I'm using shadow-socks as proxy, so I did:
gcloud config set proxy/type socks5
gcloud config set proxy/address 127.0.0.1
gcloud config set proxy/port 1086
and it works.
You need to configure your gcloud cli tool to use a proxy.
https://cloud.google.com/sdk/docs/proxy-settings
In my case, I'm using shadow-socks as proxy, so I did:
gcloud config set proxy/type socks5
gcloud config set proxy/address 127.0.0.1
gcloud config set proxy/port 1086
and it works.
answered Mar 27 at 3:48
jxw1102jxw1102
134 bronze badges
134 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49595789%2fnetwork-connection-problems-in-google-cloud-sdk-while-i-have-access-to-google-or%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you follow steps in cloud.google.com/sdk/docs/proxy-settings, can you be more specific what you have tried, and/or include example that someone can replicate your steps?
– cherba
Apr 1 '18 at 20:14
I followed the steps according to the hint in SDK. And I have modified the code in question. Is there any problem in the setting process ?
– Xue Guo
Apr 2 '18 at 6:16