Ask Your Question
0

pong server 테스트중 failed to connect to authenticator 에러 나옵니다.

asked 2019-09-23 14:27:59 +0900

supermarin gravatar image

updated 2019-09-23 14:37:53 +0900

Jinuk gravatar image

안녕하세요.

바로전에 답변해주신 authenticator는 이제는 포함된다고해서 설치하지 않고 바로 퐁서버를 컴파일해서 실행했는데 다음과 같은 에러가 나옵니다.

에러 내용상 failed to connect to authenticator 나온것 봐서는 서버에 포함된 authenticator 와 연동이 안된듯 한데 어떻게 하면 되나요?

ubuntu@ubuntu-System-Product-Name:~/game-pong-server/pong-build/debug$ ./pong.lobby-local
[INFO] pong_server@ubuntu-System-Product-Name is starting.
I0923 14:22:16.815762  7535 main.cc:545] Engine version: 1.0.0-4269bionic
I0923 14:22:16.815920  7535 main.cc:551] Command line arguments: [pong_server.lobby]
I0923 14:22:16.815933  7535 main.cc:552] Server flavor: lobby
I0923 14:22:17.473232  7535 main.cc:574] License info: {"production":false,"trial":true,"expires":"2020-Feb-02 08:46:39"}
I0923 14:22:17.483345  7535 manifest_handler.cc:687] libpong.so loaded.
I0923 14:22:17.483824  7535 manifest_handler.cc:766] Initializing AppInfo
I0923 14:22:17.483858  7535 manifest_handler.cc:766] Initializing IoService
W0923 14:22:17.483870  7535 io_service.cc:66] 'IoService/io_service_threads_size' is deprecated. Use 'SessionService/network_io_threads_size' instead.
I0923 14:22:17.484119  7535 manifest_handler.cc:766] Initializing RawTimer
I0923 14:22:17.484181  7535 manifest_handler.cc:766] Initializing Logging
I0923 14:22:17.484403  7535 manifest_handler.cc:766] Initializing HardwareInfo
I0923 14:22:17.484520  7535 hardware_info.cc:161] loop-back 이 아닌 AF_INET 형태의 네트워크 카드를 찾았습니다: enp6s0, 27.125.95.214/255.255.255.128, 48:5b:39:86:17:b7
I0923 14:22:17.484710  7535 hardware_info.cc:360] AWS API 를 통해 공인 IP 주소를 얻어내고 있습니다.
I0923 14:22:17.484728  7535 hardware_info.cc:236] RESETful API 롤 호출합니다: http://169.254.169.254/latest/meta-data/public-ipv4/
W0923 14:22:19.486162  7535 hardware_info.cc:250] AWS 의 API 를 호출하는데 실패했습니다. 스킵합니다.Timeout was reached
I0923 14:22:19.486224  7535 hardware_info.cc:363] 네트워크 카드로부터 공인 IP 주소를 얻어내고 있습니다.
W0923 14:22:19.486248  7535 hardware_info.cc:369] 네트워크 인터페이스 카드가 존재하지 않습니다. 무시합니다: eth0
I0923 14:22:19.486284  7535 hardware_info.cc:375] 주어진 NAT 정보로부터 공인 IP 를 얻어내고 있습니다.
I0923 14:22:19.486313  7535 hardware_info.cc:427] 공인 IP 주소를 얻어냈습니다: 93.184.216.34 (nat:93.184.216.34:tcp+pbuf=8012:http+json=8018)
I0923 14:22:19.486376  7535 manifest_handler.cc:766] Initializing RandomGenerator
I0923 14:22:19.486398  7535 manifest_handler.cc:766] Initializing WallClock
I0923 14:22:19.486424  7535 manifest_handler.cc:766] Initializing ZookeeperClient
I0923 14:22:19.486544  7535 manifest_handler.cc:766] Initializing RpcService
I0923 14:22:19.486596  7535 rpc_service.cc:1640] Using NIC 'enp6s0' for RPC
I0923 14:22:19.486935  7535 manifest_handler.cc:766] Initializing ObjectDirectoryService
I0923 14:22:19.487062  7535 manifest_handler.cc:766] Initializing Object
I0923 14:22:19.487424  7535 object_database.cc:955] Key shard: address(tcp://127.0.0.1:3306), id(funapi), database(funapi)
I0923 14:22:19.487452  7535 object_database.cc:960] Object shard: range(00000000-0000-0000-0000-000000000000~ffffffff-ffff-ffff-ffff-ffffffffffff), address(tcp://127.0.0.1:3306), id(funapi), database(funapi)
I0923 14:22:19.489647  7535 manifest_handler.cc:766] Initializing EventDispatcher
I0923 14:22:19 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2019-09-23 14:41:52 +0900

jwlee gravatar image

안녕하세요.

'/home/ubuntu/game-pong-server/pong-build/debug/manifest/MANIFEST.lobby.json' 파일의 "AuthenticationClient" 항목의 "use_authenticator" 설정을 false 로 변경 해서 실행 해 주시면 감사하겠습니다.

Github 에는 곧 업데이트하도록 하겠습니다.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-09-23 14:27:59 +0900

Seen: 33 times

Last updated: Sep 23