googleforgames / open-match

Flexible, extensible, and scalable video game matchmaking.
http://open-match.dev
Apache License 2.0
3.16k stars 333 forks source link

QUESTION: What must the contents of matchmaker_config_default.yaml and matchmaker_config_override.yaml be for minimatch? #1675

Closed atye closed 10 months ago

atye commented 10 months ago

What happened:

When running minimatch and my own director code, I see these logs:

$ go run cmd/minimatch/main.go
2023/11/15 19:33:56 config: registrationInterval is not set in matchmaker_config_override.yaml
2023/11/15 19:33:56 config: proposalCollectionInterval is not set in matchmaker_config_override.yaml
2023/11/15 19:33:56 config: pendingReleaseTimeout is not set in matchmaker_config_override.yaml
2023/11/15 19:33:56 config: assignedDeleteTimeout is not set in matchmaker_config_override.yaml
2023/11/15 19:33:56 config: queryPageSize is not set in matchmaker_config_override.yaml
2023/11/15 19:33:56 config: backfillLockTimeout is not set in matchmaker_config_override.yaml
INFO[0000] Tracing sampler fraction set                  app=openmatch component=telemetry samplingFraction=0
INFO[0000] Telemetry reporting period set                app=openmatch component=telemetry reportingPeriod=1m0s
INFO[0000] Prometheus Metrics: Disabled                  app=openmatch component=telemetry
INFO[0000] StackDriver Metrics: Disabled                 app=openmatch component=telemetry
INFO[0000] OpenCensus Agent: Disabled                    app=openmatch component=telemetry
INFO[0000] zPages: Disabled                              app=openmatch component=telemetry
INFO[0000] Serving gRPC: [::]:45143                      app=openmatch component=api.minimatch
INFO[0000] Serving HTTP: [::]:43295                      app=openmatch component=api.minimatch
ERRO[0547] rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:0: connect: connection refused"  app=openmatch component=api.minimatch
ERRO[4067] rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:0: connect: connection refused"  app=openmatch component=api.minimatch
ERRO[4129] rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:0: connect: connection refused"  app=openmatch component=api.minimatch

My default file is empty and my override file has the content below just to get minimatch to start.

$ cat matchmaker_config_override.yaml
telemetry:
  reportingPeriod: "1m"

minimatch is trying to connect to 127.0.0.1:0 so I think I am missing a port configuration but I'm having trouble figuring out what it should be.

What's the minimal setup needed in the config files?

atye commented 10 months ago

I wanted to use minimatch but things working in k8s instead.