crunchy-proxy icon indicating copy to clipboard operation
crunchy-proxy copied to clipboard

crunchy proxy when the replica is not running at startup

Open abrightwell opened this issue 8 years ago • 0 comments

Error message received:

INFO[2017-08-10T15:37:20Z] Admin Server listening on: [::]:10000        
ERRO[2017-08-10T15:37:21Z] healthcheck: query failed: dial tcp 172.30.6.30:5432: getsockopt: no route to host

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x58 pc=0x8b841f]
goroutine 21 [running]:

github.com/crunchydata/crunchy-proxy/proxy.(*Proxy).setupPools(0xc420181260)
	/home/abrightwell/development/go/src/github.com/crunchydata/crunchy-proxy/proxy/proxy.go:81 +0x4cf

github.com/crunchydata/crunchy-proxy/proxy.NewProxy(0x8)
	/home/abrightwell/development/go/src/github.com/crunchydata/crunchy-proxy/proxy/proxy.go:45 +0xc5

github.com/crunchydata/crunchy-proxy/server.(*ProxyServer).Serve(0xc42015bd40, 0xc93140, 0xc42008e0f0, 0x0, 0x0)
	/home/abrightwell/development/go/src/github.com/crunchydata/crunchy-proxy/server/proxy.go:44 +0x10b

created by github.com/crunchydata/crunchy-proxy/server.(*Server).Start
	/home/abrightwell/development/go/src/github.com/crunchydata/crunchy-proxy/server/server.go:61 +0x1db

abrightwell avatar Aug 10 '17 20:08 abrightwell