#360·goim

部署出现问题,这是正常的吗?

作者: 92ppl创建于 2020年12月15日更新于 2022年10月26日
  1. Compile according to makefile to target directory
➜  target git:(master) ✗ tree
.
├── comet
├── comet.toml
├── job
├── job.toml
├── logic
└── logic.toml

2../logic -conf=logic.toml -region=sh -zone=sh001 -deploy.env=dev -weight=10 2>&1 Start log as follows

➜  target git:(master) ✗ ./logic -conf=logic.toml -region=sh -zone=sh001 -deploy.env=dev -weight=10 2>&1
E1215 14:42:05.362617    4815 client.go:551] discovery: client.Get(http://127.0.0.1:7171/discovery/polls?appid=infra.discovery&env=dev&hostname=phildeMBP.lan&latest_timestamp=1608014458680852000) error(Get http://127.0.0.1:7171/discovery/polls?appid=infra.discovery&env=dev&hostname=phildeMBP.lan&latest_timestamp=1608014458680852000: context canceled)
E1215 14:42:15.365407    4815 logic.go:80] discovery start timeout
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env:	export GIN_MODE=release
- using code:	gin.SetMode(gin.ReleaseMode)
[GIN-debug] POST   /goim/push/keys           --> GitHub.com/Terry-Mao/goim/internal/logic/http.(*Server).pushKeys-fm (3 handlers)
[GIN-debug] Listening and serving HTTP on :3111
[GIN-debug] POST   /goim/push/mids           --> GitHub.com/Terry-Mao/goim/internal/logic/http.(*Server).pushMids-fm (3 handlers)
[GIN-debug] POST   /goim/push/room           --> GitHub.com/Terry-Mao/goim/internal/logic/http.(*Server).pushRoom-fm (3 handlers)
[GIN-debug] POST   /goim/push/all            --> GitHub.com/Terry-Mao/goim/internal/logic/http.(*Server).pushAll-fm (3 handlers)
[GIN-debug] GET    /goim/online/top          --> GitHub.com/Terry-Mao/goim/internal/logic/http.(*Server).onlineTop-fm (3 handlers)
[GIN-debug] GET    /goim/online/room         --> GitHub.com/Terry-Mao/goim/internal/logic/http.(*Server).onlineRoom-fm (3 handlers)
[GIN-debug] GET    /goim/online/total        --> GitHub.com/Terry-Mao/goim/internal/logic/http.(*Server).onlineTotal-fm (3 handlers)
[GIN-debug] GET
…