Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Samples does not work. #97

Open
glight2000 opened this issue Aug 28, 2020 · 1 comment
Open

Samples does not work. #97

glight2000 opened this issue Aug 28, 2020 · 1 comment

Comments

@glight2000
Copy link

There's a lot of fatal section gate1 has unknown key: http_addr when call goworld start because of goworld.ini config file.
Still got an error ! start dispatcher failed, see dispatcher.log for error: wait started tag timeout After fixed it, but dispatcher.log is empty.

@magixmin
Copy link

magixmin commented Sep 4, 2020

@glight2000 what`s you env
my latest ver iso k
[root@izwz95vgp1haukj85asticz goworld]# goworld build examples/unity_demo

arguments: build examples/unity_demo
go list -m -json: {Path:github.com/xiaonanln/goworld Main:true Dir:/root/dev/opt/go/src/magix/goworld GoMod:/root/dev/opt/go/src/magix/goworld/go.mod GoVersion:1.13}
goworld directory found: /root/dev/opt/go/src/magix/goworld
info Using config file: /root/dev/opt/go/src/magix/goworld/goworld.ini {"ts": "2020-09-04T14:14:51.303+0800"}
info >>> config <<< debug = true {"ts": "2020-09-04T14:14:51.303+0800"}
info >>> config <<< desired dispatcher count = 1 {"ts": "2020-09-04T14:14:51.303+0800"}
info >>> config <<< desired game count = 1 {"ts": "2020-09-04T14:14:51.303+0800"}
info >>> config <<< desired gate count = 1 {"ts": "2020-09-04T14:14:51.303+0800"}
info >>> config <<< storage type = mongodb {"ts": "2020-09-04T14:14:51.303+0800"}
info >>> config <<< KVDB type = mongodb {"ts": "2020-09-04T14:14:51.303+0800"}
building server examples/unity_demo ...
server directory is /root/dev/opt/go/src/magix/goworld/examples/unity_demo ...
go build examples/unity_demo ...
go build dispatcher ...
go build gate ...
go: downloading github.com/xtaci/kcp-go v5.4.19+incompatible
go: downloading github.com/petar/GoLLRB v0.0.0-20190514000832-33fb24c13b99
go: downloading github.com/klauspost/reedsolomon v1.9.3
go: downloading golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529
go: downloading github.com/templexxx/xor v0.0.0-20181023030647-4e92f724b73b
go: downloading github.com/tjfoc/gmsm v1.0.1
go: downloading github.com/templexxx/cpufeat v0.0.0-20180724012125-cef66df7f161
go: downloading github.com/klauspost/cpuid v1.2.1
[root@izwz95vgp1haukj85asticz goworld]# goworld start examples/unity_demo
arguments: start examples/unity_demo
go list -m -json: {Path:github.com/xiaonanln/goworld Main:true Dir:/root/dev/opt/go/src/magix/goworld GoMod:/root/dev/opt/go/src/magix/goworld/go.mod GoVersion:1.13}
goworld directory found: /root/dev/opt/go/src/magix/goworld
info Using config file: /root/dev/opt/go/src/magix/goworld/goworld.ini {"ts": "2020-09-04T14:15:04.547+0800"}
info >>> config <<< debug = true {"ts": "2020-09-04T14:15:04.547+0800"}
info >>> config <<< desired dispatcher count = 1 {"ts": "2020-09-04T14:15:04.547+0800"}
info >>> config <<< desired game count = 1 {"ts": "2020-09-04T14:15:04.547+0800"}
info >>> config <<< desired gate count = 1 {"ts": "2020-09-04T14:15:04.547+0800"}
info >>> config <<< storage type = mongodb {"ts": "2020-09-04T14:15:04.547+0800"}
info >>> config <<< KVDB type = mongodb {"ts": "2020-09-04T14:15:04.547+0800"}
start dispatchers ...
dispatcher ids: [1]
start games ...
desired games = 1
start game 1 ...

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants