Here is the log dump at “debug” level the data URL is tested on other connections successfully:
Looks like the error is:
nil pointer dereference
t=2017-12-13T12:14:34-0600 lvl=dbug msg=getEngine logger=tsdb.postgres connection=““postgres://un:pw@sever.redshift.amazonaws.com:5439/analytics?sslmode=verify-ca”
t=2017-12-13T12:14:34-0600 lvl=eror msg=“Request error” logger=context userId=1 orgId=1 uname=admin error=“runtime error: invalid memory address or nil pointer dereference” stack="C:/go/src/runtime/panic.go:491 (0x42f510)
gopanic: reflectcall(nil, unsafe.Pointer(d.fn), deferArgs(d), uint32(d.siz), uint32(d.siz))
C:/go/src/runtime/panic.go:63 (0x42e394)
panicmem: panic(memoryError)
C:/go/src/runtime/signal_windows.go:161 (0x4452a2)
sigpanic: panicmem()
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-xorm/xorm/engine.go:191 (0x8c3949)
c:/gopath/src/github.com/grafana/grafana/pkg/tsdb/sql_engine.go:60 (0xbc87be)
c:/gopath/src/github.com/grafana/grafana/pkg/tsdb/postgres/postgres.go:38 (0xd68668)
c:/gopath/src/github.com/grafana/grafana/pkg/tsdb/query_endpoint.go:24 (0xbc84ad)
c:/gopath/src/github.com/grafana/grafana/pkg/tsdb/request.go:12 (0xbc85f5)
c:/gopath/src/github.com/grafana/grafana/pkg/api/metrics.go:46 (0xe0ab25)
C:/go/src/runtime/asm_amd64.s:511 (0x45c9d8)
call128: CALLFN(·call128, 128)
C:/go/src/reflect/value.go:434 (0x4d57ab)
Value.call: call(frametype, fn, args, uint32(frametype.size), uint32(retOffset))
C:/go/src/reflect/value.go:302 (0x4d4d6a)
Value.Call: return v.call(“Call”, in)
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-macaron/inject/inject.go:177 (0x7e0abf)
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-macaron/inject/inject.go:137 (0x7e03b0)
c:/gopath/src/github.com/grafana/grafana/pkg/api/common.go:37 (0xe26cb2)
C:/go/src/runtime/asm_amd64.s:509 (0x45c8a1)
call32: CALLFN(·call32, 32)
C:/go/src/reflect/value.go:434 (0x4d57ab)
Value.call: call(frametype, fn, args, uint32(frametype.size), uint32(retOffset))
C:/go/src/reflect/value.go:302 (0x4d4d6a)
Value.Call: return v.call(“Call”, in)
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-macaron/inject/inject.go:177 (0x7e0abf)
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-macaron/inject/inject.go:137 (0x7e03b0)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/context.go:121 (0x7fde94)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/context.go:112 (0x7fddbc)
c:/gopath/src/github.com/grafana/grafana/pkg/middleware/request_tracing.go:25 (0xbb013a)
C:/go/src/runtime/asm_amd64.s:509 (0x45c8a1)
call32: CALLFN(·call32, 32)
C:/go/src/reflect/value.go:434 (0x4d57ab)
Value.call: call(frametype, fn, args, uint32(frametype.size), uint32(retOffset))
C:/go/src/reflect/value.go:302 (0x4d4d6a)
Value.Call: return v.call(“Call”, in)
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-macaron/inject/inject.go:177 (0x7e0abf)
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-macaron/inject/inject.go:137 (0x7e03b0)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/context.go:121 (0x7fde94)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/context.go:112 (0x7fddbc)
c:/gopath/src/github.com/grafana/grafana/pkg/middleware/request_metrics.go:17 (0xbaf9bb)
C:/go/src/runtime/asm_amd64.s:509 (0x45c8a1)
call32: CALLFN(·call32, 32)
C:/go/src/reflect/value.go:434 (0x4d57ab)
Value.call: call(frametype, fn, args, uint32(frametype.size), uint32(retOffset))
C:/go/src/reflect/value.go:302 (0x4d4d6a)
Value.Call: return v.call(“Call”, in)
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-macaron/inject/inject.go:177 (0x7e0abf)
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-macaron/inject/inject.go:137 (0x7e03b0)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/context.go:121 (0x7fde94)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/context.go:112 (0x7fddbc)
c:/gopath/src/github.com/grafana/grafana/pkg/middleware/session.go:79 (0xbb04d1)
C:/go/src/runtime/asm_amd64.s:509 (0x45c8a1)
call32: CALLFN(·call32, 32)
C:/go/src/reflect/value.go:434 (0x4d57ab)
Value.call: call(frametype, fn, args, uint32(frametype.size), uint32(retOffset))
C:/go/src/reflect/value.go:302 (0x4d4d6a)
Value.Call: return v.call(“Call”, in)
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-macaron/inject/inject.go:177 (0x7e0abf)
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-macaron/inject/inject.go:137 (0x7e03b0)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/context.go:121 (0x7fde94)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/context.go:112 (0x7fddbc)
c:/gopath/src/github.com/grafana/grafana/pkg/middleware/recovery.go:146 (0xbaf8d7)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/context.go:79 (0x7fdc67)
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-macaron/inject/inject.go:157 (0x7e077a)
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-macaron/inject/inject.go:135 (0x7e04a1)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/context.go:121 (0x7fde94)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/context.go:112 (0x7fddbc)
c:/gopath/src/github.com/grafana/grafana/pkg/middleware/logger.go:33 (0xbad438)
C:/go/src/runtime/asm_amd64.s:509 (0x45c8a1)
call32: CALLFN(·call32, 32)
C:/go/src/reflect/value.go:434 (0x4d57ab)
Value.call: call(frametype, fn, args, uint32(frametype.size), uint32(retOffset))
C:/go/src/reflect/value.go:302 (0x4d4d6a)
Value.Call: return v.call(“Call”, in)
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-macaron/inject/inject.go:177 (0x7e0abf)
c:/gopath/src/github.com/grafana/grafana/vendor/github.com/go-macaron/inject/inject.go:137 (0x7e03b0)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/context.go:121 (0x7fde94)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/router.go:187 (0x80fbb9)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/router.go:296 (0x80a042)
c:/gopath/src/github.com/grafana/grafana/vendor/gopkg.in/macaron.v1/macaron.go:220 (0x80279e)
C:/go/src/net/http/server.go:2619 (0x69935a)
serverHandler.ServeHTTP: handler.ServeHTTP(rw, req)
C:/go/src/net/http/server.go:1801 (0x695503)
(*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
C:/go/src/runtime/asm_amd64.s:2337 (0x45f1b0)
goexit: BYTE $0x90 // NOP
t=2017-12-13T12:14:34-0600 lvl=eror msg=“Request Completed” logger=context userId=1 orgId=1 uname=admin method=POST path=/api/tsdb/query status=500 remote_addr=[::1] time_ms=25 size=1166 referer=http://localhost:8080/datasources/edit/2