{"action":"opened","issue":{"url":"https://api.github.com/repos/Bytom/bytom/issues/342","repository_url":"https://api.github.com/repos/Bytom/bytom","labels_url":"https://api.github.com/repos/Bytom/bytom/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/Bytom/bytom/issues/342/comments","events_url":"https://api.github.com/repos/Bytom/bytom/issues/342/events","html_url":"https://github.com/Bytom/bytom/issues/342","id":293391110,"number":342,"title":"浏览器在bytomd http服务未完全启动前发请求，bytomd panic","user":{"login":"icodezjb","id":8869892,"avatar_url":"https://avatars0.githubusercontent.com/u/8869892?v=4","gravatar_id":"","url":"https://api.github.com/users/icodezjb","html_url":"https://github.com/icodezjb","followers_url":"https://api.github.com/users/icodezjb/followers","following_url":"https://api.github.com/users/icodezjb/following{/other_user}","gists_url":"https://api.github.com/users/icodezjb/gists{/gist_id}","starred_url":"https://api.github.com/users/icodezjb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icodezjb/subscriptions","organizations_url":"https://api.github.com/users/icodezjb/orgs","repos_url":"https://api.github.com/users/icodezjb/repos","events_url":"https://api.github.com/users/icodezjb/events{/privacy}","received_events_url":"https://api.github.com/users/icodezjb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-01T03:25:11Z","updated_at":"2018-02-01T03:25:11Z","closed_at":null,"author_association":"COLLABORATOR","body":"#### Environment\r\n\r\n- OS: all\r\n\r\n#### Problem Description\r\n\r\n2018/02/01 11:21:52 http: panic serving 127.0.0.1:57733: runtime error: invalid memory address or nil pointer dereference\r\ngoroutine 70 [running]:\r\nnet/http.(*conn).serve.func1(0xc042149360)\r\n        /usr/local/go/src/net/http/server.go:1721 +0xd7\r\npanic(0xc69d80, 0x16ecd50)\r\n        /usr/local/go/src/runtime/panic.go:489 +0x2dd\r\ngithub.com/bytom/blockchain.(*BlockchainReactor).ServeHTTP(0xc042553380, 0x16ac660, 0xc0425360e0, 0xc0424ea600)\r\n        /home/gavin/work/go/src/github.com/bytom/blockchain/rpc_reactor.go:37 +0x37\r\ngithub.com/bytom/node.(*waitHandler).ServeHTTP(0xc04251d1e0, 0x16ac660, 0xc0425360e0, 0xc0424ea600)\r\n        /home/gavin/work/go/src/github.com/bytom/node/node.go:88 +0x6c\r\nnet/http.(*ServeMux).ServeHTTP(0xc0424f78c0, 0x16ac660, 0xc0425360e0, 0xc0424ea600)\r\n        /usr/local/go/src/net/http/server.go:2238 +0x137\r\ngithub.com/bytom/blockchain.AuthHandler.func1(0x16ac660, 0xc0425360e0, 0xc0424ea300)\r\n        /home/gavin/work/go/src/github.com/bytom/blockchain/rpc_reactor.go:143 +0x31b\r\nnet/http.HandlerFunc.ServeHTTP(0xc04251d220, 0x16ac660, 0xc0425360e0, 0xc0424ea300)\r\n        /usr/local/go/src/net/http/server.go:1942 +0x4b\r\ngithub.com/bytom/node.RedirectHandler.func1(0x16ac660, 0xc0425360e0, 0xc0424ea300)\r\n        /home/gavin/work/go/src/github.com/bytom/node/node.go:72 +0x72\r\nnet/http.HandlerFunc.ServeHTTP(0xc04251d2a0, 0x16ac660, 0xc0425360e0, 0xc0424ea300)\r\n        /usr/local/go/src/net/http/server.go:1942 +0x4b\r\ngithub.com/bytom/vendor/github.com/kr/secureheader.(*Config).ServeHTTP(0x16f2fe0, 0x16ac660, 0xc0425360e0, 0xc0424ea300)\r\n        /home/gavin/work/go/src/github.com/bytom/vendor/github.com/kr/secureheader/secureheader.go:129 +0x130\r\nnet/http.serverHandler.ServeHTTP(0xc04208ec60, 0x16ac660, 0xc0425360e0, 0xc0424ea300)\r\n        /usr/local/go/src/net/http/server.go:2568 +0x99\r\nnet/http.(*conn).serve(0xc042149360, 0x16ad0a0, 0xc04200e640)\r\n        /usr/local/go/src/net/http/server.go:1825 +0x619\r\ncreated by net/http.(*Server).Serve\r\n        /usr/local/go/src/net/http/server.go:2668 +0x2d5\r\n2018/02/01 11:21:52 http: panic serving 127.0.0.1:57735: runtime error: invalid memory address or nil pointer dereference\r\n"}}
{"actor":{"display_login":"icodezjb"}}