Closed renatocron closed 8 years ago
It looks something related with HTTPS.
I used an nc -l 3000
and use AuthUrl: "http://localhost:3000/auth/v1.0/"
and responded with valid HTTP urls instead of https and it worked all times (except when I did something wrong such pasting invalid http response on nc)
I will try to use another openstack provider
You are using gccgo
which is not used widely.
Install golang
from apt, or download the latest go from https://golang.org/dl/ .
@ymmt2005 Thanks for saying that! Now I get error messages!
I setup one account on memset (waiting for rackspace verification) and now I have:
$ go run hello.go
panic: Get https://auth.storage.memset.com/v1.0: x509: certificate signed by unknown authority (possibly because of "x509: cannot verify signature: algorithm unimplemented" while trying to verify candidate authority certificate "COMODO RSA Certification Authority")
goroutine 1 [running]:
runtime.panic(0x620320, 0xc21024d030)
/usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
main.main()
/home/renato/projetos/go/src/github.com/renatocron/hello-world-swift/hello.go:27 +0xd6
goroutine 6 [syscall]:
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1394
exit status 2
I added "crypto/tls" and
TLSClientConfig: &tls.Config{InsecureSkipVerify: true}
and it worked fine with memset too.
And they don't have port 80 open, so I can't test if it would work fine there.
--- BUT! There's good news, using golang I could run about ~ 30 executions without any failure (both using dal05.objectstorage.softlayer.net [230ms, few package loss] and sao01.objectstorage.softlayer.net [11ms, no package loss]) so I think gccgo was the issue.
Edit 2: I don't know root the cause, should I open a ticket on gccgo repository?
Check the FAQ for a solution to the certificate error.
I suspect you are using an embedded distribution or something like that. (Can't load the github page over gprs!)
Hello,
I'm new very to go and I just installed it on ubuntu 14.04 using apt-get. Here is my go version
go version xgcc (Ubuntu 4.9.3-0ubuntu4) 4.9.3 linux/amd64
my test script:
When I run this, sometimes it work, sometimes not:
I'm using sao01.objectstorage.softlayer.net and I'm running mtr to see if I have any package loss, but that do not seem to happen too often (none in a few minutes)