Last active
August 29, 2015 14:09
-
-
Save hopkinsth/2b2c68b1a116ff3f40c1 to your computer and use it in GitHub Desktop.
aerospike connection error sample
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
package main | |
import ( | |
as "github.com/aerospike/aerospike-client-go" | |
asl "github.com/aerospike/aerospike-client-go/logger" | |
"log" | |
) | |
func main() { | |
asl.Logger.SetLevel(asl.DEBUG) | |
_, err := as.NewClient("127.0.0.1", 3000) | |
if err != nil { | |
log.Fatalln(err) | |
} | |
log.Println("hey!") | |
} |
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
2014/11/17 21:28:04 No connections available; seeding... | |
2014/11/17 21:28:04 Seeding the cluster. Seeds count: 1 | |
2014/11/17 21:28:04 Seed 127.0.0.1:3000 failed: lookup 127.0.0.1: invalid domain name | |
2014/11/17 21:28:04 Tend finished. Live node count: 0 | |
2014/11/17 21:28:04 No connections available; seeding... | |
2014/11/17 21:28:04 Seeding the cluster. Seeds count: 1 | |
2014/11/17 21:28:04 Seed 127.0.0.1:3000 failed: lookup 127.0.0.1: invalid domain name | |
2014/11/17 21:28:04 Tend finished. Live node count: 0 | |
2014/11/17 21:28:04 Failed to connect to host(s): [127.0.0.1:3000] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment