Last active
January 23, 2016 03:38
-
-
Save dpetersen/2f2149aa4fb939cb63d8 to your computer and use it in GitHub Desktop.
Here is my output from a fresh Ubuntu 14.04.3 x64 (also tried 15.10 x64) Digital Ocean instance. The first line of the second terminal was a successful run (exits properly within milliseconds), the second run will hang indefinitely and not exit. Note that the actual number of times I need to run the client until it will fail is seemingly random.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ubuntu-2gb-sfo1-01:~# apt-get update && apt-get install -y git curl | |
<output trimmed> | |
root@ubuntu-2gb-sfo1-01:~# curl -O https://storage.googleapis.com/golang/go1.5.3.linux-amd64.tar.gz | |
<output trimmed> | |
root@ubuntu-2gb-sfo1-01:~# tar -zxf go1.5.3.linux-amd64.tar.gz | |
root@ubuntu-2gb-sfo1-01:~# mv go /usr/local | |
root@ubuntu-2gb-sfo1-01:~# export PATH=$PATH:/usr/local/go/bin | |
root@ubuntu-2gb-sfo1-01:~# mkdir gopath | |
root@ubuntu-2gb-sfo1-01:~# export GOPATH=/root/gopath | |
root@ubuntu-2gb-sfo1-01:~# go get github.com/dpetersen/headerbug/client | |
root@ubuntu-2gb-sfo1-01:~# go get github.com/dpetersen/headerbug/server | |
root@ubuntu-2gb-sfo1-01:~# $GOPATH/bin/server localhost:4000 | |
2016/01/22 22:11:43 starting server at localhost:4000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ubuntu-2gb-sfo1-01:~# /root/gopath/bin/client localhost:4000 | |
2016/01/22 22:13:09 connected | |
2016/01/22 22:13:09 rpc error: code = 12 desc = "unknown service Foo" | |
root@ubuntu-2gb-sfo1-01:~# /root/gopath/bin/client localhost:4000 | |
2016/01/22 22:13:09 connected |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment