Adam log
by
Petr Fedchenkov
—
last modified
Feb 13, 2020 03:22 PM
https://github.com/itmo-eve/eveadm/blob/master/tests/run_local_eve_adam.sh
root@eve:~# cat /tmp/eveadam-2020-02-07-16-07-59-LQUMGEPajh/adam.log 2020/02/07 16:08:40 EVE-compatible configuration directory output to ./run/config/adam 2020/02/07 16:08:40 Starting adam: 2020/02/07 16:08:40 IP:Port: 0.0.0.0:8080 2020/02/07 16:08:40 storage: file 2020/02/07 16:08:40 database: ./run/adam 2020/02/07 16:08:40 server cert: run/adam/server.pem 2020/02/07 16:08:40 server key: run/adam/server-key.pem 2020/02/07 16:13:08 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:13:08 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:13:09 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:13:14 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:13:19 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:13:24 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:13:34 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:16:38 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:16:40 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:16:45 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:16:50 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:16:56 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:17:06 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:19:56 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:19:56 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:20:01 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/ping 2020/02/07 16:20:07 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:20:12 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:20:23 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:20:23 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:20:25 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:20:25 used serial serial already used for onboarding certificate: 31415926 2020/02/07 16:20:25 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:20:25 http: panic serving 192.168.244.225:50948: runtime error: invalid memory address or nil pointer dereference goroutine 306 [running]: net/http.(*conn).serve.func1(0xc0002ee280) /usr/local/go/src/net/http/server.go:1769 +0x139 panic(0x8a34c0, 0xd3d4c0) /usr/local/go/src/runtime/panic.go:522 +0x1b5 github.com/lf-edge/adam/pkg/server.(*apiHandler).register(0xc00009b810, 0x9d8fe0, 0xc00023cd20, 0xc00019d700) /adam/src/pkg/server/apiHandler.go:72 +0x709 net/http.HandlerFunc.ServeHTTP(0xc00009b880, 0x9d8fe0, 0xc00023cd20, 0xc00019d700) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.logRequest.func1(0x9d8fe0, 0xc00023cd20, 0xc00019d700) /adam/src/pkg/server/server.go:126 +0x1db net/http.HandlerFunc.ServeHTTP(0xc00031a3e0, 0x9d8fe0, 0xc00023cd20, 0xc00019d700) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.ensureMTLS.func1(0x9d8fe0, 0xc00023cd20, 0xc00019d700) /adam/src/pkg/server/server.go:117 +0xb6 net/http.HandlerFunc.ServeHTTP(0xc00031a400, 0x9d8fe0, 0xc00023cd20, 0xc00019d700) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/gorilla/mux.(*Router).ServeHTTP(0xc00012a0c0, 0x9d8fe0, 0xc00023cd20, 0xc00019d500) /go/pkg/mod/github.com/gorilla/mux@v1.7.2/mux.go:212 +0xe3 net/http.serverHandler.ServeHTTP(0xc0001600d0, 0x9d8fe0, 0xc00023cd20, 0xc00019d500) /usr/local/go/src/net/http/server.go:2774 +0xa8 net/http.(*conn).serve(0xc0002ee280, 0x9d9f60, 0xc000235940) /usr/local/go/src/net/http/server.go:1878 +0x851 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2884 +0x2f4 2020/02/07 16:20:28 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:20:31 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:20:31 used serial serial already used for onboarding certificate: 31415926 2020/02/07 16:20:31 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:20:31 http: panic serving 192.168.244.225:50978: runtime error: invalid memory address or nil pointer dereference goroutine 320 [running]: net/http.(*conn).serve.func1(0xc0002eef00) /usr/local/go/src/net/http/server.go:1769 +0x139 panic(0x8a34c0, 0xd3d4c0) /usr/local/go/src/runtime/panic.go:522 +0x1b5 github.com/lf-edge/adam/pkg/server.(*apiHandler).register(0xc00009b810, 0x9d8fe0, 0xc00023cfc0, 0xc00019dc00) /adam/src/pkg/server/apiHandler.go:72 +0x709 net/http.HandlerFunc.ServeHTTP(0xc00009b880, 0x9d8fe0, 0xc00023cfc0, 0xc00019dc00) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.logRequest.func1(0x9d8fe0, 0xc00023cfc0, 0xc00019dc00) /adam/src/pkg/server/server.go:126 +0x1db net/http.HandlerFunc.ServeHTTP(0xc0004be280, 0x9d8fe0, 0xc00023cfc0, 0xc00019dc00) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.ensureMTLS.func1(0x9d8fe0, 0xc00023cfc0, 0xc00019dc00) /adam/src/pkg/server/server.go:117 +0xb6 net/http.HandlerFunc.ServeHTTP(0xc0004be2a0, 0x9d8fe0, 0xc00023cfc0, 0xc00019dc00) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/gorilla/mux.(*Router).ServeHTTP(0xc00012a0c0, 0x9d8fe0, 0xc00023cfc0, 0xc00019da00) /go/pkg/mod/github.com/gorilla/mux@v1.7.2/mux.go:212 +0xe3 net/http.serverHandler.ServeHTTP(0xc0001600d0, 0x9d8fe0, 0xc00023cfc0, 0xc00019da00) /usr/local/go/src/net/http/server.go:2774 +0xa8 net/http.(*conn).serve(0xc0002eef00, 0x9d9f60, 0xc000235e00) /usr/local/go/src/net/http/server.go:1878 +0x851 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2884 +0x2f4 2020/02/07 16:20:34 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:20:39 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:20:41 http: superfluous response.WriteHeader call from github.com/lf-edge/adam/pkg/server.(*adminHandler).deviceConfigSet (adminHandler.go:276) 2020/02/07 16:20:45 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:20:45 used serial serial already used for onboarding certificate: 31415926 2020/02/07 16:20:45 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:20:45 http: panic serving 192.168.244.225:51038: runtime error: invalid memory address or nil pointer dereference goroutine 359 [running]: net/http.(*conn).serve.func1(0xc0002ee500) /usr/local/go/src/net/http/server.go:1769 +0x139 panic(0x8a34c0, 0xd3d4c0) /usr/local/go/src/runtime/panic.go:522 +0x1b5 github.com/lf-edge/adam/pkg/server.(*apiHandler).register(0xc00009b810, 0x9d8fe0, 0xc00048a540, 0xc0002ea200) /adam/src/pkg/server/apiHandler.go:72 +0x709 net/http.HandlerFunc.ServeHTTP(0xc00009b880, 0x9d8fe0, 0xc00048a540, 0xc0002ea200) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.logRequest.func1(0x9d8fe0, 0xc00048a540, 0xc0002ea200) /adam/src/pkg/server/server.go:126 +0x1db net/http.HandlerFunc.ServeHTTP(0xc0002e2a00, 0x9d8fe0, 0xc00048a540, 0xc0002ea200) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.ensureMTLS.func1(0x9d8fe0, 0xc00048a540, 0xc0002ea200) /adam/src/pkg/server/server.go:117 +0xb6 net/http.HandlerFunc.ServeHTTP(0xc0002e2a20, 0x9d8fe0, 0xc00048a540, 0xc0002ea200) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/gorilla/mux.(*Router).ServeHTTP(0xc00012a0c0, 0x9d8fe0, 0xc00048a540, 0xc0002ea000) /go/pkg/mod/github.com/gorilla/mux@v1.7.2/mux.go:212 +0xe3 net/http.serverHandler.ServeHTTP(0xc0001600d0, 0x9d8fe0, 0xc00048a540, 0xc0002ea000) /usr/local/go/src/net/http/server.go:2774 +0xa8 net/http.(*conn).serve(0xc0002ee500, 0x9d9f60, 0xc000234c00) /usr/local/go/src/net/http/server.go:1878 +0x851 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2884 +0x2f4 2020/02/07 16:21:15 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:21:15 used serial serial already used for onboarding certificate: 31415926 2020/02/07 16:21:15 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:21:15 http: panic serving 192.168.244.225:51072: runtime error: invalid memory address or nil pointer dereference goroutine 375 [running]: net/http.(*conn).serve.func1(0xc0002e0fa0) /usr/local/go/src/net/http/server.go:1769 +0x139 panic(0x8a34c0, 0xd3d4c0) /usr/local/go/src/runtime/panic.go:522 +0x1b5 github.com/lf-edge/adam/pkg/server.(*apiHandler).register(0xc00009b810, 0x9d8fe0, 0xc00037e540, 0xc000307200) /adam/src/pkg/server/apiHandler.go:72 +0x709 net/http.HandlerFunc.ServeHTTP(0xc00009b880, 0x9d8fe0, 0xc00037e540, 0xc000307200) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.logRequest.func1(0x9d8fe0, 0xc00037e540, 0xc000307200) /adam/src/pkg/server/server.go:126 +0x1db net/http.HandlerFunc.ServeHTTP(0xc0002a6040, 0x9d8fe0, 0xc00037e540, 0xc000307200) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.ensureMTLS.func1(0x9d8fe0, 0xc00037e540, 0xc000307200) /adam/src/pkg/server/server.go:117 +0xb6 net/http.HandlerFunc.ServeHTTP(0xc0002a6060, 0x9d8fe0, 0xc00037e540, 0xc000307200) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/gorilla/mux.(*Router).ServeHTTP(0xc00012a0c0, 0x9d8fe0, 0xc00037e540, 0xc000307000) /go/pkg/mod/github.com/gorilla/mux@v1.7.2/mux.go:212 +0xe3 net/http.serverHandler.ServeHTTP(0xc0001600d0, 0x9d8fe0, 0xc00037e540, 0xc000307000) /usr/local/go/src/net/http/server.go:2774 +0xa8 net/http.(*conn).serve(0xc0002e0fa0, 0x9d9f60, 0xc0000c9a80) /usr/local/go/src/net/http/server.go:1878 +0x851 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2884 +0x2f4 2020/02/07 16:22:17 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:22:17 used serial serial already used for onboarding certificate: 31415926 2020/02/07 16:22:17 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:22:17 http: panic serving 192.168.244.225:51136: runtime error: invalid memory address or nil pointer dereference goroutine 389 [running]: net/http.(*conn).serve.func1(0xc000442000) /usr/local/go/src/net/http/server.go:1769 +0x139 panic(0x8a34c0, 0xd3d4c0) /usr/local/go/src/runtime/panic.go:522 +0x1b5 github.com/lf-edge/adam/pkg/server.(*apiHandler).register(0xc00009b810, 0x9d8fe0, 0xc00023c9a0, 0xc0002fa400) /adam/src/pkg/server/apiHandler.go:72 +0x709 net/http.HandlerFunc.ServeHTTP(0xc00009b880, 0x9d8fe0, 0xc00023c9a0, 0xc0002fa400) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.logRequest.func1(0x9d8fe0, 0xc00023c9a0, 0xc0002fa400) /adam/src/pkg/server/server.go:126 +0x1db net/http.HandlerFunc.ServeHTTP(0xc000320a20, 0x9d8fe0, 0xc00023c9a0, 0xc0002fa400) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.ensureMTLS.func1(0x9d8fe0, 0xc00023c9a0, 0xc0002fa400) /adam/src/pkg/server/server.go:117 +0xb6 net/http.HandlerFunc.ServeHTTP(0xc000320a40, 0x9d8fe0, 0xc00023c9a0, 0xc0002fa400) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/gorilla/mux.(*Router).ServeHTTP(0xc00012a0c0, 0x9d8fe0, 0xc00023c9a0, 0xc0002fa200) /go/pkg/mod/github.com/gorilla/mux@v1.7.2/mux.go:212 +0xe3 net/http.serverHandler.ServeHTTP(0xc0001600d0, 0x9d8fe0, 0xc00023c9a0, 0xc0002fa200) /usr/local/go/src/net/http/server.go:2774 +0xa8 net/http.(*conn).serve(0xc000442000, 0x9d9f60, 0xc0004f3400) /usr/local/go/src/net/http/server.go:1878 +0x851 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2884 +0x2f4 2020/02/07 16:22:48 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:22:53 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:24:06 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:24:11 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:24:24 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:24:24 failed authentication unknown onboarding certificate 2020/02/07 16:24:24 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:24:24 failed authentication unknown onboarding certificate 2020/02/07 16:24:29 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:24:34 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:24:55 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:26:11 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:26:16 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:26:33 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:26:38 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:26:55 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:27:00 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:28:52 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:28:52 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:28:58 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:29:07 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:29:08 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:29:08 used serial serial already used for onboarding certificate: 31415926 2020/02/07 16:29:08 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:29:08 http: panic serving 192.168.244.225:51692: runtime error: invalid memory address or nil pointer dereference goroutine 581 [running]: net/http.(*conn).serve.func1(0xc0002e0780) /usr/local/go/src/net/http/server.go:1769 +0x139 panic(0x8a34c0, 0xd3d4c0) /usr/local/go/src/runtime/panic.go:522 +0x1b5 github.com/lf-edge/adam/pkg/server.(*apiHandler).register(0xc00009b810, 0x9d8fe0, 0xc0003a6380, 0xc00048ae00) /adam/src/pkg/server/apiHandler.go:72 +0x709 net/http.HandlerFunc.ServeHTTP(0xc00009b880, 0x9d8fe0, 0xc0003a6380, 0xc00048ae00) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.logRequest.func1(0x9d8fe0, 0xc0003a6380, 0xc00048ae00) /adam/src/pkg/server/server.go:126 +0x1db net/http.HandlerFunc.ServeHTTP(0xc0003f3ba0, 0x9d8fe0, 0xc0003a6380, 0xc00048ae00) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.ensureMTLS.func1(0x9d8fe0, 0xc0003a6380, 0xc00048ae00) /adam/src/pkg/server/server.go:117 +0xb6 net/http.HandlerFunc.ServeHTTP(0xc0003f3bc0, 0x9d8fe0, 0xc0003a6380, 0xc00048ae00) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/gorilla/mux.(*Router).ServeHTTP(0xc00012a0c0, 0x9d8fe0, 0xc0003a6380, 0xc00048ac00) /go/pkg/mod/github.com/gorilla/mux@v1.7.2/mux.go:212 +0xe3 net/http.serverHandler.ServeHTTP(0xc0001600d0, 0x9d8fe0, 0xc0003a6380, 0xc00048ac00) /usr/local/go/src/net/http/server.go:2774 +0xa8 net/http.(*conn).serve(0xc0002e0780, 0x9d9f60, 0xc0004f2980) /usr/local/go/src/net/http/server.go:1878 +0x851 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2884 +0x2f4 2020/02/07 16:29:10 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:29:10 used serial serial already used for onboarding certificate: 31415926 2020/02/07 16:29:10 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:29:10 http: panic serving 192.168.244.225:51708: runtime error: invalid memory address or nil pointer dereference goroutine 587 [running]: net/http.(*conn).serve.func1(0xc0002e0e60) /usr/local/go/src/net/http/server.go:1769 +0x139 panic(0x8a34c0, 0xd3d4c0) /usr/local/go/src/runtime/panic.go:522 +0x1b5 github.com/lf-edge/adam/pkg/server.(*apiHandler).register(0xc00009b810, 0x9d8fe0, 0xc0003a6700, 0xc00048b600) /adam/src/pkg/server/apiHandler.go:72 +0x709 net/http.HandlerFunc.ServeHTTP(0xc00009b880, 0x9d8fe0, 0xc0003a6700, 0xc00048b600) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.logRequest.func1(0x9d8fe0, 0xc0003a6700, 0xc00048b600) /adam/src/pkg/server/server.go:126 +0x1db net/http.HandlerFunc.ServeHTTP(0xc0002667c0, 0x9d8fe0, 0xc0003a6700, 0xc00048b600) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.ensureMTLS.func1(0x9d8fe0, 0xc0003a6700, 0xc00048b600) /adam/src/pkg/server/server.go:117 +0xb6 net/http.HandlerFunc.ServeHTTP(0xc0002667e0, 0x9d8fe0, 0xc0003a6700, 0xc00048b600) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/gorilla/mux.(*Router).ServeHTTP(0xc00012a0c0, 0x9d8fe0, 0xc0003a6700, 0xc00048b400) /go/pkg/mod/github.com/gorilla/mux@v1.7.2/mux.go:212 +0xe3 net/http.serverHandler.ServeHTTP(0xc0001600d0, 0x9d8fe0, 0xc0003a6700, 0xc00048b400) /usr/local/go/src/net/http/server.go:2774 +0xa8 net/http.(*conn).serve(0xc0002e0e60, 0x9d9f60, 0xc0004f2fc0) /usr/local/go/src/net/http/server.go:1878 +0x851 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2884 +0x2f4 2020/02/07 16:29:12 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:29:17 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:29:17 used serial serial already used for onboarding certificate: 31415926 2020/02/07 16:29:17 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:29:17 http: panic serving 192.168.244.225:51734: runtime error: invalid memory address or nil pointer dereference goroutine 629 [running]: net/http.(*conn).serve.func1(0xc00027a280) /usr/local/go/src/net/http/server.go:1769 +0x139 panic(0x8a34c0, 0xd3d4c0) /usr/local/go/src/runtime/panic.go:522 +0x1b5 github.com/lf-edge/adam/pkg/server.(*apiHandler).register(0xc00009b810, 0x9d8fe0, 0xc0003a6a80, 0xc00029e400) /adam/src/pkg/server/apiHandler.go:72 +0x709 net/http.HandlerFunc.ServeHTTP(0xc00009b880, 0x9d8fe0, 0xc0003a6a80, 0xc00029e400) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.logRequest.func1(0x9d8fe0, 0xc0003a6a80, 0xc00029e400) /adam/src/pkg/server/server.go:126 +0x1db net/http.HandlerFunc.ServeHTTP(0xc0002953a0, 0x9d8fe0, 0xc0003a6a80, 0xc00029e400) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.ensureMTLS.func1(0x9d8fe0, 0xc0003a6a80, 0xc00029e400) /adam/src/pkg/server/server.go:117 +0xb6 net/http.HandlerFunc.ServeHTTP(0xc0002953c0, 0x9d8fe0, 0xc0003a6a80, 0xc00029e400) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/gorilla/mux.(*Router).ServeHTTP(0xc00012a0c0, 0x9d8fe0, 0xc0003a6a80, 0xc00029e200) /go/pkg/mod/github.com/gorilla/mux@v1.7.2/mux.go:212 +0xe3 net/http.serverHandler.ServeHTTP(0xc0001600d0, 0x9d8fe0, 0xc0003a6a80, 0xc00029e200) /usr/local/go/src/net/http/server.go:2774 +0xa8 net/http.(*conn).serve(0xc00027a280, 0x9d9f60, 0xc0004f3680) /usr/local/go/src/net/http/server.go:1878 +0x851 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2884 +0x2f4 2020/02/07 16:29:18 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:29:23 CN=onboard,O=Zededa\, Inc,L=Santa Clara,ST=California,C=US requested /api/v1/edgedevice/ping 2020/02/07 16:29:31 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:29:31 used serial serial already used for onboarding certificate: 31415926 2020/02/07 16:29:31 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:29:31 http: panic serving 192.168.244.225:51788: runtime error: invalid memory address or nil pointer dereference goroutine 656 [running]: net/http.(*conn).serve.func1(0xc00033c460) /usr/local/go/src/net/http/server.go:1769 +0x139 panic(0x8a34c0, 0xd3d4c0) /usr/local/go/src/runtime/panic.go:522 +0x1b5 github.com/lf-edge/adam/pkg/server.(*apiHandler).register(0xc00009b810, 0x9d8fe0, 0xc0003a7260, 0xc00029f700) /adam/src/pkg/server/apiHandler.go:72 +0x709 net/http.HandlerFunc.ServeHTTP(0xc00009b880, 0x9d8fe0, 0xc0003a7260, 0xc00029f700) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.logRequest.func1(0x9d8fe0, 0xc0003a7260, 0xc00029f700) /adam/src/pkg/server/server.go:126 +0x1db net/http.HandlerFunc.ServeHTTP(0xc000449180, 0x9d8fe0, 0xc0003a7260, 0xc00029f700) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.ensureMTLS.func1(0x9d8fe0, 0xc0003a7260, 0xc00029f700) /adam/src/pkg/server/server.go:117 +0xb6 net/http.HandlerFunc.ServeHTTP(0xc0004491a0, 0x9d8fe0, 0xc0003a7260, 0xc00029f700) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/gorilla/mux.(*Router).ServeHTTP(0xc00012a0c0, 0x9d8fe0, 0xc0003a7260, 0xc00029f500) /go/pkg/mod/github.com/gorilla/mux@v1.7.2/mux.go:212 +0xe3 net/http.serverHandler.ServeHTTP(0xc0001600d0, 0x9d8fe0, 0xc0003a7260, 0xc00029f500) /usr/local/go/src/net/http/server.go:2774 +0xa8 net/http.(*conn).serve(0xc00033c460, 0x9d9f60, 0xc0003424c0) /usr/local/go/src/net/http/server.go:1878 +0x851 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2884 +0x2f4 2020/02/07 16:30:01 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:30:01 used serial serial already used for onboarding certificate: 31415926 2020/02/07 16:30:01 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:30:01 http: panic serving 192.168.244.225:51820: runtime error: invalid memory address or nil pointer dereference goroutine 662 [running]: net/http.(*conn).serve.func1(0xc000166000) /usr/local/go/src/net/http/server.go:1769 +0x139 panic(0x8a34c0, 0xd3d4c0) /usr/local/go/src/runtime/panic.go:522 +0x1b5 github.com/lf-edge/adam/pkg/server.(*apiHandler).register(0xc00009b810, 0x9d8fe0, 0xc00037e000, 0xc0001aa200) /adam/src/pkg/server/apiHandler.go:72 +0x709 net/http.HandlerFunc.ServeHTTP(0xc00009b880, 0x9d8fe0, 0xc00037e000, 0xc0001aa200) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.logRequest.func1(0x9d8fe0, 0xc00037e000, 0xc0001aa200) /adam/src/pkg/server/server.go:126 +0x1db net/http.HandlerFunc.ServeHTTP(0xc0003357c0, 0x9d8fe0, 0xc00037e000, 0xc0001aa200) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.ensureMTLS.func1(0x9d8fe0, 0xc00037e000, 0xc0001aa200) /adam/src/pkg/server/server.go:117 +0xb6 net/http.HandlerFunc.ServeHTTP(0xc0003357e0, 0x9d8fe0, 0xc00037e000, 0xc0001aa200) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/gorilla/mux.(*Router).ServeHTTP(0xc00012a0c0, 0x9d8fe0, 0xc00037e000, 0xc0001aa000) /go/pkg/mod/github.com/gorilla/mux@v1.7.2/mux.go:212 +0xe3 net/http.serverHandler.ServeHTTP(0xc0001600d0, 0x9d8fe0, 0xc00037e000, 0xc0001aa000) /usr/local/go/src/net/http/server.go:2774 +0xa8 net/http.(*conn).serve(0xc000166000, 0x9d9f60, 0xc000234300) /usr/local/go/src/net/http/server.go:1878 +0x851 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2884 +0x2f4 2020/02/07 16:31:03 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:31:03 used serial serial already used for onboarding certificate: 31415926 2020/02/07 16:31:03 CN=onboard,O=MyOrg\, Inc.,ST=SPB,C=RU requested /api/v1/edgedevice/register 2020/02/07 16:31:03 http: panic serving 192.168.244.225:51870: runtime error: invalid memory address or nil pointer dereference goroutine 692 [running]: net/http.(*conn).serve.func1(0xc00027a500) /usr/local/go/src/net/http/server.go:1769 +0x139 panic(0x8a34c0, 0xd3d4c0) /usr/local/go/src/runtime/panic.go:522 +0x1b5 github.com/lf-edge/adam/pkg/server.(*apiHandler).register(0xc00009b810, 0x9d8fe0, 0xc00050c1c0, 0xc0004ac600) /adam/src/pkg/server/apiHandler.go:72 +0x709 net/http.HandlerFunc.ServeHTTP(0xc00009b880, 0x9d8fe0, 0xc00050c1c0, 0xc0004ac600) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.logRequest.func1(0x9d8fe0, 0xc00050c1c0, 0xc0004ac600) /adam/src/pkg/server/server.go:126 +0x1db net/http.HandlerFunc.ServeHTTP(0xc000251240, 0x9d8fe0, 0xc00050c1c0, 0xc0004ac600) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/lf-edge/adam/pkg/server.ensureMTLS.func1(0x9d8fe0, 0xc00050c1c0, 0xc0004ac600) /adam/src/pkg/server/server.go:117 +0xb6 net/http.HandlerFunc.ServeHTTP(0xc000251260, 0x9d8fe0, 0xc00050c1c0, 0xc0004ac600) /usr/local/go/src/net/http/server.go:1995 +0x44 github.com/gorilla/mux.(*Router).ServeHTTP(0xc00012a0c0, 0x9d8fe0, 0xc00050c1c0, 0xc0004ac400) /go/pkg/mod/github.com/gorilla/mux@v1.7.2/mux.go:212 +0xe3 net/http.serverHandler.ServeHTTP(0xc0001600d0, 0x9d8fe0, 0xc00050c1c0, 0xc0004ac400) /usr/local/go/src/net/http/server.go:2774 +0xa8 net/http.(*conn).serve(0xc00027a500, 0x9d9f60, 0xc0004f2780) /usr/local/go/src/net/http/server.go:1878 +0x851 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2884 +0x2f4