I am trying to install go package for mobile using,
desktop:~$ go get golang.org/x/mobile/cmd/gomobile
But it gives this error
package golang.org/x/mobile/cmd/gomobile: unrecognized import path
"golang.org/x/mobile/cmd/gomobile" (https fetch: Get
https://golang.org/x/mobile/cmd/gomobile?go-get=1: http: error
connecting to proxy http://192.168.0.136:8080/: dial tcp
192.168.0.136:8080: getsockopt: connection refused)
Related
-> solana-keygen (BIP39 none)
-> config be url as localhost
-> Phantom localhost nwtwork
-> airdrop specifying the key, pubkey, and --url on localhost.
These steps, which seem to me to be correct, return the following error:
Error: RPC request error: cluster version query failed: error sending request for url (http://localhost/): error trying to connect: tcp connect error: Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente. (os error 10061)```
When you run a local validator with solana-test-validator, the main RPC port will be 8899 by default, so you need to specify http://localhost:8899 as your cluster URL.
Trying to run kubefwd with microk8s:
sudo kubefwd svc
It fails with an error:
Runtime error: pkg/mod/k8s.io/client-go#v0.0.0-20191108070106-f8f007fd456c/tools/cache/reflector.go:108:
Failed to list *v1.Service: Get "http://localhost:8080/api/v1/namespaces/default/services?
limit=500&resourceVersion=0": dial tcp 127.0.0.1:8080: connect: connection refused
kubefwd does not use kubectl, only the configuration files, so ask microk8s to write its config as its README.md says:
sudo microk8s.kubectl config view --raw > $HOME/.kube/config
After this step kubefwd should work.
I'm trying to use the library HTTParty, but whenever I run the code below I receive an error.
Code:
require 'httparty'
response = HTTParty.get('http://example.com')
When I run the code I receive the error: Errno::ECONNREFUSED (Failed to open TCP connection to :80 (Connection refused - connect(2) for nil port 80)).
I don't get any error when I run the same code in net/http. I don't know if this helps, but the system I'm running is Linux Mint 18.3 Cinnamon 64-bit .
I know that this is late, but using https://example.com instead of http://example.com was the solution to my problem.
When I am trying to install Burrow https://github.com/linkedin/Burrow#build-and-install
go get github.com/linkedin/Burrow
I am getting the following error :
package gopkg.in/gcfg.v1: unrecognized import path "gopkg.in/gcfg.v1"
(https fetch: Get https://gopkg.in/gcfg.v1?go-get=1: proxyconnect tcp: dial tcp :0: getsockopt: connection refused)
I have already set up proxy by:
export http_proxy=myproxy:port
export https_proxy=myproxy:port
Edit:
go get -u gopkg.in/gcfg.v1
also gives the same error:
package gopkg.in/gcfg.v1: unrecognized import path "gopkg.in/gcfg.v1"
(https fetch: Get https://gopkg.in/gcfg.v1?go-get=1: proxyconnect tcp: dial tcp :0: getsockopt: connection refused)
Edit1:
go get -v gopkg.in/gcfg.v1
Fetching https://gopkg.in/gcfg.v1?go-get=1
https fetch failed: Get https://gopkg.in/gcfg.v1?go-get=1: proxyconnect tcp: dial tcp :0: getsockopt: connection refused
package gopkg.in/gcfg.v1: unrecognized import path "gopkg.in/gcfg.v1" (https fetch: Get https://gopkg.in/gcfg.v1?go-get=1: proxyconnect tcp: dial tcp :0: getsockopt: connection refused)
I was also getting the same error. Turns out that my https proxy was incorrect. Make sure both http and https proxy are pointing to same proxy starting with http.
export http_proxy=<http://proxy:port>
export https_proxy=<http://proxy:port>
Remove env HTTPS_PROXY from your PC:
SystemProperty - Environment - current user variable/system variable : find and remove HTTPS_PROXY.
Restart your terminal to enable env modification to take effect.
I solved the problem using:
export https_proxy=$http_proxy
To a more long lasting solution the /etc/environment can be updated.
I am unable to connect to Secured FTP server Using Filezilla and psfTP too.
While connecting one popup message comes for Certification, then I find this error
Error Message:--
Status: Connecting to idx.XYZ.com...
Response: fzSftp started
Command: open "abc_mnp#idx.XYZ.com" 22
Command: Pass: ****
*Error: Network error: Connection reset by peer
Error: Could not connect to server*
Any Idea guys..
I feel this is an Issue with Server.