local/install_deps.bash support http proxy on ubuntu18.04
See original GitHub issuewhen run on ubuntu 18.04 with root user and http proxy,there is some error occur at the end:
Running: bazel run //local:create_gopath (cwd='src')
| INFO: Invocation ID: 637ff326-b2bb-4fb5-a4ca-270784072b85
| Loading:
| Loading: 0 packages loaded
| Analyzing: target //local:create_gopath (0 packages loaded, 0 targets configured)
| Analyzing: target //local:create_gopath (0 packages loaded, 0 targets configured)
| Analyzing: target //local:create_gopath (0 packages loaded, 0 targets configured)
| ERROR: /home/clusterfuzz/src/go/server/cron/BUILD.bazel:3:1: no such package '@com_google_cloud_go//datastore': failed to fetch com_google_cloud_go: 2019/02/19 15:13:43 unrecognized import path "cloud.google.com/go"
| and referenced by '//go/server/cron:go_default_library'
| DEBUG: Rule 'org_golang_x_sys' modified arguments {"shallow_since": "1538141909 +0000"}
| DEBUG: Rule 'org_golang_x_tools' modified arguments {"sha256": "2384fa91351a7414b643c5230422ce45f5aa2be8a82727609afd4e64e6973a30"}
| ERROR: Analysis of target '//local:create_gopath' failed; build aborted: no such package '@com_google_cloud_go//datastore': failed to fetch com_google_cloud_go: 2019/02/19 15:13:43 unrecognized import path "cloud.google.com/go"
| INFO: Elapsed time: 35.316s
| INFO: 0 processes.
| FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
| ERROR: Build failed. Not running target
| FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
| Return code is non-zero (1).
| Exit.
(ENV) root@xxxx:/home/clusterfuzz
it is because can not get go packages,but i has config http proxy,so there was some other solution?
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (3 by maintainers)
Top Results From Across the Web
How to configure proxy settings on Ubuntu 18.04 - Serverlab -
The following will set a proxy for HTTP and HTTPS, while preventing local traffic from ... Open your bash profile file into a...
Read more >How do I set system wide proxy in Ubuntu 18.04?
Set proxy details in Environment variables; Edit /etc/environment and add following lines (replace username, password, host and port with ...
Read more >How to Set System Wide Proxy in Ubuntu 18.04 - kifarunix.com
To configure proxy settings for APT only, you can simply create proxy configuration file under /etc/apt/apt.conf.d/ . echo -e 'Acquire::http:: ...
Read more >How to Configure Proxy Settings on Ubuntu 20.04 - phoenixNAP
1. To access proxy settings using the Ubuntu GUI, open Ubuntu's main Settings. · 2. Select the Network setting in the menu on...
Read more >How To Set System Proxy on Ubuntu 20.04|18.04
Configure Proxy and click “OK” to save. Set System-Wide Proxy settings on CLI. We will add a shell script file under /etc/profile.d/proxy.sh.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks for you suggestion,it is right,I have resolve it,here is some tips when use http proxy by root
and replace
bower install
tobower install --allow-root
I have met 500/504 error similar to yours. Network troubleshotting sucks…