diff --git a/.gitignore b/.gitignore index 4666ef5..4772dd9 100755 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,6 @@ npm-debug.log yarn-error.log test/unit/coverage run/ +logs/ +confing.prod.ts npm-debug.* diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 4e78d5f..66c5ecd 100755 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,24 +1,31 @@ + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 9dbe678..2d76222 --- a/README.md +++ b/README.md @@ -1,6 +1,31 @@ -## Texas Poker Game -> This is an online Texas Hold'em game, base on TypeScript,egg,node,vue -## server -> base on midway.js,TypeScript. -## client -> base on vue-cli. \ No newline at end of file +Texas Poker Game +================ +> This is an online Texas Hold'em game, base on TypeScript,Egg,Node.js,Vue +## Server +> base on midway.js,TypeScript, socket.io, mysql. + +Detail: [server-readme](https://github.com/wzdwc/TexasPokerGame/tree/master/server) +## Client +> base on vue-cli, TypeScript, socket.io. + +Detail: [client-readme](https://github.com/wzdwc/TexasPokerGame/tree/master/client) +## Project structure +``` +├─client +├─database +│ └─poker.sql +└─server +``` +## Demo +See: [demo](http://www.jojgame.com) + + +![img](https://github.com/wzdwc/TexasPokerGame/blob/master/gif/demo1.gif) + +![img](https://github.com/wzdwc/TexasPokerGame/blob/master/gif/demo2.gif) + +![img](https://github.com/wzdwc/TexasPokerGame/blob/master/gif/demo3.gif) + +![img](https://github.com/wzdwc/TexasPokerGame/blob/master/gif/demo4.gif) +## License +The MIT License (MIT) diff --git a/client/.idea/.gitignore b/client/.idea/.gitignore new file mode 100644 index 0000000..5c98b42 --- /dev/null +++ b/client/.idea/.gitignore @@ -0,0 +1,2 @@ +# Default ignored files +/workspace.xml \ No newline at end of file diff --git a/client/.idea/client.iml b/client/.idea/client.iml new file mode 100644 index 0000000..c956989 --- /dev/null +++ b/client/.idea/client.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/client/.idea/codeStyles/Project.xml b/client/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..69910e3 --- /dev/null +++ b/client/.idea/codeStyles/Project.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/client/.idea/codeStyles/codeStyleConfig.xml b/client/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..79ee123 --- /dev/null +++ b/client/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/client/.idea/inspectionProfiles/Project_Default.xml b/client/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..df7825d --- /dev/null +++ b/client/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/client/.idea/jsLinters/tslint.xml b/client/.idea/jsLinters/tslint.xml new file mode 100644 index 0000000..5d68de2 --- /dev/null +++ b/client/.idea/jsLinters/tslint.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/client/.idea/misc.xml b/client/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/client/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/client/.idea/modules.xml b/client/.idea/modules.xml new file mode 100644 index 0000000..0742ebc --- /dev/null +++ b/client/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/client/.idea/vcs.xml b/client/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/client/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/client/README.md b/client/README.md index db6a46f..ec41399 100644 --- a/client/README.md +++ b/client/README.md @@ -1,17 +1,11 @@ -# poke-game-front-ts - -## Project setup +poke-game-front-ts +===================== +## Setup ``` -yarn install +yarn +yarn serve ``` - -### Compiles and hot-reloads for development - -``` -yarn run serve -``` - ### Compiles and minifies for production ``` @@ -24,12 +18,22 @@ yarn run build yarn run test ``` -### Lints and fixes files +## Project structure +``` +├─public // html +└─src + ├─assets + │ ├─less + │ └─mp3 + ├─components + ├─interface + ├─plugins + ├─router + ├─service // api + ├─store + ├─utils + └─views ``` -yarn run lint -``` - -### Customize configuration - -See [Configuration Reference](https://cli.vuejs.org/config/). +## License +The MIT License (MIT) diff --git a/client/package.json b/client/package.json index b24da08..af5441d 100644 --- a/client/package.json +++ b/client/package.json @@ -4,14 +4,18 @@ "private": true, "scripts": { "serve": "vue-cli-service serve", + "dev": "cross-env NODE_ENV=develop vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint" }, "dependencies": { + "@types/fastclick": "^1.0.29", "@types/js-cookie": "^2.2.6", "@types/socket.io-client": "^1.4.32", "axios": "^0.19.2", "core-js": "^3.6.4", + "cross-env": "^7.0.2", + "fastclick": "^1.0.6", "js-cookie": "^2.2.1", "socket.io-client": "^2.3.0", "vconsole": "^3.3.4", @@ -19,7 +23,8 @@ "vue-class-component": "^7.2.3", "vue-property-decorator": "^8.4.1", "vue-router": "^3.1.6", - "vuex": "^3.1.3" + "vuex": "^3.1.3", + "vux": "^2.9.4" }, "devDependencies": { "@vue/cli-plugin-babel": "^4.3.0", @@ -27,6 +32,7 @@ "@vue/cli-service": "^4.3.0", "less": "^3.0.4", "less-loader": "^5.0.0", + "postcss-px-to-viewport": "^1.1.1", "typescript": "~3.8.3", "vue-template-compiler": "^2.6.11" } diff --git a/client/src/App.vue b/client/src/App.vue index cf8f426..985abf7 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -1,67 +1,74 @@ - - - - - + + + + + diff --git a/client/src/assets/gold.svg b/client/src/assets/gold.svg new file mode 100644 index 0000000..521fbde --- /dev/null +++ b/client/src/assets/gold.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/client/src/assets/less/base.less b/client/src/assets/less/base.less new file mode 100644 index 0000000..39297ec --- /dev/null +++ b/client/src/assets/less/base.less @@ -0,0 +1,64 @@ +@font-face { + font-family: 'iconfont'; /* project id 1801313 */ + src: url('//at.alicdn.com/t/font_1801313_4rcv94i1hxw.eot'); + src: url('//at.alicdn.com/t/font_1801313_4rcv94i1hxw.eot?#iefix') format('embedded-opentype'), + url('//at.alicdn.com/t/font_1801313_4rcv94i1hxw.woff2') format('woff2'), + url('//at.alicdn.com/t/font_1801313_4rcv94i1hxw.woff') format('woff'), + url('//at.alicdn.com/t/font_1801313_4rcv94i1hxw.ttf') format('truetype'), + url('//at.alicdn.com/t/font_1801313_4rcv94i1hxw.svg#iconfont') format('svg'); +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-account:before { + content: "\e60a"; +} + +.icon-user-avatar:before { + content: "\e636"; +} + +.icon-pot:before { + content: "\e60c"; +} + +.icon-gold:before { + content: "\e609"; +} +.icon-setting:before { + content: "\e611"; +} +.icon-password:before { + content: "\e603"; +} + +.icon-close:before { + content: "\e615"; +} + +.icon-msg:before{ + content: "\e781"; +} + +.icon-record:before{ + content: "\e657"; +} + +.icon-arrow:before{ + content: "\e623"; +} +body, p,h1,h2,ul,li,input{ + padding: 0; + margin: 0; +} +input{ + border: 0; + outline: none; +} + diff --git a/client/src/assets/mp3/click.mp3 b/client/src/assets/mp3/click.mp3 new file mode 100644 index 0000000..81e5124 Binary files /dev/null and b/client/src/assets/mp3/click.mp3 differ diff --git a/client/src/assets/mp3/fold.mp3 b/client/src/assets/mp3/fold.mp3 new file mode 100644 index 0000000..a66eeff Binary files /dev/null and b/client/src/assets/mp3/fold.mp3 differ diff --git a/client/src/assets/mp3/income.mp3 b/client/src/assets/mp3/income.mp3 new file mode 100644 index 0000000..506e96f Binary files /dev/null and b/client/src/assets/mp3/income.mp3 differ diff --git a/client/src/assets/mp3/raise.mp3 b/client/src/assets/mp3/raise.mp3 new file mode 100644 index 0000000..45bc1bd Binary files /dev/null and b/client/src/assets/mp3/raise.mp3 differ diff --git a/client/src/components/Action.vue b/client/src/components/Action.vue new file mode 100644 index 0000000..eccdf68 --- /dev/null +++ b/client/src/components/Action.vue @@ -0,0 +1,300 @@ + + + + + + diff --git a/client/src/components/BuyIn.vue b/client/src/components/BuyIn.vue new file mode 100644 index 0000000..01ec866 --- /dev/null +++ b/client/src/components/BuyIn.vue @@ -0,0 +1,106 @@ + + + + + + diff --git a/client/src/components/CommonCard.vue b/client/src/components/CommonCard.vue index bd5d2f6..384fb63 100644 --- a/client/src/components/CommonCard.vue +++ b/client/src/components/CommonCard.vue @@ -1,53 +1,163 @@ - diff --git a/client/src/components/Emoji.vue b/client/src/components/Emoji.vue new file mode 100644 index 0000000..b1a82e4 --- /dev/null +++ b/client/src/components/Emoji.vue @@ -0,0 +1,24 @@ + + + + + + diff --git a/client/src/components/SitList.vue b/client/src/components/SitList.vue index bd49426..d59beb0 100644 --- a/client/src/components/SitList.vue +++ b/client/src/components/SitList.vue @@ -1,100 +1,314 @@ - diff --git a/client/src/components/audio.vue b/client/src/components/audio.vue new file mode 100644 index 0000000..9f5396f --- /dev/null +++ b/client/src/components/audio.vue @@ -0,0 +1,46 @@ + + + + + + diff --git a/client/src/components/cardList.vue b/client/src/components/cardList.vue new file mode 100644 index 0000000..573b853 --- /dev/null +++ b/client/src/components/cardList.vue @@ -0,0 +1,191 @@ + + + + + + diff --git a/client/src/components/gameRecord.vue b/client/src/components/gameRecord.vue new file mode 100644 index 0000000..9b18760 --- /dev/null +++ b/client/src/components/gameRecord.vue @@ -0,0 +1,236 @@ + + + + + + diff --git a/client/src/components/notice.vue b/client/src/components/notice.vue new file mode 100644 index 0000000..5cfa589 --- /dev/null +++ b/client/src/components/notice.vue @@ -0,0 +1,59 @@ + + + + + + diff --git a/client/src/components/player.vue b/client/src/components/player.vue new file mode 100644 index 0000000..d2d8af4 --- /dev/null +++ b/client/src/components/player.vue @@ -0,0 +1,176 @@ + + + + + + diff --git a/client/src/components/range.vue b/client/src/components/range.vue new file mode 100644 index 0000000..9fa1736 --- /dev/null +++ b/client/src/components/range.vue @@ -0,0 +1,98 @@ + + + + + + diff --git a/client/src/components/record.vue b/client/src/components/record.vue new file mode 100644 index 0000000..7ca3bf2 --- /dev/null +++ b/client/src/components/record.vue @@ -0,0 +1,101 @@ + + + + + + diff --git a/client/src/components/sendMsg.vue b/client/src/components/sendMsg.vue new file mode 100644 index 0000000..e1763dd --- /dev/null +++ b/client/src/components/sendMsg.vue @@ -0,0 +1,80 @@ + + + + + + diff --git a/client/src/components/toast.vue b/client/src/components/toast.vue new file mode 100644 index 0000000..ec1b89d --- /dev/null +++ b/client/src/components/toast.vue @@ -0,0 +1,62 @@ + + + + + + diff --git a/client/src/interface/IGameRecord.ts b/client/src/interface/IGameRecord.ts new file mode 100644 index 0000000..7c69b15 --- /dev/null +++ b/client/src/interface/IGameRecord.ts @@ -0,0 +1,3 @@ +export interface IGameRecord { + gameId: number; +} diff --git a/client/src/interface/IPlayer.ts b/client/src/interface/IPlayer.ts new file mode 100644 index 0000000..3509f26 --- /dev/null +++ b/client/src/interface/IPlayer.ts @@ -0,0 +1,19 @@ +enum PlayerType { + READY, + SIT_DOWN, + GAMING, +} + +export interface IPlayer { + counter: number; + nickName: string; + actionSize: number; + actionCommand: string; + type: string; + userId?: number; + handCard?: string[]; + buyIn: number; + status: number; + income?: number; + isSit: boolean; +} diff --git a/client/src/interface/IRoom.ts b/client/src/interface/IRoom.ts new file mode 100644 index 0000000..8e021e2 --- /dev/null +++ b/client/src/interface/IRoom.ts @@ -0,0 +1,6 @@ +export interface IRoom { + roomNumber?: string; + isShort: boolean; + time?: number; + smallBlind: number; +} diff --git a/client/src/interface/ISit.ts b/client/src/interface/ISit.ts new file mode 100644 index 0000000..1173363 --- /dev/null +++ b/client/src/interface/ISit.ts @@ -0,0 +1,6 @@ +import { IPlayer } from '@/interface/IPlayer'; + +export default interface ISit { + player: IPlayer | null; + position: number; +} diff --git a/client/src/interface/IUser.ts b/client/src/interface/IUser.ts new file mode 100644 index 0000000..da38a39 --- /dev/null +++ b/client/src/interface/IUser.ts @@ -0,0 +1,7 @@ +export interface IUser { + nickName: string; + counter: number; + userId?: number; + buyIn: number; + account: string; +} diff --git a/client/src/interface/user.ts b/client/src/interface/user.ts deleted file mode 100644 index e740085..0000000 --- a/client/src/interface/user.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IUser { - counter: number; - nick_name: string; - actionSize: number; - actionCommand: string; - type: string; - userId?: number; - handCard?: string[]; - buyIn: number; -} diff --git a/client/src/main.ts b/client/src/main.ts index 9fa3a90..59091bd 100644 --- a/client/src/main.ts +++ b/client/src/main.ts @@ -3,11 +3,21 @@ import App from './App.vue'; import router from './router'; import store from './store'; import VConsole from 'vconsole'; +import './utils/init'; +import toastPlugin from './plugins/toast'; +// 快速点击bug +// import fastClick from 'fastclick'; +Vue.use(toastPlugin); Vue.config.productionTip = false; -// tslint:disable-next-line:no-unused-expression -new VConsole(); +if (process.env.NODE_ENV !== 'production') { + // tslint:disable-next-line:no-unused-expression + new VConsole(); +} +// @ts-ignore +// fastClick.attach(document.body); + new Vue({ router, diff --git a/client/src/plugin.d.ts b/client/src/plugin.d.ts new file mode 100644 index 0000000..7d61c5b --- /dev/null +++ b/client/src/plugin.d.ts @@ -0,0 +1,12 @@ +import Vue from 'vue'; +import { ToastExtendConstructor, IOptions } from '../src/plugins/toast'; + +interface IPlugin { + toast(options: string | IOptions): ToastExtendConstructor; +} + +declare module 'vue/types/vue' { + interface Vue { + $plugin: IPlugin; + } +} diff --git a/client/src/plugins/toast.ts b/client/src/plugins/toast.ts new file mode 100644 index 0000000..f41ef55 --- /dev/null +++ b/client/src/plugins/toast.ts @@ -0,0 +1,69 @@ +import Vue, { PluginObject } from 'vue'; +import Toast from '../components/Toast.vue'; + +export interface IOptions { + text?: string; + timeOut?: number; +} + +const ToastConstructor = Vue.extend(Toast); + +export class ToastExtendConstructor extends ToastConstructor { + public close() { + this.$props.show = false; + this.$off('update:show'); + } +} + +let instance: ToastExtendConstructor; +let defaultOptions: IOptions; + +const getInstance = () => { + if (instance) { return instance; } + + instance = new ToastExtendConstructor({ + el: document.createElement('div'), + }); + + return instance; +}; + +const toast = (options: string | IOptions) => { + const vm = getInstance(); + + if (!defaultOptions) { + defaultOptions = { ...vm.$props }; + } + + let opts: IOptions; + if (typeof options === 'string') { + opts = { ...defaultOptions, text: options }; + } else { + opts = { ...defaultOptions, ...options }; + } + + Object.keys(opts).forEach((key) => { + vm.$props[key] = opts[key as keyof IOptions]; + }); + console.log(vm.$props); + vm.$props.show = true; + vm.$off('update:show'); + vm.$on('update:show', (val: boolean) => { + vm.$props.show = val; + }); + document.body.appendChild(vm.$el); + + return vm; +}; + +const plugin: PluginObject = { + // tslint:disable-next-line:no-shadowed-variable + install(Vue) { + if (!Vue.prototype.$plugin) { + Vue.prototype.$plugin = {}; + } + Vue.prototype.$plugin.toast = toast; + }, +}; + +export default plugin; diff --git a/client/src/router/index.ts b/client/src/router/index.ts index b2a342c..8216006 100644 --- a/client/src/router/index.ts +++ b/client/src/router/index.ts @@ -1,37 +1,70 @@ -import Vue from 'vue'; -import VueRouter, { RouteConfig } from 'vue-router'; -import Home from '../views/Home.vue'; -import Login from '../views/login.vue'; -import Register from '../views/register.vue'; -import Game from '../views/game.vue'; - -Vue.use(VueRouter); - -const routes: RouteConfig[] = [ - { - path: '/', - name: 'home', - component: Home, - }, - { - path: '/login', - name: 'login', - component: Login, - }, - { - path: '/register', - name: 'register', - component: Register, - }, - { - path: '/game/:roomNumber/:isOwner?', - name: 'game', - component: Game, - }, -]; - -const router = new VueRouter({ - routes, -}); - -export default router; +import Vue from 'vue'; +import VueRouter, { RouteConfig } from 'vue-router'; +import Home from '../views/home.vue'; +import Login from '../views/login.vue'; +import Register from '../views/register.vue'; +import Game from '../views/game.vue'; +import service from '../service'; +import origin from '../utils/origin'; + +Vue.use(VueRouter); + +const routes: RouteConfig[] = [ + { + path: '/', + name: 'home', + component: Home, + meta: { + title: 'home', + needLogin: true, + }, + }, + { + path: '/login', + name: 'login', + component: Login, + meta: { + title: 'login', + }, + }, + { + path: '/register', + name: 'register', + component: Register, + meta: { + title: 'create account', + }, + }, + { + path: '/game/:roomNumber/:isOwner?', + name: 'game', + component: Game, + meta: { + title: 'game', + needLogin: true, + }, + }, +]; + +const router = new VueRouter({ + routes, +}); + +router.beforeEach(async (to, from, next) => { + if (to.meta.title) { + document.title = to.meta.title; + } + if (to.meta.needLogin) { + try { + const result = await service.checkLogin(); + console.log(result); + next(); + } catch (e) { + await router.replace({ name: 'login' }); + } + } else { + next(); + } +}); + +export default router; diff --git a/client/src/service/index.ts b/client/src/service/index.ts index 77e0345..6ece508 100644 --- a/client/src/service/index.ts +++ b/client/src/service/index.ts @@ -1,20 +1,36 @@ import request from '../utils/request'; export default { - register: (userName: string, password: string) => request({ + register: ({ userAccount = '', password = '', nickName = '' }) => request({ url: '/user/register', - body: { userName, password }, + body: { userAccount, password, nickName }, }), - login: (userAccount: string, password: string) => request({ + login: (userAccount: string, password: string ) => request({ url: '/user/login', body: { userAccount, password }, }), - createRoom: () => request({ + checkLogin: () => request({ + url: '/user', + body: {}, + }), + createRoom: (isShort: boolean, smallBlind: number, time: number) => request({ url: '/game/room', - body: { }, + body: { isShort, smallBlind, time }, + }), + findRoom: (roomNumber: string) => request({ + url: '/game/room/find', + body: { roomNumber }, }), buyIn: (buyInSize: number) => request({ url: '/game/buyIn', body: { buyInSize }, }), + commandRecordList: (roomNumber: string, gameId: number) => request({ + url: '/game/record/find/commandRecord', + body: { roomNumber, gameId }, + }), + gameRecordList: (roomNumber: string) => request({ + url: '/game/record/find/gameRecord', + body: { roomNumber }, + }), }; diff --git a/client/src/utils/Link.ts b/client/src/utils/Link.ts new file mode 100644 index 0000000..2ac22a8 --- /dev/null +++ b/client/src/utils/Link.ts @@ -0,0 +1,73 @@ +export interface ILinkNode { + node: T; + next: ILinkNode | null; +} + +// interface ILink { +// getNode(position: number): T; +// setNode(position: number): void; +// removeNode(position: number): void; + +export class Link { + public link: ILinkNode = { + node: {} as T, + next: null, + }; + + constructor(nodes: T[], isCircular: boolean = true) { + let prevNode: ILinkNode = { + node: {} as T, + next: null, + }; + nodes.forEach((node, key) => { + const currNode: ILinkNode = { + node, + next: null, + }; + // head + if (key === 0) { + this.link = currNode; + } else { + // circular, last node next is first + if (key === nodes.length - 1 && isCircular) { + currNode.next = this.link; + } + prevNode.next = currNode; + } + prevNode = currNode; + }); + } + + public getNode(position: number) { + let linkNode = this.link; + let i = 0; + while (linkNode.next) { + if (i === position) { + return linkNode; + } + linkNode = linkNode.next; + i++; + } + return linkNode; + } + + public setNode(node: T, position: number) { + let linkNode = this.link; + let i = 0; + const currNode: ILinkNode = { + node, + next: null, + }; + while (linkNode.next) { + if (i === position) { + currNode.next = linkNode.next; + linkNode.next = currNode; + return; + } + linkNode = linkNode.next; + i++; + } + currNode.next = linkNode.next; + linkNode.next = currNode; + } +} diff --git a/client/src/utils/PokerStyle.ts b/client/src/utils/PokerStyle.ts new file mode 100644 index 0000000..15f658b --- /dev/null +++ b/client/src/utils/PokerStyle.ts @@ -0,0 +1,324 @@ +const POKER_STR = 'abcdefghijklm'; + +function sort(cards: string []): string[] { + let temp = ''; + // 排序 + for (let i = 0; i < cards.length; i++) { + for (let j = i + 1; j < cards.length; j++) { + if (cards[i] > cards[j]) { + temp = cards[i]; + cards[i] = cards[j]; + cards[j] = temp; + } + } + } + return cards; +} + +interface IPokerStyle { + init(): void; + + isStraight(str?: string []): string; +} + +enum PokerStyleEnum { + 'ROYAL_FlUSH', + 'STRAIGHT_FLUSH', + 'FOUR_KIND', + 'FULL_HOUSE', + 'FLUSH', + 'STRAIGHT', + 'THREE_KIND', + 'TWO_PAIR', + 'PAIR', + 'HIGH_CARD', +} + +enum ShortPokerStyleEnum { + 'ROYAL_FlUSH', + 'STRAIGHT_FLUSH', + 'FOUR_KIND', + 'FLUSH', + 'FULL_HOUSE', + 'THREE_KIND', + 'STRAIGHT', + 'TWO_PAIR', + 'PAIR', + 'HIGH_CARD', +} + +export class PokerStyle implements IPokerStyle { + private readonly cards: string[] = []; + private readonly isShort: boolean; + private flushObj: { [key: string]: any } = { + 1: [], + 2: [], + 3: [], + 4: [], + }; + private flushColor: string = ''; + private straightArr: string[] = []; + private styleName = [ + 'ROYAL_FlUSH', + 'STRAIGHT_FLUSH', + 'FOUR_KIND', + 'FULL_HOUSE', + 'FLUSH', + 'STRAIGHT', + 'THREE_KIND', + 'TWO_PAIR', + 'PAIR', + 'HIGH_CARD']; + private pokerStyle: string[] = [ + '0', + '0', + '0', + '0', + '0', + '0', + '0', + '0', + '0', + '0']; + private numObj: Map = new Map( + POKER_STR.split('').map((m) => [m, 0])); + + constructor(cards: string[], isShort= false) { + this.cards = sort(cards); + this.isShort = isShort; + if (this.isShort) { + this.styleName = [ + 'ROYAL_FlUSH', + 'STRAIGHT_FLUSH', + 'FOUR_KIND', + 'FLUSH', + 'FULL_HOUSE', + 'THREE_KIND', + 'STRAIGHT', + 'TWO_PAIR', + 'PAIR', + 'HIGH_CARD', + ]; + } + this.init(); + } + + public isStraight(str?: string []): string { + const straightStr = str && str.join('') || [ ...new Set(this.straightArr) ].join(''); + let first = -1; + let second = -1; + let three = -1; + function indexOf(pokeString: string): number { + return POKER_STR.indexOf(pokeString); + } + if (straightStr.length === 5 && indexOf(straightStr) > -1) { + return POKER_STR.slice(indexOf(straightStr), indexOf(straightStr) + 5); + } + if (straightStr.length === 6) { + first = indexOf(straightStr.slice(0, 5)); + second = indexOf(straightStr.slice(1, 6)); + if (Math.max(first, second) > -1) { + const max = Math.max(first, second); + return POKER_STR.slice(max, max + 5); + } + } + if (straightStr.length === 7) { + first = indexOf(straightStr.slice(0, 5)); + second = indexOf(straightStr.slice(1, 6)); + three = indexOf(straightStr.slice(2, 7)); + if (Math.max(first, second, three) > -1) { + const max = Math.max(first, second, three); + return POKER_STR.slice(max, max + 5); + } + } + // special straight "A2345",'m' -> A + if (!this.isShort && straightStr.indexOf('m') > -1 && straightStr.indexOf('abcd') > -1) { + return 'abcdm'; + } + // special straight "A2345",'m' -> A + if (this.isShort && straightStr.indexOf('m') > -1 && straightStr.indexOf('efgh') > -1) { + return 'efghm'; + } + return '0'; + } + + public getPokerWeight() { + return this.pokerStyle.join(''); + } + + public getPokerStyleName() { + for (let i = 0; i < this.pokerStyle.length; i++) { + if (this.pokerStyle[i] !== '0') { + return this.styleName[i]; + } + } + } + + public init() { + let i = 0; + const isTwo = []; + const isThree = []; + let isFour = '0'; + let isFullHouse = '0'; + // const isStraightFlush = '0'; + let isFlush: string[] = []; + let isRoyalFlush = '0'; + let isThreeKind = ''; + let isTowPair = ''; + let isPair = ''; + const highCard = []; + + while (i < this.cards.length) { + const color = this.cards[i][1]; + const num = this.cards[i][0]; + this.straightArr.push(this.cards[i][0]); + this.flushObj[color].push(num); + let value = this.numObj.get(num) || 0; + value++; + this.numObj.set(num, value); + i++; + } + + // find flush + for (const f in this.flushObj) { + if (this.flushObj[f].length >= 5) { + // flush is order,so flush[length - 1] is max flush card + isFlush = this.flushObj[f]; + this.flushColor = f; + } + } + + // find two,three,four + for (const [key, value] of this.numObj) { + // high card + if (value === 1) { + highCard.unshift(key); + } + // pairs max count 3, source is small to large + if (value >= 2) { + isTwo.unshift(key); + } + // three of kind max count 2 + if (value === 3) { + isThree.unshift(key); + } + // four of kind only one + if (value === 4) { + isFour = key; + } + } + // straight flush + if (isFlush.length !== 0 && this.isStraight(isFlush) !== '0') { + if (this.isStraight(isFlush) === 'ijklm') { + isRoyalFlush = 'ijklm'; + this.pokerStyle[0] = isRoyalFlush; + return; + } + this.pokerStyle[1] = this.isStraight(isFlush).split('').reverse().join(''); + return; + } + + // four of kind + if (isFour !== '0') { + isFour += highCard[0]; + this.pokerStyle[2] = isFour; + return; + } + + // full house + if (isThree.length > 0 && isTwo.length > isThree.length || + isThree.length === 2) { + const maxTwoCard = isThree.length === 2 ? isThree[1] : isThree[0] === + isTwo[0] ? isTwo[1] : isTwo[0]; + const maxThree = isThree[0]; + isFullHouse = maxThree + maxTwoCard; + if (this.isShort) { + this.pokerStyle[4] = isFullHouse; + } else { + this.pokerStyle[3] = isFullHouse; + } + return; + } + + // flush + if (isFlush.length !== 0) { + isFlush.reverse().length = 5; + if (this.isShort) { + this.pokerStyle[3] = isFlush.join(''); + } else { + this.pokerStyle[4] = isFlush.join(''); + } + return; + } + if (this.isShort) { + // three of kind + if (isThree.length > 0) { + isThreeKind = isThree.join(''); + isThreeKind += highCard[0] + highCard[1]; + this.pokerStyle[5] = isThreeKind; + return; + } + + // straight + if (this.isStraight() !== '0') { + this.pokerStyle[6] = `${this.isStraight()}`; + return; + } + + } else { + // straight + if (this.isStraight() !== '0') { + this.pokerStyle[5] = `${this.isStraight()}`; + return; + } + + // three of kind + if (isThree.length > 0) { + isThreeKind = isThree.join(''); + isThreeKind += highCard[0] + highCard[1]; + this.pokerStyle[6] = isThreeKind; + return; + } + } + + // tow pair + if (isTwo.length >= 2) { + const towPair = isTwo; + towPair.length = 2; + isTowPair = towPair.join(''); + // third tow pair card big then high card + const highCardForTowPair = isTwo[3] && isTwo[3] > highCard[0] ? isTwo[3] : highCard[0]; + isTowPair += highCardForTowPair; + this.pokerStyle[7] = isTowPair; + return; + } + // pair + if (isTwo.length === 1) { + isPair = isTwo.join(''); + isPair += highCard[0] + highCard[1] + highCard[2]; + this.pokerStyle[8] = isPair; + return; + } + // High card + highCard.length = 5; + this.pokerStyle[9] = highCard.join(''); + } + public getPokerValueCard() { + let valueStyle = ''; + let isFlush = false; + this.pokerStyle.forEach((style, key) => { + if (style !== '0') { + isFlush = key === 1 || this.isShort ? key === 3 : key === 4; + valueStyle = style; + } + }); + const cards = this.cards.filter((card) => { + if (isFlush) { + return valueStyle.indexOf(card[0]) > -1 && card[1] === this.flushColor; + } + return valueStyle.indexOf(card[0]) > -1; + }); + cards.reverse().length = 5; + return cards; + } +} diff --git a/client/src/utils/init.ts b/client/src/utils/init.ts new file mode 100644 index 0000000..695ca6e --- /dev/null +++ b/client/src/utils/init.ts @@ -0,0 +1,13 @@ +let setRem = () => { + let curWidth = document.documentElement.clientWidth || window.screen.width; + const basicWidth = 375; + const basicFontSize = 20; + let calcFontSize = 0; + curWidth = curWidth > 640 ? 640 : curWidth < 320 ? 320 : curWidth; + calcFontSize = (curWidth / basicWidth) * basicFontSize; + document.documentElement.style.fontSize = calcFontSize + 'px'; +}; +setRem(); +window.addEventListener('resize', () => { + setRem(); +}); diff --git a/client/src/utils/map.ts b/client/src/utils/map.ts new file mode 100644 index 0000000..066819a --- /dev/null +++ b/client/src/utils/map.ts @@ -0,0 +1,18 @@ +export default (cards: string []) => { + const cardNumber = [2, 3, 4, 5, 6, 7, 8, 9, 10, 'J', 'Q', 'K', 'A']; + const color = ['♦', '♣', '♥', '♠']; + return cards?.map((c: string) => { + const cNumber = c.charCodeAt(0) - 97; + const cColor = Number(c[1]) - 1; + return [`${cardNumber[cNumber]}`, `${color[cColor]}`]; + }); +}; + +const mapCard = (card: string) => { + const cardNumber = [2, 3, 4, 5, 6, 7, 8, 9, 10, 'J', 'Q', 'K', 'A']; + const color = ['♦', '♣', '♥', '♠']; + const cNumber = card.charCodeAt(0) - 97; + const cColor = Number(card[1]) - 1; + return [`${cardNumber[cNumber]}`, `${color[cColor]}`]; +}; +export { mapCard }; diff --git a/client/src/utils/origin.ts b/client/src/utils/origin.ts new file mode 100644 index 0000000..984129d --- /dev/null +++ b/client/src/utils/origin.ts @@ -0,0 +1,6 @@ +export default { + url: process.env.NODE_ENV !== 'production' ? + process.env.NODE_ENV === 'develop' ? 'http://172.22.72.70:7001' + : 'http://127.0.0.1:7001' : 'http://www.jojgame.com:7001', + res: location.href.split('#')[0] + '#', +}; diff --git a/client/src/utils/request.ts b/client/src/utils/request.ts index 01806c2..3c7d649 100644 --- a/client/src/utils/request.ts +++ b/client/src/utils/request.ts @@ -1,34 +1,34 @@ -import axios, {AxiosRequestConfig, Method} from 'axios'; -import cookie from 'js-cookie'; - -const request = async ({method = 'post' as Method, url = '', body = {}, timeout = 8000}) => { - const origin = 'http://192.168.0.101:7001/node'; - // const origin = 'http://172.22.72.70:7001/node'; - if (!url) { - return Promise.reject('Request url is null!'); - } - const token = cookie.get('token'); - const headers = { - Authorization: `Bearer ${token}`, - }; - url = `${origin}${url}`; - const option: AxiosRequestConfig = { - url, - method, - timeout, - data: body, - withCredentials: true, - headers, - }; - try { - const result = await axios(option); - if (result.data.code === '000000') { - return result.data; - } else { - throw result.data; - } - } catch (e) { - throw e; - } -}; -export default request; +import axios, {AxiosRequestConfig, Method} from 'axios'; +import cookie from 'js-cookie'; +import origin from '@/utils/origin'; + +const request = async ({method = 'post' as Method, url = '', body = {}, timeout = 8000}) => { + if (!url) { + return Promise.reject('Request url is null!'); + } + const token = cookie.get('token'); + const headers = { + Authorization: `Bearer ${token}`, + }; + console.log('url', origin.url); + url = `${origin.url}/node${url}`; + const option: AxiosRequestConfig = { + url, + method, + timeout, + data: body, + withCredentials: true, + headers, + }; + try { + const result = await axios(option); + if (result.data.code === '000000') { + return result.data; + } else { + throw result.data; + } + } catch (e) { + throw e; + } +}; +export default request; diff --git a/client/src/views/Home.vue b/client/src/views/Home.vue deleted file mode 100644 index e3d35ab..0000000 --- a/client/src/views/Home.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - - diff --git a/client/src/views/game.vue b/client/src/views/game.vue index 020a1e7..3304308 100644 --- a/client/src/views/game.vue +++ b/client/src/views/game.vue @@ -1,115 +1,191 @@ @@ -327,30 +557,86 @@ diff --git a/client/src/views/home.vue b/client/src/views/home.vue new file mode 100644 index 0000000..2bc8901 --- /dev/null +++ b/client/src/views/home.vue @@ -0,0 +1,267 @@ + + + + diff --git a/client/src/views/login.vue b/client/src/views/login.vue index d42dbde..45bd791 100644 --- a/client/src/views/login.vue +++ b/client/src/views/login.vue @@ -1,23 +1,26 @@ - diff --git a/client/src/views/register.vue b/client/src/views/register.vue index 04c800a..0ca6c3e 100644 --- a/client/src/views/register.vue +++ b/client/src/views/register.vue @@ -1,53 +1,118 @@ - - - + + + diff --git a/client/yarn.lock b/client/yarn.lock index 4f8c9ce..131f702 100644 --- a/client/yarn.lock +++ b/client/yarn.lock @@ -2,6 +2,51 @@ # yarn lockfile v1 +"@antv/adjust@~0.1.1": + version "0.1.1" + resolved "https://registry.npmjs.org/@antv/adjust/-/adjust-0.1.1.tgz#e263ab0e1a1941a648842fc086cf65a7e3b75e98" + integrity sha512-9FaMOyBlM4AgoRL0b5o0VhEKAYkexBNUrxV8XmpHU/9NBPJONBOB/NZUlQDqxtLItrt91tCfbAuMQmF529UX2Q== + dependencies: + "@antv/util" "~1.3.1" + +"@antv/f2@^3.1.4-beta.2": + version "3.6.3" + resolved "https://registry.npmjs.org/@antv/f2/-/f2-3.6.3.tgz#0c80132494977730fe69a9d760082e06540b6475" + integrity sha512-Q6tT4/c0qU0KhJk2j5ywcgvq6MlByayGEYN9gN0WxttgeZeuOoGCN5wHk0jv/DVP5PVMN2tfbERthitwtJZ2lg== + dependencies: + "@antv/adjust" "~0.1.1" + "@antv/scale" "0.1.3" + "@antv/util" "~2.0.6" + "@babel/runtime" "^7.7.7" + hammerjs "^2.0.8" + +"@antv/gl-matrix@^2.7.1": + version "2.7.1" + resolved "https://registry.npmjs.org/@antv/gl-matrix/-/gl-matrix-2.7.1.tgz#acb8e37f7ab3df01345aba4372d7942be42eba14" + integrity sha512-oOWcVNlpELIKi9x+Mm1Vwbz8pXfkbJKykoCIOJ/dNK79hSIANbpXJ5d3Rra9/wZqK6MC961B7sybFhPlLraT3Q== + +"@antv/scale@0.1.3": + version "0.1.3" + resolved "https://registry.npmjs.org/@antv/scale/-/scale-0.1.3.tgz#4876e6140cb7dcda190e7fe2e780882dcac6b09d" + integrity sha512-oknlOg4OUqIh8LygrfQttx+OAnNJm2fQ81si4g8aby1WJJwj/TU1gCr+J3loIpKBtBK4VpP/OzTTqg1Ym67SOQ== + dependencies: + "@antv/util" "~1.3.1" + fecha "~2.3.3" + +"@antv/util@~1.3.1": + version "1.3.1" + resolved "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz#30a34b201ff9126ec0d58c72c8166a9c3e644ccd" + integrity sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA== + dependencies: + "@antv/gl-matrix" "^2.7.1" + +"@antv/util@~2.0.6": + version "2.0.9" + resolved "https://registry.npmjs.org/@antv/util/-/util-2.0.9.tgz#bd3e296a392e11fbe2781fde39d8e70ba1c53ed0" + integrity sha512-JblWzne7msAPDdxkUhEk8zAz0Wd6igKwqymGbvIeyOydGrhBhGjA3nEayFj4IlG+XixCvGFKsCB4yuFS4glRIA== + dependencies: + tslib "^1.10.0" + "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" @@ -756,6 +801,13 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" +"@babel/runtime@^7.7.7": + version "7.9.6" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.6.tgz#a9102eb5cadedf3f31d08a9ecf294af7827ea29f" + integrity sha512-64AF1xY3OAkFHqOb9s4jpgk1Mm5vDZ4L3acHvAml+53nO1XbXLuDodsVpO4OIUsmemlUHMxNdYMNJmsvOwLrvQ== + dependencies: + regenerator-runtime "^0.13.4" + "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2": version "7.9.2" resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz#d90df0583a3a252f09aaa619665367bae518db06" @@ -874,6 +926,11 @@ resolved "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g== +"@types/fastclick@^1.0.29": + version "1.0.29" + resolved "https://registry.npmjs.org/@types/fastclick/-/fastclick-1.0.29.tgz#90f43082848187b42250620f13ec93e32393169b" + integrity sha512-umkMhdAk3dNAenNuhoKPzZUYN9uBHrK8UAvUKWMLst80Gj4BWC1syLuiNzdBzPpM2b2Xg036vvl6X1wiu1Piuw== + "@types/glob@^7.1.1": version "7.1.1" resolved "https://registry.npmjs.org/@types/glob/-/glob-7.1.1.tgz#aa59a1c6e3fbc421e07ccd31a944c30eba521575" @@ -1475,6 +1532,16 @@ arr-union@^3.1.0: resolved "https://registry.npm.taobao.org/arr-union/download/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= +array-filter@^1.0.0: + version "1.0.0" + resolved "https://registry.npm.taobao.org/array-filter/download/array-filter-1.0.0.tgz#baf79e62e6ef4c2a4c0b831232daffec251f9d83" + integrity sha1-uveeYubvTCpMC4MSMtr/7CUfnYM= + +array-find@^1.0.0: + version "1.0.0" + resolved "https://registry.npm.taobao.org/array-find/download/array-find-1.0.0.tgz#6c8e286d11ed768327f8e62ecee87353ca3e78b8" + integrity sha1-bI4obRHtdoMn+OYuzuhzU8o+eLg= + array-flatten@1.1.1: version "1.1.1" resolved "https://registry.npm.taobao.org/array-flatten/download/array-flatten-1.1.1.tgz?cache=0&sync_timestamp=1574313384951&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Farray-flatten%2Fdownload%2Farray-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" @@ -1485,6 +1552,16 @@ array-flatten@^2.1.0: resolved "https://registry.npm.taobao.org/array-flatten/download/array-flatten-2.1.2.tgz?cache=0&sync_timestamp=1574313384951&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Farray-flatten%2Fdownload%2Farray-flatten-2.1.2.tgz#24ef80a28c1a893617e2149b0c6d0d788293b099" integrity sha1-JO+AoowaiTYX4hSbDG0NeIKTsJk= +array-map@^0.0.0: + version "0.0.0" + resolved "https://registry.npm.taobao.org/array-map/download/array-map-0.0.0.tgz#88a2bab73d1cf7bcd5c1b118a003f66f665fa662" + integrity sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI= + +array-shuffle@^1.0.1: + version "1.0.1" + resolved "https://registry.npm.taobao.org/array-shuffle/download/array-shuffle-1.0.1.tgz#7ea4882a356b4bca5f545e0b6e52eaf6d971557a" + integrity sha1-fqSIKjVrS8pfVF4LblLq9tlxVXo= + array-union@^1.0.1, array-union@^1.0.2: version "1.0.2" resolved "https://registry.npm.taobao.org/array-union/download/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" @@ -1586,6 +1663,11 @@ autoprefixer@^9.7.5: postcss "^7.0.27" postcss-value-parser "^4.0.3" +autosize@^3.0.20: + version "3.0.21" + resolved "https://registry.npm.taobao.org/autosize/download/autosize-3.0.21.tgz#f182f40d17757d978a139a4c9ca40c4c0e448603" + integrity sha1-8YL0DRd1fZeKE5pMnKQMTA5EhgM= + aws-sign2@~0.7.0: version "0.7.0" resolved "https://registry.npm.taobao.org/aws-sign2/download/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" @@ -1596,6 +1678,13 @@ aws4@^1.8.0: resolved "https://registry.npm.taobao.org/aws4/download/aws4-1.9.1.tgz#7e33d8f7d449b3f673cd72deb9abdc552dbe528e" integrity sha1-fjPY99RJs/ZzzXLeuavcVS2+Uo4= +axios@^0.15.3: + version "0.15.3" + resolved "https://registry.npm.taobao.org/axios/download/axios-0.15.3.tgz#2c9d638b2e191a08ea1d6cc988eadd6ba5bdc053" + integrity sha1-LJ1jiy4ZGgjqHWzJiOrda6W9wFM= + dependencies: + follow-redirects "1.0.0" + axios@^0.19.2: version "0.19.2" resolved "https://registry.npm.taobao.org/axios/download/axios-0.19.2.tgz#3ea36c5d8818d0d5f8a8a97a6d36b86cdc00cb27" @@ -1729,6 +1818,11 @@ bluebird@^3.1.1, bluebird@^3.5.5: resolved "https://registry.npm.taobao.org/bluebird/download/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha1-nyKcFb4nJFT/qXOs4NvueaGww28= +blueimp-md5@^2.6.0: + version "2.15.0" + resolved "https://registry.npm.taobao.org/blueimp-md5/download/blueimp-md5-2.15.0.tgz?cache=0&sync_timestamp=1588940550383&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fblueimp-md5%2Fdownload%2Fblueimp-md5-2.15.0.tgz#ae945f87ca6c2c11e2562983e11450b0545f9bb3" + integrity sha1-rpRfh8psLBHiVimD4RRQsFRfm7M= + bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: version "4.11.8" resolved "https://registry.npm.taobao.org/bn.js/download/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" @@ -2493,6 +2587,11 @@ cosmiconfig@^5.0.0: js-yaml "^3.13.1" parse-json "^4.0.0" +countup.js@^1.8.1: + version "1.9.3" + resolved "https://registry.npm.taobao.org/countup.js/download/countup.js-1.9.3.tgz#ce3e50cd7160441e478f07da31895edcc0f1c9dd" + integrity sha1-zj5QzXFgRB5HjwfaMYle3MDxyd0= + create-ecdh@^4.0.0: version "4.0.3" resolved "https://registry.npm.taobao.org/create-ecdh/download/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff" @@ -2524,6 +2623,13 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: safe-buffer "^5.0.1" sha.js "^2.4.8" +cross-env@^7.0.2: + version "7.0.2" + resolved "https://registry.npm.taobao.org/cross-env/download/cross-env-7.0.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcross-env%2Fdownload%2Fcross-env-7.0.2.tgz#bd5ed31339a93a3418ac4f3ca9ca3403082ae5f9" + integrity sha1-vV7TEzmpOjQYrE88qco0Awgq5fk= + dependencies: + cross-spawn "^7.0.1" + cross-spawn@^5.0.1: version "5.1.0" resolved "https://registry.npm.taobao.org/cross-spawn/download/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" @@ -2544,7 +2650,7 @@ cross-spawn@^6.0.0: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^7.0.0: +cross-spawn@^7.0.0, cross-spawn@^7.0.1: version "7.0.2" resolved "https://registry.npm.taobao.org/cross-spawn/download/cross-spawn-7.0.2.tgz#d0d7dcfa74e89115c7619f4f721a94e1fdb716d6" integrity sha1-0Nfc+nTokRXHYZ9PchqU4f23FtY= @@ -3417,6 +3523,11 @@ fast-json-stable-stringify@^2.0.0: resolved "https://registry.npm.taobao.org/fast-json-stable-stringify/download/fast-json-stable-stringify-2.1.0.tgz?cache=0&sync_timestamp=1576340291001&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffast-json-stable-stringify%2Fdownload%2Ffast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" integrity sha1-h0v2nG9ATCtdmcSBNBOZ/VWJJjM= +fastclick@^1.0.6: + version "1.0.6" + resolved "https://registry.npm.taobao.org/fastclick/download/fastclick-1.0.6.tgz#161625b27b1a5806405936bda9a2c1926d06be6a" + integrity sha1-FhYlsnsaWAZAWTa9qaLBkm0Gvmo= + faye-websocket@^0.10.0: version "0.10.0" resolved "https://registry.npm.taobao.org/faye-websocket/download/faye-websocket-0.10.0.tgz#4e492f8d04dfb6f89003507f6edbf2d501e7c6f4" @@ -3431,6 +3542,11 @@ faye-websocket@~0.11.1: dependencies: websocket-driver ">=0.5.1" +fecha@~2.3.3: + version "2.3.3" + resolved "https://registry.npm.taobao.org/fecha/download/fecha-2.3.3.tgz#948e74157df1a32fd1b12c3a3c3cdcb6ec9d96cd" + integrity sha1-lI50FX3xoy/RsSw6PDzctuydls0= + figgy-pudding@^3.5.1: version "3.5.2" resolved "https://registry.npm.taobao.org/figgy-pudding/download/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e" @@ -3532,6 +3648,13 @@ flush-write-stream@^1.0.0: inherits "^2.0.3" readable-stream "^2.3.6" +follow-redirects@1.0.0: + version "1.0.0" + resolved "https://registry.npm.taobao.org/follow-redirects/download/follow-redirects-1.0.0.tgz?cache=0&sync_timestamp=1585479417937&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffollow-redirects%2Fdownload%2Ffollow-redirects-1.0.0.tgz#8e34298cbd2e176f254effec75a1c78cc849fd37" + integrity sha1-jjQpjL0uF28lTv/sdaHHjMhJ/Tc= + dependencies: + debug "^2.2.0" + follow-redirects@1.5.10: version "1.5.10" resolved "https://registry.npm.taobao.org/follow-redirects/download/follow-redirects-1.5.10.tgz?cache=0&sync_timestamp=1585479417937&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffollow-redirects%2Fdownload%2Ffollow-redirects-1.5.10.tgz#7b7a9f9aea2fdff36786a94ff643ed07f4ff5e2a" @@ -3786,6 +3909,11 @@ gzip-size@^5.0.0: duplexer "^0.1.1" pify "^4.0.1" +hammerjs@^2.0.8: + version "2.0.8" + resolved "https://registry.npm.taobao.org/hammerjs/download/hammerjs-2.0.8.tgz#04ef77862cff2bb79d30f7692095930222bf60f1" + integrity sha1-BO93hiz/K7edMPdpIJWTAiK/YPE= + handle-thing@^2.0.0: version "2.0.1" resolved "https://registry.npm.taobao.org/handle-thing/download/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" @@ -4814,6 +4942,11 @@ locate-path@^5.0.0: dependencies: p-locate "^4.1.0" +lodash.debounce@^4.0.8: + version "4.0.8" + resolved "https://registry.npm.taobao.org/lodash.debounce/download/lodash.debounce-4.0.8.tgz?cache=0&sync_timestamp=1571657605147&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flodash.debounce%2Fdownload%2Flodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" + integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= + lodash.defaultsdeep@^4.6.1: version "4.6.1" resolved "https://registry.npm.taobao.org/lodash.defaultsdeep/download/lodash.defaultsdeep-4.6.1.tgz#512e9bd721d272d94e3d3a63653fa17516741ca6" @@ -4834,6 +4967,11 @@ lodash.memoize@^4.1.2: resolved "https://registry.npm.taobao.org/lodash.memoize/download/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= +lodash.throttle@^4.1.1: + version "4.1.1" + resolved "https://registry.npm.taobao.org/lodash.throttle/download/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4" + integrity sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ= + lodash.transform@^4.6.0: version "4.6.0" resolved "https://registry.npm.taobao.org/lodash.transform/download/lodash.transform-4.6.0.tgz#12306422f63324aed8483d3f38332b5f670547a0" @@ -5385,7 +5523,7 @@ oauth-sign@~0.9.0: resolved "https://registry.npm.taobao.org/oauth-sign/download/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" integrity sha1-R6ewFrqmi1+g7PPe4IqFxnmsZFU= -object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: +object-assign@>=4.0.1, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.npm.taobao.org/object-assign/download/object-assign-4.1.1.tgz?cache=0&sync_timestamp=1571657171505&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject-assign%2Fdownload%2Fobject-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= @@ -6128,6 +6266,14 @@ postcss-ordered-values@^4.1.2: postcss "^7.0.0" postcss-value-parser "^3.0.0" +postcss-px-to-viewport@^1.1.1: + version "1.1.1" + resolved "https://registry.npm.taobao.org/postcss-px-to-viewport/download/postcss-px-to-viewport-1.1.1.tgz#a25ca410b553c9892cc8b525cc710da47bf1aa55" + integrity sha1-olykELVTyYksyLUlzHENpHvxqlU= + dependencies: + object-assign ">=4.0.1" + postcss ">=5.0.2" + postcss-reduce-initial@^4.0.3: version "4.0.3" resolved "https://registry.npm.taobao.org/postcss-reduce-initial/download/postcss-reduce-initial-4.0.3.tgz#7fd42ebea5e9c814609639e2c2e84ae270ba48df" @@ -6195,6 +6341,15 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.0.2, postcss-value-parser@^ resolved "https://registry.npm.taobao.org/postcss-value-parser/download/postcss-value-parser-4.0.3.tgz?cache=0&sync_timestamp=1582065311556&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-value-parser%2Fdownload%2Fpostcss-value-parser-4.0.3.tgz#651ff4593aa9eda8d5d0d66593a2417aeaeb325d" integrity sha1-ZR/0WTqp7ajV0NZlk6JBeurrMl0= +postcss@>=5.0.2: + version "7.0.29" + resolved "https://registry.npm.taobao.org/postcss/download/postcss-7.0.29.tgz#d3a903872bd52280b83bce38cdc83ce55c06129e" + integrity sha1-06kDhyvVIoC4O844zcg85VwGEp4= + dependencies: + chalk "^2.4.2" + source-map "^0.6.1" + supports-color "^6.1.0" + postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.16, postcss@^7.0.27, postcss@^7.0.5, postcss@^7.0.6: version "7.0.27" resolved "https://registry.npm.taobao.org/postcss/download/postcss-7.0.27.tgz?cache=0&sync_timestamp=1581994853208&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss%2Fdownload%2Fpostcss-7.0.27.tgz#cc67cdc6b0daa375105b7c424a85567345fc54d9" @@ -6329,6 +6484,11 @@ q@^1.1.2: resolved "https://registry.npm.taobao.org/q/download/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= +qr.js@0.0.0: + version "0.0.0" + resolved "https://registry.npm.taobao.org/qr.js/download/qr.js-0.0.0.tgz#cace86386f59a0db8050fa90d9b6b0e88a1e364f" + integrity sha1-ys6GOG9ZoNuAUPqQ2baw6IoeNk8= + qs@6.7.0: version "6.7.0" resolved "https://registry.npm.taobao.org/qs/download/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc" @@ -6828,6 +6988,11 @@ sha.js@^2.4.0, sha.js@^2.4.8: inherits "^2.0.1" safe-buffer "^5.0.1" +shake.js@^1.2.2: + version "1.2.2" + resolved "https://registry.npm.taobao.org/shake.js/download/shake.js-1.2.2.tgz#b2ac560a82abe68d78a029623a7088e1b30bacff" + integrity sha1-sqxWCoKr5o14oCliOnCI4bMLrP8= + shebang-command@^1.2.0: version "1.2.0" resolved "https://registry.npm.taobao.org/shebang-command/download/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" @@ -7785,6 +7950,16 @@ validate-npm-package-license@^3.0.1: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" +validator@^9.3.0: + version "9.4.1" + resolved "https://registry.npm.taobao.org/validator/download/validator-9.4.1.tgz#abf466d398b561cd243050112c6ff1de6cc12663" + integrity sha1-q/Rm05i1Yc0kMFARLG/x3mzBJmM= + +vanilla-masker@^1.2.0: + version "1.2.0" + resolved "https://registry.npm.taobao.org/vanilla-masker/download/vanilla-masker-1.2.0.tgz#c2830e9d994a5fecd2261506477c2707fe589756" + integrity sha1-woMOnZlKX+zSJhUGR3wnB/5Yl1Y= + vary@~1.1.2: version "1.1.2" resolved "https://registry.npm.taobao.org/vary/download/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" @@ -7878,6 +8053,43 @@ vuex@^3.1.3: resolved "https://registry.npm.taobao.org/vuex/download/vuex-3.1.3.tgz#f2ad73e3fb73691698b38c93f66e58e267947180" integrity sha1-8q1z4/tzaRaYs4yT9m5Y4meUcYA= +vux-blazy@^1.6.4: + version "1.6.4" + resolved "https://registry.npm.taobao.org/vux-blazy/download/vux-blazy-1.6.4.tgz#e33073d902e0a3844ef1a463cce3ca2e0aab47bf" + integrity sha1-4zBz2QLgo4RO8aRjzOPKLgqrR78= + +vux-xscroll@^3.1.10: + version "3.1.12" + resolved "https://registry.npm.taobao.org/vux-xscroll/download/vux-xscroll-3.1.12.tgz#e352e7f9dc5f9fee9253db331c967dd56b3bc950" + integrity sha1-41Ln+dxfn+6SU9szHJZ91Ws7yVA= + +vux@^2.9.4: + version "2.9.4" + resolved "https://registry.npm.taobao.org/vux/download/vux-2.9.4.tgz#3964df4f0ac54b3fbf6cc9beb072e44dce00afaa" + integrity sha1-OWTfTwrFSz+/bMm+sHLkTc4Ar6o= + dependencies: + "@antv/f2" "^3.1.4-beta.2" + array-filter "^1.0.0" + array-find "^1.0.0" + array-map "^0.0.0" + array-shuffle "^1.0.1" + autosize "^3.0.20" + axios "^0.15.3" + big.js "^3.1.3" + blueimp-md5 "^2.6.0" + countup.js "^1.8.1" + fastclick "^1.0.6" + lodash.debounce "^4.0.8" + lodash.throttle "^4.1.1" + object-assign "^4.1.0" + qr.js "0.0.0" + shake.js "^1.2.2" + validator "^9.3.0" + vanilla-masker "^1.2.0" + vux-blazy "^1.6.4" + vux-xscroll "^3.1.10" + x-photoswipe "^4.1.3-rc.1" + watchpack@^1.6.0: version "1.6.1" resolved "https://registry.npm.taobao.org/watchpack/download/watchpack-1.6.1.tgz#280da0a8718592174010c078c7585a74cd8cd0e2" @@ -8113,6 +8325,11 @@ ws@~6.1.0: dependencies: async-limiter "~1.0.0" +x-photoswipe@^4.1.3-rc.1: + version "4.1.3-rc.1" + resolved "https://registry.npm.taobao.org/x-photoswipe/download/x-photoswipe-4.1.3-rc.1.tgz#e761901752dd3dd1f718e538514b609b5df5f7db" + integrity sha1-52GQF1LdPdH3GOU4UUtgm13199s= + xmlhttprequest-ssl@~1.5.4: version "1.5.5" resolved "https://registry.npm.taobao.org/xmlhttprequest-ssl/download/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e" diff --git a/database/comand_record.sql b/database/comand_record.sql deleted file mode 100644 index 73df8b8..0000000 --- a/database/comand_record.sql +++ /dev/null @@ -1,41 +0,0 @@ -/* -Navicat MySQL Data Transfer - -Source Server : test -Source Server Version : 50077 -Source Host : localhost:3306 -Source Database : poker - -Target Server Type : MYSQL -Target Server Version : 50077 -File Encoding : 65001 - -Date: 2020-04-17 23:05:30 -*/ - -SET FOREIGN_KEY_CHECKS=0; - --- ---------------------------- --- Table structure for comand_record --- ---------------------------- -DROP TABLE IF EXISTS `comand_record`; -CREATE TABLE `comand_record` ( - `id` int(11) NOT NULL auto_increment, - `user_id` int(11) default NULL, - `game_id` int(11) default NULL, - `type` text, - `comand` text, - `room_id` int(11) default NULL, - `create_time` timestamp NOT NULL default CURRENT_TIMESTAMP, - `update_time` datetime default NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- ---------------------------- --- Records of comand_record --- ---------------------------- -DROP TRIGGER IF EXISTS `update_comand_record_time`; -DELIMITER ;; -CREATE TRIGGER `update_comand_record_time` BEFORE UPDATE ON `comand_record` FOR EACH ROW SET NEW.`UPDATE_TIME` = NOW() -;; -DELIMITER ; diff --git a/database/game.sql b/database/game.sql deleted file mode 100644 index 1adc228..0000000 --- a/database/game.sql +++ /dev/null @@ -1,41 +0,0 @@ -/* -Navicat MySQL Data Transfer - -Source Server : test -Source Server Version : 50077 -Source Host : localhost:3306 -Source Database : poker - -Target Server Type : MYSQL -Target Server Version : 50077 -File Encoding : 65001 - -Date: 2020-04-17 23:05:17 -*/ - -SET FOREIGN_KEY_CHECKS=0; - --- ---------------------------- --- Table structure for game --- ---------------------------- -DROP TABLE IF EXISTS `game`; -CREATE TABLE `game` ( - `id` int(11) NOT NULL auto_increment, - `room_id` int(11) default NULL, - `status` int(11) default NULL, - `common_card` text, - `winners` varchar(255) default NULL, - `pot` decimal(8,0) default NULL, - `create_time` timestamp NOT NULL default CURRENT_TIMESTAMP, - `update_time` datetime default NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- ---------------------------- --- Records of game --- ---------------------------- -DROP TRIGGER IF EXISTS `update_game_time`; -DELIMITER ;; -CREATE TRIGGER `update_game_time` BEFORE UPDATE ON `game` FOR EACH ROW SET NEW.`UPDATE_TIME` = NOW() -;; -DELIMITER ; diff --git a/database/game_record.sql b/database/game_record.sql deleted file mode 100644 index 23deeac..0000000 --- a/database/game_record.sql +++ /dev/null @@ -1,41 +0,0 @@ -/* -Navicat MySQL Data Transfer - -Source Server : test -Source Server Version : 50077 -Source Host : localhost:3306 -Source Database : poker - -Target Server Type : MYSQL -Target Server Version : 50077 -File Encoding : 65001 - -Date: 2020-04-17 23:05:40 -*/ - -SET FOREIGN_KEY_CHECKS=0; - --- ---------------------------- --- Table structure for game_record --- ---------------------------- -DROP TABLE IF EXISTS `game_record`; -CREATE TABLE `game_record` ( - `id` int(11) NOT NULL auto_increment, - `game_id` int(11) default NULL, - `room_number` int(11) default NULL, - `buy_in` int(11) NOT NULL, - `hand_card` varchar(25) default NULL, - `user_id` int(11) default NULL, - `create_time` timestamp NOT NULL default CURRENT_TIMESTAMP, - `update_time` datetime default NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- ---------------------------- --- Records of game_record --- ---------------------------- -DROP TRIGGER IF EXISTS `update_game_record_time`; -DELIMITER ;; -CREATE TRIGGER `update_game_record_time` BEFORE UPDATE ON `game_record` FOR EACH ROW SET NEW.`UPDATE_TIME` = NOW() -;; -DELIMITER ; diff --git a/database/poker.sql b/database/poker.sql new file mode 100755 index 0000000..8f36281 --- /dev/null +++ b/database/poker.sql @@ -0,0 +1,118 @@ +/* +Navicat MySQL Data Transfer + +Source Server : test11 +Source Server Version : 50639 +Source Host : 47.104.172.100:3306 +Source Database : poker + +Target Server Type : MYSQL +Target Server Version : 50639 +File Encoding : 65001 + +Date: 2020-07-08 15:11:08 +*/ + +SET FOREIGN_KEY_CHECKS=0; + +-- ---------------------------- +-- Table structure for command_record +-- ---------------------------- +DROP TABLE IF EXISTS `command_record`; +CREATE TABLE `command_record` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `userId` int(11) DEFAULT NULL, + `gameId` int(11) DEFAULT NULL, + `type` text, + `gameStatus` int(11) DEFAULT NULL, + `counter` int(11) DEFAULT NULL, + `command` text, + `commonCard` text, + `pot` int(11) DEFAULT NULL, + `roomNumber` int(11) DEFAULT NULL, + `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + `update_time` datetime DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=26259 DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for game +-- ---------------------------- +DROP TABLE IF EXISTS `game`; +CREATE TABLE `game` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `roomNumber` int(11) DEFAULT NULL, + `status` int(11) DEFAULT NULL, + `commonCard` text, + `winners` text CHARACTER SET utf8, + `pot` decimal(8,0) DEFAULT NULL, + `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + `update_time` datetime DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=2546 DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for player +-- ---------------------------- +DROP TABLE IF EXISTS `player`; +CREATE TABLE `player` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `gameId` int(11) DEFAULT NULL, + `roomNumber` int(11) DEFAULT NULL, + `buyIn` int(11) NOT NULL, + `handCard` varchar(25) DEFAULT NULL, + `counter` int(11) DEFAULT NULL, + `userId` int(11) DEFAULT NULL, + `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + `update_time` datetime DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=7440 DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for room +-- ---------------------------- +DROP TABLE IF EXISTS `room`; +CREATE TABLE `room` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `smallBlind` int(11) DEFAULT NULL, + `isShort` int(11) DEFAULT NULL, + `time` int(11) DEFAULT NULL, + `roomNumber` text CHARACTER SET latin1, + `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + `update_time` datetime DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=351 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for user +-- ---------------------------- +DROP TABLE IF EXISTS `user`; +CREATE TABLE `user` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `nickName` char(25) CHARACTER SET utf8 DEFAULT NULL, + `password` char(25) DEFAULT NULL, + `account` char(25) CHARACTER SET utf8 DEFAULT NULL, + `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + `update_time` datetime DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=latin1; +DROP TRIGGER IF EXISTS `update_comand_record_time`; +DELIMITER ;; +CREATE TRIGGER `update_comand_record_time` BEFORE UPDATE ON `command_record` FOR EACH ROW SET NEW.`UPDATE_TIME` = NOW() +;; +DELIMITER ; +DROP TRIGGER IF EXISTS `update_game_time`; +DELIMITER ;; +CREATE TRIGGER `update_game_time` BEFORE UPDATE ON `game` FOR EACH ROW SET NEW.`UPDATE_TIME` = NOW() +;; +DELIMITER ; +DROP TRIGGER IF EXISTS `update_game_record_time`; +DELIMITER ;; +CREATE TRIGGER `update_game_record_time` BEFORE UPDATE ON `player` FOR EACH ROW SET NEW.`UPDATE_TIME` = NOW() +;; +DELIMITER ; +DROP TRIGGER IF EXISTS `update_user_time`; +DELIMITER ;; +CREATE TRIGGER `update_user_time` BEFORE UPDATE ON `user` FOR EACH ROW SET NEW.`UPDATE_TIME` = NOW() +;; +DELIMITER ; diff --git a/database/room.sql b/database/room.sql deleted file mode 100644 index 5c42d0b..0000000 --- a/database/room.sql +++ /dev/null @@ -1,52 +0,0 @@ -/* -Navicat MySQL Data Transfer - -Source Server : test -Source Server Version : 50077 -Source Host : localhost:3306 -Source Database : poker - -Target Server Type : MYSQL -Target Server Version : 50077 -File Encoding : 65001 - -Date: 2020-04-17 23:05:49 -*/ - -SET FOREIGN_KEY_CHECKS=0; - --- ---------------------------- --- Table structure for room --- ---------------------------- -DROP TABLE IF EXISTS `room`; -CREATE TABLE `room` ( - `id` int(11) NOT NULL auto_increment, - `room_number` text, - `create_time` timestamp NOT NULL default CURRENT_TIMESTAMP, - `update_time` datetime default NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1; - --- ---------------------------- --- Records of room --- ---------------------------- -INSERT INTO `room` VALUES ('1', '522687', '2020-04-01 15:33:32', null); -INSERT INTO `room` VALUES ('2', '145519', '2020-04-01 16:58:53', null); -INSERT INTO `room` VALUES ('3', '354507', '2020-04-01 17:35:32', null); -INSERT INTO `room` VALUES ('4', '973599', '2020-04-02 17:09:52', null); -INSERT INTO `room` VALUES ('5', '338302', '2020-04-02 17:12:39', null); -INSERT INTO `room` VALUES ('6', '739937', '2020-04-16 16:33:43', null); -INSERT INTO `room` VALUES ('7', '604560', '2020-04-16 16:35:35', null); -INSERT INTO `room` VALUES ('8', '205826', '2020-04-17 09:57:41', null); -INSERT INTO `room` VALUES ('9', '507003', '2020-04-17 13:51:25', null); -INSERT INTO `room` VALUES ('10', '633228', '2020-04-17 13:55:04', null); -INSERT INTO `room` VALUES ('11', '719376', '2020-04-17 15:06:55', null); -INSERT INTO `room` VALUES ('12', '516433', '2020-04-17 16:08:29', null); -INSERT INTO `room` VALUES ('13', '991922', '2020-04-17 16:20:18', null); -INSERT INTO `room` VALUES ('14', '346124', '2020-04-17 16:20:52', null); -INSERT INTO `room` VALUES ('15', '261855', '2020-04-17 17:29:38', null); -DROP TRIGGER IF EXISTS `update_room_time`; -DELIMITER ;; -CREATE TRIGGER `update_room_time` BEFORE UPDATE ON `room` FOR EACH ROW SET NEW.`UPDATE_TIME` = NOW() -;; -DELIMITER ; diff --git a/database/user.sql b/database/user.sql deleted file mode 100644 index b4c3cdc..0000000 --- a/database/user.sql +++ /dev/null @@ -1,42 +0,0 @@ -/* -Navicat MySQL Data Transfer - -Source Server : test -Source Server Version : 50077 -Source Host : localhost:3306 -Source Database : poker - -Target Server Type : MYSQL -Target Server Version : 50077 -File Encoding : 65001 - -Date: 2020-04-17 23:05:58 -*/ - -SET FOREIGN_KEY_CHECKS=0; - --- ---------------------------- --- Table structure for user --- ---------------------------- -DROP TABLE IF EXISTS `user`; -CREATE TABLE `user` ( - `id` int(11) NOT NULL auto_increment, - `nick_name` char(25) character set utf8 default NULL, - `password` char(25) default NULL, - `account` char(25) default NULL, - `create_time` timestamp NOT NULL default CURRENT_TIMESTAMP, - `update_time` datetime default NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; - --- ---------------------------- --- Records of user --- ---------------------------- -INSERT INTO `user` VALUES ('1', 'c', '123', 'cai', '2020-04-01 16:26:32', null); -INSERT INTO `user` VALUES ('2', '蔡', '123', 'cai111', '2020-04-01 16:28:17', null); -INSERT INTO `user` VALUES ('3', '蔡1', '123', 'cai11', '2020-04-01 16:29:43', null); -DROP TRIGGER IF EXISTS `update_user_time`; -DELIMITER ;; -CREATE TRIGGER `update_user_time` BEFORE UPDATE ON `user` FOR EACH ROW SET NEW.`UPDATE_TIME` = NOW() -;; -DELIMITER ; diff --git a/game b/game new file mode 100644 index 0000000..35bccab Binary files /dev/null and b/game differ diff --git a/gif/demo1.gif b/gif/demo1.gif new file mode 100644 index 0000000..8b43678 Binary files /dev/null and b/gif/demo1.gif differ diff --git a/gif/demo2.gif b/gif/demo2.gif new file mode 100644 index 0000000..3601eb0 Binary files /dev/null and b/gif/demo2.gif differ diff --git a/gif/demo3.gif b/gif/demo3.gif new file mode 100644 index 0000000..505c53b Binary files /dev/null and b/gif/demo3.gif differ diff --git a/gif/demo4.gif b/gif/demo4.gif new file mode 100644 index 0000000..1dd7ac4 Binary files /dev/null and b/gif/demo4.gif differ diff --git a/server/.idea/.gitignore b/server/.idea/.gitignore new file mode 100644 index 0000000..5c98b42 --- /dev/null +++ b/server/.idea/.gitignore @@ -0,0 +1,2 @@ +# Default ignored files +/workspace.xml \ No newline at end of file diff --git a/server/.idea/codeStyles/Project.xml b/server/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..7158af5 --- /dev/null +++ b/server/.idea/codeStyles/Project.xml @@ -0,0 +1,66 @@ + + + + \ No newline at end of file diff --git a/server/.idea/codeStyles/codeStyleConfig.xml b/server/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..79ee123 --- /dev/null +++ b/server/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/server/.idea/inspectionProfiles/Project_Default.xml b/server/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..df7825d --- /dev/null +++ b/server/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/server/.idea/misc.xml b/server/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/server/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/server/.idea/modules.xml b/server/.idea/modules.xml new file mode 100644 index 0000000..fbd90b4 --- /dev/null +++ b/server/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/server/.idea/server.iml b/server/.idea/server.iml new file mode 100644 index 0000000..c956989 --- /dev/null +++ b/server/.idea/server.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/server/.idea/vcs.xml b/server/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/server/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/server/README.md b/server/README.md index 290b2a4..3794e31 100644 --- a/server/README.md +++ b/server/README.md @@ -1,58 +1,106 @@ -# poke-game-center +poke-game-center +================ +> pokeGame server,base on TypeScript,midway,node,mysql,redis -pokeGame服务中心 +### Setup +See: [egg document][eggjs], [midway document][midway]。 -## 快速入门 -详细文档,参见 [egg 文档][eggjs], [midway 文档][midway]。 +- Redis for game room +``` +// config.default + config.redis = { + client: { + port: 6379, + host: '127.0.0.1', + password: '123456', + db: 0, + }, + }; -### 安装 启动 +``` +- DataBase +> Mysql +``` +// config.default + config.mysql = { + client: { + // mysql host + host: '', + // pot + port: '3306', + // userName + user: 'root', + // password + password: '', + // database name + database: 'poker', + }, + app: true, + agent: false, + }; + +``` +- Install ```bash $ yarn $ yarn dev $ open http://localhost:7001/ ``` -### 部署 +### Deploy ```bash $ npm start $ npm stop ``` -### 单元测试 +### Test ``` yarn test ``` -- 具体参见 [midway 文档 - 单元测试](https://eggjs.org/zh-cn/core/unittest)。 +- See [midway document - test](https://eggjs.org/zh-cn/core/unittest)。 -### 目录结构 +### Project structure ``` ├─dist ├─logs -│ ├─ELKLog //上报kibana日志系统log +│ ├─ELKLog // report log | | ├─info.log | | └─error.log -│ └─node-loan-center // 系统日志 +│ └─node-loan-center // system log ├─node_modules -├─src //开发目录 +├─src │ ├─app -│ │ ├─controller +│ │ ├─controller // http controller +│ │ ├─core // poker core code +| | | ├─Player.ts // game player class +| | | ├─Poker.ts // poker class, get random poker cards +| | | ├─PokerGame.ts // poker game Class +│ │ │ └─PokerStyle.ts // Contrast poker style and all TexasPoker style │ │ ├─extend │ │ ├─helper -│ │ ├─middleware -│ │ └─public // 静态目录 -│ ├─config // 配置文件目录,包含test,prod,local等config文件 -│ ├─interface // ts接口目录 -│ ├─lib // 工具类目录,如基类 -│ └─service -└─test // 单元测试用例目录 +│ │ ├─io +│ │ │ ├─controller // socket.io controller +│ │ │ └─middleware //do auth, join, leave middleware +│ │ ├─middleware // http middleware +│ │ └─public // client +│ ├─config // system base config +│ ├─interface +│ │ └─service +│ ├─lib +│ ├─service // http service +│ └─utils // some tools +└─test // test case └─app └─controller ``` - + [midway]: https://midwayjs.org [git-rules]: https://confluence.sui.work/pages/viewpage.action?pageId=51120607 [eggjs]: https://eggjs.org/zh-cn/ + +## License +The MIT License (MIT) diff --git a/server/logs/ELKLog/error.log b/server/logs/ELKLog/error.log deleted file mode 100644 index 16b7d3f..0000000 --- a/server/logs/ELKLog/error.log +++ /dev/null @@ -1,12 +0,0 @@ -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:24:57","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:24:57","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:25:31","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:25:31","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:29:30","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:29:30","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:30:16","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:30:16","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:30:16","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:30:16","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:41:54","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:41:54","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:42:28","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:42:28","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:43:02","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:43:02","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:54:28","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:54:28","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 01:00:54","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 01:00:54","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 01:02:44","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 01:02:44","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 01:03:02","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 01:03:02","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} diff --git a/server/logs/ELKLog/error.log.2020-04-17 b/server/logs/ELKLog/error.log.2020-04-17 deleted file mode 100755 index e69de29..0000000 diff --git a/server/logs/ELKLog/error.log.2020-04-18 b/server/logs/ELKLog/error.log.2020-04-18 deleted file mode 100644 index fb02cd4..0000000 --- a/server/logs/ELKLog/error.log.2020-04-18 +++ /dev/null @@ -1,26 +0,0 @@ -{"pid":40142,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 00:04:46","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"invalid token...","requestTime":"2020-04-18 00:04:46","stack":{"name":"UnauthorizedError","message":"No authorization token was found","code":"credentials_required","status":401,"inner":{"message":"No authorization token was found"}},"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44297,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:38:09","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"login service error:","requestTime":"2020-04-18 17:38:09","stack":{"errorno":"ETIMEDOUT","code":"ETIMEDOUT","syscall":"connect","fatal":true},"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44297,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:38:09","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"login-----:","requestTime":"2020-04-18 17:38:09","stack":{"errorno":"ETIMEDOUT","code":"ETIMEDOUT","syscall":"connect","fatal":true},"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44297,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:38:17","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"login service error:","requestTime":"2020-04-18 17:38:17","stack":{"code":"PROTOCOL_SEQUENCE_TIMEOUT","fatal":true,"timeout":10000},"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44297,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:38:17","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"login-----:","requestTime":"2020-04-18 17:38:17","stack":{"code":"PROTOCOL_SEQUENCE_TIMEOUT","fatal":true,"timeout":10000},"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44714,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 18:15:32","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 18:15:32","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44714,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 18:17:04","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 18:17:04","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44850,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 18:39:31","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 18:39:31","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45196,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:17:48","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"connect ETIMEDOUT","requestTime":"2020-04-18 21:17:48","stack":"Error: connect ETIMEDOUT\n at PoolConnection.Connection._handleConnectTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:409:13)\n at Object.onceWrapper (events.js:417:28)\n at Socket.emit (events.js:311:20)\n at Socket._onTimeout (net.js:478:8)\n at listOnTimeout (internal/timers.js:549:17)\n at processTimers (internal/timers.js:492:7)\n --------------------\n at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48)\n at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23)\n at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18)\n at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n at new Promise ()\n at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10)\n at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34)\n at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n sql: select now() as currentTime;","total":null,"requestBody":{},"method":""} -{"pid":45220,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:18:28","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"connect ETIMEDOUT","requestTime":"2020-04-18 21:18:28","stack":"Error: connect ETIMEDOUT\n at PoolConnection.Connection._handleConnectTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:409:13)\n at Object.onceWrapper (events.js:417:28)\n at Socket.emit (events.js:311:20)\n at Socket._onTimeout (net.js:478:8)\n at listOnTimeout (internal/timers.js:549:17)\n at processTimers (internal/timers.js:492:7)\n --------------------\n at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48)\n at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23)\n at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18)\n at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n at new Promise ()\n at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10)\n at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34)\n at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n sql: select now() as currentTime;","total":null,"requestBody":{},"method":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:36","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:36","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:36","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:36","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:36","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:36","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:36","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:36","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:36","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:36","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:36","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:36","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:41","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:41","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:45","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:45","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:20:17","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:20:17","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:22:53","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:22:53","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:23:04","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:23:04","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45291,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:26:20","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:26:20","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45375,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:31:30","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:31:30","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45375,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:32:39","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:32:39","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45521,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 22:59:40","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 22:59:40","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45521,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 23:00:07","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 23:00:07","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} diff --git a/server/logs/ELKLog/error.log.2020-04-20 b/server/logs/ELKLog/error.log.2020-04-20 deleted file mode 100644 index 78a4ee4..0000000 --- a/server/logs/ELKLog/error.log.2020-04-20 +++ /dev/null @@ -1,2 +0,0 @@ -{"pid":47679,"nodeVersion":"v12.16.1","launchTime":"2020-04-20 23:28:25","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-20 23:28:25","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":47679,"nodeVersion":"v12.16.1","launchTime":"2020-04-20 23:29:42","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-20 23:29:42","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} diff --git a/server/logs/ELKLog/error.log.2020-04-29 b/server/logs/ELKLog/error.log.2020-04-29 deleted file mode 100644 index b2b2e06..0000000 --- a/server/logs/ELKLog/error.log.2020-04-29 +++ /dev/null @@ -1,31 +0,0 @@ -{"pid":48633,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:28:45","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-21 00:28:45","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":49495,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 23:04:55","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-21 23:04:55","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":49588,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 23:40:05","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"game already paling","requestTime":"2020-04-21 23:40:05","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":51857,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:38:24","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"Handshake inactivity timeout","requestTime":"2020-04-22 23:38:24","stack":"Error: Handshake inactivity timeout\n at Handshake. (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:160:17)\n at Handshake.emit (events.js:311:20)\n at Handshake._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8)\n at Timer._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Timer.js:32:23)\n at listOnTimeout (internal/timers.js:549:17)\n at processTimers (internal/timers.js:492:7)\n --------------------\n at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48)\n at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23)\n at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18)\n at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n at new Promise ()\n at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10)\n at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34)\n at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n sql: select now() as currentTime;","total":null,"requestBody":{},"method":""} -{"pid":51873,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:39:39","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-22 23:39:39","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":51873,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:43:45","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"game already paling","requestTime":"2020-04-22 23:43:45","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 21:24:57","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-23 21:24:57","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 21:25:02","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-23 21:25:02","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 21:25:04","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-23 21:25:04","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 22:41:00","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-23 22:41:00","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":56936,"nodeVersion":"v12.16.1","launchTime":"2020-04-27 22:23:31","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-27 22:23:31","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":56936,"nodeVersion":"v12.16.1","launchTime":"2020-04-27 22:23:31","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-27 22:23:31","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":56936,"nodeVersion":"v12.16.1","launchTime":"2020-04-27 22:23:31","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-27 22:23:31","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":56936,"nodeVersion":"v12.16.1","launchTime":"2020-04-27 22:23:31","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-27 22:23:31","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57542,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:26:49","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"Handshake inactivity timeout","requestTime":"2020-04-28 23:26:49","stack":"Error: Handshake inactivity timeout\n at Handshake. (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:160:17)\n at Handshake.emit (events.js:311:20)\n at Handshake._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8)\n at Timer._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Timer.js:32:23)\n at listOnTimeout (internal/timers.js:549:17)\n at processTimers (internal/timers.js:492:7)\n --------------------\n at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48)\n at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23)\n at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18)\n at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n at new Promise ()\n at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10)\n at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34)\n at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n sql: select now() as currentTime;","total":null,"requestBody":{},"method":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:32:03","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-28 23:32:03","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:32:05","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-28 23:32:05","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:32:12","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-28 23:32:12","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:32:14","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-28 23:32:14","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:32:16","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-28 23:32:16","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:33:03","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"player not enough","requestTime":"2020-04-28 23:33:03","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":59295,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:34:52","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"player not enough","requestTime":"2020-04-28 23:34:52","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":59320,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:37:18","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"player not enough","requestTime":"2020-04-28 23:37:18","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":59664,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 00:30:16","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 00:30:16","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":59664,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 00:30:16","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 00:30:16","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 23:17:55","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 23:17:55","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 23:18:03","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 23:18:03","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 23:18:45","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 23:18:45","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 23:20:25","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 23:20:25","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 23:37:21","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 23:37:21","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 23:45:40","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 23:45:40","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} diff --git a/server/logs/ELKLog/info.log b/server/logs/ELKLog/info.log deleted file mode 100644 index 16b7d3f..0000000 --- a/server/logs/ELKLog/info.log +++ /dev/null @@ -1,12 +0,0 @@ -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:24:57","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:24:57","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:25:31","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:25:31","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:29:30","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:29:30","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:30:16","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:30:16","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:30:16","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:30:16","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:41:54","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:41:54","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:42:28","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:42:28","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:43:02","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:43:02","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 00:54:28","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 00:54:28","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 01:00:54","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 01:00:54","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 01:02:44","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 01:02:44","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-30 01:03:02","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-30 01:03:02","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} diff --git a/server/logs/ELKLog/info.log.2020-04-17 b/server/logs/ELKLog/info.log.2020-04-17 deleted file mode 100755 index e69de29..0000000 diff --git a/server/logs/ELKLog/info.log.2020-04-18 b/server/logs/ELKLog/info.log.2020-04-18 deleted file mode 100644 index 9fc6ebd..0000000 --- a/server/logs/ELKLog/info.log.2020-04-18 +++ /dev/null @@ -1,58 +0,0 @@ -{"pid":40142,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 00:04:46","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"invalid token...","requestTime":"2020-04-18 00:04:46","stack":{"name":"UnauthorizedError","message":"No authorization token was found","code":"credentials_required","status":401,"inner":{"message":"No authorization token was found"}},"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":40798,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 00:12:18","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIn0sImlhdCI6MTU4NzEzOTkzOCwiZXhwIjoxNTg3MTQzNTM4fQ.aL3aknVO4tyA2cVOcTCrJKIgE1f-Ghon6gTE6K_pYgw","requestTime":"2020-04-18 00:12:18","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":40798,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 00:12:18","osUser":"root","osUid":0,"fetchConsumeTime":329,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-18 00:12:18","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":40798,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 00:12:21","osUser":"root","osUid":0,"fetchConsumeTime":96,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-18 00:12:21","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":40798,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 00:12:53","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MTM5OTczLCJleHAiOjE1ODcxNDM1NzN9.ylMZwcO3zJBv0cEiCzqUN5kbMlg0XZMC-x9x2Q_Oh14","requestTime":"2020-04-18 00:12:53","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":40798,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 00:12:53","osUser":"root","osUid":0,"fetchConsumeTime":203,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-18 00:12:53","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"} -{"pid":44297,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:38:09","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"login service error:","requestTime":"2020-04-18 17:38:09","stack":{"errorno":"ETIMEDOUT","code":"ETIMEDOUT","syscall":"connect","fatal":true},"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44297,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:38:09","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"login-----:","requestTime":"2020-04-18 17:38:09","stack":{"errorno":"ETIMEDOUT","code":"ETIMEDOUT","syscall":"connect","fatal":true},"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44297,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:38:09","osUser":"root","osUid":0,"fetchConsumeTime":10024,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-18 17:38:09","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":44297,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:38:17","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"login service error:","requestTime":"2020-04-18 17:38:17","stack":{"code":"PROTOCOL_SEQUENCE_TIMEOUT","fatal":true,"timeout":10000},"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44297,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:38:17","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"login-----:","requestTime":"2020-04-18 17:38:17","stack":{"code":"PROTOCOL_SEQUENCE_TIMEOUT","fatal":true,"timeout":10000},"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44297,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:38:17","osUser":"root","osUid":0,"fetchConsumeTime":18320,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-18 17:38:17","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":44297,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:39:30","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIn0sImlhdCI6MTU4NzIwMjc3MCwiZXhwIjoxNTg3MjA2MzcwfQ.8Pf5WDBNIU9FCPEJmOoOLzbFEYkM_FMg-Z0IeyRfssc","requestTime":"2020-04-18 17:39:30","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44297,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:39:30","osUser":"root","osUid":0,"fetchConsumeTime":7453,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-18 17:39:30","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":44297,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:39:37","osUser":"root","osUid":0,"fetchConsumeTime":129,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-18 17:39:37","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":44297,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:40:03","osUser":"root","osUid":0,"fetchConsumeTime":849,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-18 17:40:03","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":44671,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 17:56:13","osUser":"root","osUid":0,"fetchConsumeTime":95,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-18 17:56:13","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":44714,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 18:15:32","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 18:15:32","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44714,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 18:17:04","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 18:17:04","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44714,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 18:17:49","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIn0sImlhdCI6MTU4NzIwNTA2OSwiZXhwIjoxNTg3MjA4NjY5fQ.utpvl1Ub8OtCOOibSffU1R_5ooYbyha-tS-ng-VYmpA","requestTime":"2020-04-18 18:17:49","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44714,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 18:17:49","osUser":"root","osUid":0,"fetchConsumeTime":189,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-18 18:17:49","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":44714,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 18:17:52","osUser":"root","osUid":0,"fetchConsumeTime":98,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-18 18:17:52","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":44801,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 18:23:02","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM","requestTime":"2020-04-18 18:23:02","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":44801,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 18:23:02","osUser":"root","osUid":0,"fetchConsumeTime":196,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-18 18:23:02","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"} -{"pid":44850,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 18:39:31","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 18:39:31","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45196,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:17:48","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"connect ETIMEDOUT","requestTime":"2020-04-18 21:17:48","stack":"Error: connect ETIMEDOUT\n at PoolConnection.Connection._handleConnectTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:409:13)\n at Object.onceWrapper (events.js:417:28)\n at Socket.emit (events.js:311:20)\n at Socket._onTimeout (net.js:478:8)\n at listOnTimeout (internal/timers.js:549:17)\n at processTimers (internal/timers.js:492:7)\n --------------------\n at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48)\n at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23)\n at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18)\n at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n at new Promise ()\n at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10)\n at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34)\n at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n sql: select now() as currentTime;","total":null,"requestBody":{},"method":""} -{"pid":45220,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:18:28","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"connect ETIMEDOUT","requestTime":"2020-04-18 21:18:28","stack":"Error: connect ETIMEDOUT\n at PoolConnection.Connection._handleConnectTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:409:13)\n at Object.onceWrapper (events.js:417:28)\n at Socket.emit (events.js:311:20)\n at Socket._onTimeout (net.js:478:8)\n at listOnTimeout (internal/timers.js:549:17)\n at processTimers (internal/timers.js:492:7)\n --------------------\n at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48)\n at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23)\n at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18)\n at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n at new Promise ()\n at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10)\n at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34)\n at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n sql: select now() as currentTime;","total":null,"requestBody":{},"method":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:36","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:36","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:36","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:36","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:36","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:36","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:36","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:36","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:36","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:36","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:36","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:36","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:41","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:41","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:45","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:19:45","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:56","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcl9pZCI6MX0sImlhdCI6MTU4NzIxNTk5NiwiZXhwIjoxNTg3MjE5NTk2fQ.dMbLMKURLqHVPMZU3DJJWdhecFKH_CzHm-uEMRl6PXU","requestTime":"2020-04-18 21:19:56","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:56","osUser":"root","osUid":0,"fetchConsumeTime":199,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-18 21:19:56","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:19:58","osUser":"root","osUid":0,"fetchConsumeTime":92,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-18 21:19:58","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:20:17","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:20:17","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:20:29","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VyX2lkIjozfSwiaWF0IjoxNTg3MjE2MDI5LCJleHAiOjE1ODcyMTk2Mjl9.YMj4yujsyMGM1F-HSIxsToG7t_G8VTij51kuNk0qi1w","requestTime":"2020-04-18 21:20:29","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:20:29","osUser":"root","osUid":0,"fetchConsumeTime":185,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-18 21:20:29","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:22:53","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:22:53","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45257,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:23:04","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:23:04","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45291,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:26:20","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:26:20","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45375,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:31:30","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:31:30","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45375,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:32:39","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 21:32:39","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45461,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:51:10","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3MjE3ODcwLCJleHAiOjE1ODcyMjE0NzB9.alAVu9D5_H5J_sNQtQwtaAPKreVeVNRVXSh-sNjFIZA","requestTime":"2020-04-18 21:51:10","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45461,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:51:10","osUser":"root","osUid":0,"fetchConsumeTime":205,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-18 21:51:10","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":45461,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:51:25","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODcyMTc4ODUsImV4cCI6MTU4NzIyMTQ4NX0.7AOgMsqQqCWgbY9ca9RPrFgtEEJf0_aTFbOsJFej_Oo","requestTime":"2020-04-18 21:51:25","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45461,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:51:25","osUser":"root","osUid":0,"fetchConsumeTime":195,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-18 21:51:25","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"} -{"pid":45461,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:51:27","osUser":"root","osUid":0,"fetchConsumeTime":102,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-18 21:51:27","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":45506,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:58:52","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3MjE4MzMyLCJleHAiOjE1ODcyMjE5MzJ9.UsxrDW65P8IS8At_1Hr9VxU4F1ttjW4wGA_tWoqhGdk","requestTime":"2020-04-18 21:58:52","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45506,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:58:52","osUser":"root","osUid":0,"fetchConsumeTime":195,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-18 21:58:52","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":45506,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:59:20","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODcyMTgzNjAsImV4cCI6MTU4NzIyMTk2MH0.-RXsh2rGbQqknxH7Xm_JDoEAQNNW9NpsYIeJxgS9vdI","requestTime":"2020-04-18 21:59:20","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45506,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:59:20","osUser":"root","osUid":0,"fetchConsumeTime":185,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-18 21:59:20","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"} -{"pid":45506,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 21:59:22","osUser":"root","osUid":0,"fetchConsumeTime":95,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-18 21:59:22","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":45521,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 22:59:40","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 22:59:40","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":45521,"nodeVersion":"v12.16.1","launchTime":"2020-04-18 23:00:07","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-18 23:00:07","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} diff --git a/server/logs/ELKLog/info.log.2020-04-20 b/server/logs/ELKLog/info.log.2020-04-20 deleted file mode 100644 index 0eb9b9c..0000000 --- a/server/logs/ELKLog/info.log.2020-04-20 +++ /dev/null @@ -1,9 +0,0 @@ -{"pid":47679,"nodeVersion":"v12.16.1","launchTime":"2020-04-20 23:27:54","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3Mzk2NDc0LCJleHAiOjE1ODc0MTgwNzR9.MKPJhjEZmoD5AnxAeY3UebP_4ZaHbwTpnue-KNRxA4c","requestTime":"2020-04-20 23:27:54","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":47679,"nodeVersion":"v12.16.1","launchTime":"2020-04-20 23:27:54","osUser":"root","osUid":0,"fetchConsumeTime":211,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-20 23:27:54","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":47679,"nodeVersion":"v12.16.1","launchTime":"2020-04-20 23:27:56","osUser":"root","osUid":0,"fetchConsumeTime":127,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-20 23:27:56","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":47679,"nodeVersion":"v12.16.1","launchTime":"2020-04-20 23:28:18","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODczOTY0OTgsImV4cCI6MTU4NzQxODA5OH0.pTA1PJhSFm-IkvFu6pcLJxiOQGp-XdhJKEAEK2dyyR0","requestTime":"2020-04-20 23:28:18","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":47679,"nodeVersion":"v12.16.1","launchTime":"2020-04-20 23:28:18","osUser":"root","osUid":0,"fetchConsumeTime":234,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-20 23:28:18","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"} -{"pid":47679,"nodeVersion":"v12.16.1","launchTime":"2020-04-20 23:28:25","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-20 23:28:25","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":47679,"nodeVersion":"v12.16.1","launchTime":"2020-04-20 23:29:42","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-20 23:29:42","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":47679,"nodeVersion":"v12.16.1","launchTime":"2020-04-20 23:30:04","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODczOTY2MDQsImV4cCI6MTU4NzQxODIwNH0.5eVb-sKMAuFF3x3t8wH3O8BeG3lhJUEwHWwYM64jgbE","requestTime":"2020-04-20 23:30:04","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":47679,"nodeVersion":"v12.16.1","launchTime":"2020-04-20 23:30:04","osUser":"root","osUid":0,"fetchConsumeTime":329,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-20 23:30:04","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"} diff --git a/server/logs/ELKLog/info.log.2020-04-29 b/server/logs/ELKLog/info.log.2020-04-29 deleted file mode 100644 index 57a22b4..0000000 --- a/server/logs/ELKLog/info.log.2020-04-29 +++ /dev/null @@ -1,83 +0,0 @@ -{"pid":47851,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:04:09","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3Mzk4NjQ5LCJleHAiOjE1ODc0MjAyNDl9.DHds4JdE1Ry6ONdqzaDH4D7ghAxvTPpoIuN6uwSKFvw","requestTime":"2020-04-21 00:04:09","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":47851,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:04:09","osUser":"root","osUid":0,"fetchConsumeTime":310,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-21 00:04:09","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":47851,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:04:19","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3Mzk4NjU5LCJleHAiOjE1ODc0MjAyNTl9.EKpMuQxGnIGRTQZMp9f4RBpwwBAZx1PGeGr4ohqw0I8","requestTime":"2020-04-21 00:04:19","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":47851,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:04:19","osUser":"root","osUid":0,"fetchConsumeTime":9622,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-21 00:04:19","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":47851,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:04:35","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODczOTg2NzUsImV4cCI6MTU4NzQyMDI3NX0.jl4oGlWiohAYq6t-bpTxMSKhuYBymKqnsmYT7dZmbWs","requestTime":"2020-04-21 00:04:35","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":47851,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:04:35","osUser":"root","osUid":0,"fetchConsumeTime":235,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-21 00:04:35","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"} -{"pid":47851,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:13:39","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3Mzk5MjE5LCJleHAiOjE1ODc0MjA4MTl9.xmOGj5zY8OVhQ7JGJQi024xDlroaEqISeNDWNiZ0LnU","requestTime":"2020-04-21 00:13:39","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":47851,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:13:39","osUser":"root","osUid":0,"fetchConsumeTime":318,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-21 00:13:39","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":47851,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:13:41","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3Mzk5MjIxLCJleHAiOjE1ODc0MjA4MjF9.W2LH7QKBfMqtcQQDihw9FZafYX1UXFAQ7UO0rCDOxr0","requestTime":"2020-04-21 00:13:41","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":47851,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:13:41","osUser":"root","osUid":0,"fetchConsumeTime":3202,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-21 00:13:41","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":47851,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:13:59","osUser":"root","osUid":0,"fetchConsumeTime":137,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-21 00:13:59","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":47851,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:15:03","osUser":"root","osUid":0,"fetchConsumeTime":99,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-21 00:15:03","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":47851,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:16:35","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoSIsImFjY291bnQiOiJjYWkxMTEiLCJ1c2VySWQiOjJ9LCJpYXQiOjE1ODczOTkzOTUsImV4cCI6MTU4NzQyMDk5NX0.NbHqCVkir6GpW50LD22aMID9gZmvdlKDSXjTWvyeLFs","requestTime":"2020-04-21 00:16:35","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":47851,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:16:35","osUser":"root","osUid":0,"fetchConsumeTime":193,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-21 00:16:35","status":200,"total":null,"requestBody":{"userAccount":"cai111","password":"123"},"url":"/node/user/login"} -{"pid":48621,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:24:44","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoSIsImFjY291bnQiOiJjYWkxMTEiLCJ1c2VySWQiOjJ9LCJpYXQiOjE1ODczOTk4ODQsImV4cCI6MTU4NzQyMTQ4NH0.CVCe19KN0vg_4m1-axLTR6pz7DQPRQkcOWvBN5mn6PE","requestTime":"2020-04-21 00:24:44","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":48621,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:24:44","osUser":"root","osUid":0,"fetchConsumeTime":226,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-21 00:24:44","status":200,"total":null,"requestBody":{"userAccount":"cai111","password":"123"},"url":"/node/user/login"} -{"pid":48633,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 00:28:45","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-21 00:28:45","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":49450,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 22:52:33","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3NDgwNzUzLCJleHAiOjE1ODc1MDIzNTN9.KxxH7Eiw4toDFNZGwaHSALgEbfIPT8Qjw-7-Hp6XllU","requestTime":"2020-04-21 22:52:33","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":49450,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 22:52:33","osUser":"root","osUid":0,"fetchConsumeTime":217,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-21 22:52:33","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":49450,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 22:52:35","osUser":"root","osUid":0,"fetchConsumeTime":167,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-21 22:52:35","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":49495,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 23:01:35","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODc0ODEyOTUsImV4cCI6MTU4NzUwMjg5NX0.04tWzzIEspNyYmtY-EzyesrnpVwD7zx-0zG7K9Rdb2s","requestTime":"2020-04-21 23:01:35","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":49495,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 23:01:35","osUser":"root","osUid":0,"fetchConsumeTime":199,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-21 23:01:35","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"} -{"pid":49495,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 23:04:55","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-21 23:04:55","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":49495,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 23:05:14","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoSIsImFjY291bnQiOiJjYWkxMTEiLCJ1c2VySWQiOjJ9LCJpYXQiOjE1ODc0ODE1MTQsImV4cCI6MTU4NzUwMzExNH0.C9J4r3Xp_Uf9eslayzzu8f_JOLdaAJd53NeeUsOvhx4","requestTime":"2020-04-21 23:05:14","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":49495,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 23:05:14","osUser":"root","osUid":0,"fetchConsumeTime":180,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-21 23:05:14","status":200,"total":null,"requestBody":{"userAccount":"cai111","password":"123"},"url":"/node/user/login"} -{"pid":49588,"nodeVersion":"v12.16.1","launchTime":"2020-04-21 23:40:05","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"game already paling","requestTime":"2020-04-21 23:40:05","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":51857,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:38:24","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"Handshake inactivity timeout","requestTime":"2020-04-22 23:38:24","stack":"Error: Handshake inactivity timeout\n at Handshake. (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:160:17)\n at Handshake.emit (events.js:311:20)\n at Handshake._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8)\n at Timer._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Timer.js:32:23)\n at listOnTimeout (internal/timers.js:549:17)\n at processTimers (internal/timers.js:492:7)\n --------------------\n at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48)\n at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23)\n at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18)\n at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n at new Promise ()\n at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10)\n at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34)\n at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n sql: select now() as currentTime;","total":null,"requestBody":{},"method":""} -{"pid":51873,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:39:39","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-22 23:39:39","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":51873,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:40:04","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3NTcwMDA0LCJleHAiOjE1ODc1OTE2MDR9.qCv_9sbRdWKY2lYPVz6imLwUkvpRXr1ImmLIPLnwxf4","requestTime":"2020-04-22 23:40:04","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":51873,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:40:04","osUser":"root","osUid":0,"fetchConsumeTime":208,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-22 23:40:04","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":51873,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:40:05","osUser":"root","osUid":0,"fetchConsumeTime":109,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-22 23:40:05","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":51873,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:41:20","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3NTcwMDgwLCJleHAiOjE1ODc1OTE2ODB9.S73RaBIpGQVhaELO6yfvBwDNUlrDdo1WUpfE4J_HwZs","requestTime":"2020-04-22 23:41:20","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":51873,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:41:20","osUser":"root","osUid":0,"fetchConsumeTime":206,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-22 23:41:20","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":51873,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:41:22","osUser":"root","osUid":0,"fetchConsumeTime":102,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-22 23:41:22","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":51873,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:41:48","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODc1NzAxMDgsImV4cCI6MTU4NzU5MTcwOH0.1kZQu3oihvSnCIkyBl9vFK8BK_6wxM7QvlMv0-cfggs","requestTime":"2020-04-22 23:41:48","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":51873,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:41:48","osUser":"root","osUid":0,"fetchConsumeTime":203,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-22 23:41:48","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"} -{"pid":51873,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:43:45","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"game already paling","requestTime":"2020-04-22 23:43:45","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":51959,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:45:53","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoSIsImFjY291bnQiOiJjYWkxMTEiLCJ1c2VySWQiOjJ9LCJpYXQiOjE1ODc1NzAzNTMsImV4cCI6MTU4NzU5MTk1M30.QCROHyWqK_5kwhIpE3i2AwOfqsktIcRC7J9FwoZFTX8","requestTime":"2020-04-22 23:45:53","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":51959,"nodeVersion":"v12.16.1","launchTime":"2020-04-22 23:45:53","osUser":"root","osUid":0,"fetchConsumeTime":209,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-22 23:45:53","status":200,"total":null,"requestBody":{"userAccount":"cai111","password":"123"},"url":"/node/user/login"} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 21:23:56","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODc2NDgyMzYsImV4cCI6MTU4NzY2OTgzNn0.NLQVoRUOk2eKtPJpXtCoDpCYWkUXSL6vPljR-DKxYh4","requestTime":"2020-04-23 21:23:56","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 21:23:56","osUser":"root","osUid":0,"fetchConsumeTime":218,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-23 21:23:56","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 21:23:57","osUser":"root","osUid":0,"fetchConsumeTime":110,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-23 21:23:57","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 21:24:15","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4NzY0ODI1NSwiZXhwIjoxNTg3NjY5ODU1fQ.__TDymI59M3EkIQDEzsjRGaTiZme4EzcbOKvZRjWoQE","requestTime":"2020-04-23 21:24:15","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 21:24:15","osUser":"root","osUid":0,"fetchConsumeTime":204,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-23 21:24:15","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 21:24:57","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-23 21:24:57","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 21:25:02","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-23 21:25:02","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 21:25:04","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-23 21:25:04","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 21:25:15","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4NzY0ODMxNSwiZXhwIjoxNTg3NjY5OTE1fQ.Ts3MaDk8a6wFvN-TNG25Jvw5WOIjpcJHM3K-PMp-6vc","requestTime":"2020-04-23 21:25:15","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 21:25:15","osUser":"root","osUid":0,"fetchConsumeTime":203,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-23 21:25:15","status":200,"total":null,"requestBody":{"userAccount":"cai111","password":"123"},"url":"/node/user/login"} -{"pid":52898,"nodeVersion":"v12.16.1","launchTime":"2020-04-23 22:41:00","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-23 22:41:00","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":56754,"nodeVersion":"v12.16.1","launchTime":"2020-04-27 21:22:04","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODc5OTM3MjQsImV4cCI6MTU4ODAxNTMyNH0.qg2Hyc4aGmeVpx83_5w8sNnFRxKGuGx_mNMFHEqrS5U","requestTime":"2020-04-27 21:22:04","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":56754,"nodeVersion":"v12.16.1","launchTime":"2020-04-27 21:22:04","osUser":"root","osUid":0,"fetchConsumeTime":272,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-27 21:22:04","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":56754,"nodeVersion":"v12.16.1","launchTime":"2020-04-27 21:22:07","osUser":"root","osUid":0,"fetchConsumeTime":106,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-27 21:22:07","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":56754,"nodeVersion":"v12.16.1","launchTime":"2020-04-27 21:22:23","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4Nzk5Mzc0MywiZXhwIjoxNTg4MDE1MzQzfQ.8jtO2T8z2unBTHshVLfUgX78sr_QxMu9Va2BmxgjxAc","requestTime":"2020-04-27 21:22:23","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":56754,"nodeVersion":"v12.16.1","launchTime":"2020-04-27 21:22:23","osUser":"root","osUid":0,"fetchConsumeTime":205,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-27 21:22:23","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"} -{"pid":56936,"nodeVersion":"v12.16.1","launchTime":"2020-04-27 22:23:31","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-27 22:23:31","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":56936,"nodeVersion":"v12.16.1","launchTime":"2020-04-27 22:23:31","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-27 22:23:31","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":56936,"nodeVersion":"v12.16.1","launchTime":"2020-04-27 22:23:31","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-27 22:23:31","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":56936,"nodeVersion":"v12.16.1","launchTime":"2020-04-27 22:23:31","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-27 22:23:31","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57542,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:26:49","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"Handshake inactivity timeout","requestTime":"2020-04-28 23:26:49","stack":"Error: Handshake inactivity timeout\n at Handshake. (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:160:17)\n at Handshake.emit (events.js:311:20)\n at Handshake._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8)\n at Timer._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Timer.js:32:23)\n at listOnTimeout (internal/timers.js:549:17)\n at processTimers (internal/timers.js:492:7)\n --------------------\n at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48)\n at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23)\n at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18)\n at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n at new Promise ()\n at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10)\n at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34)\n at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8)\n at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7\n sql: select now() as currentTime;","total":null,"requestBody":{},"method":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:29:18","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgwODc3NTgsImV4cCI6MTU4ODEwOTM1OH0.raY5uwkqn0zYe8tiY_2eDCwOzlxXbsnxQfcjL4bUiMs","requestTime":"2020-04-28 23:29:18","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:29:18","osUser":"root","osUid":0,"fetchConsumeTime":210,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-28 23:29:18","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:29:20","osUser":"root","osUid":0,"fetchConsumeTime":100,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-04-28 23:29:20","status":200,"total":null,"requestBody":{},"url":"/node/game/room"} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:29:41","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4ODA4Nzc4MSwiZXhwIjoxNTg4MTA5MzgxfQ.-HaI_Ir_qaEisBWdja_RWZVfA0GS9IHzgK7NAlkorKk","requestTime":"2020-04-28 23:29:41","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:29:41","osUser":"root","osUid":0,"fetchConsumeTime":187,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-28 23:29:41","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:32:03","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-28 23:32:03","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:32:05","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-28 23:32:05","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:32:12","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-28 23:32:12","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:32:14","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-28 23:32:14","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:32:16","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-28 23:32:16","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:32:35","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4ODA4Nzk1NSwiZXhwIjoxNTg4MTA5NTU1fQ.ImRv9G2O2c7i0Vj0GmazIt5nrfQ8XXmncVNbL1_YzyA","requestTime":"2020-04-28 23:32:35","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:32:35","osUser":"root","osUid":0,"fetchConsumeTime":187,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-04-28 23:32:35","status":200,"total":null,"requestBody":{"userAccount":"cai111","password":"123"},"url":"/node/user/login"} -{"pid":57568,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:33:03","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"player not enough","requestTime":"2020-04-28 23:33:03","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":59295,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:34:52","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"player not enough","requestTime":"2020-04-28 23:34:52","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":59320,"nodeVersion":"v12.16.1","launchTime":"2020-04-28 23:37:18","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"player not enough","requestTime":"2020-04-28 23:37:18","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":59664,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 00:30:16","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 00:30:16","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":59664,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 00:30:16","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 00:30:16","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 23:17:55","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 23:17:55","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 23:18:03","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 23:18:03","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 23:18:45","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 23:18:45","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 23:20:25","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 23:20:25","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 23:37:21","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 23:37:21","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} -{"pid":60633,"nodeVersion":"v12.16.1","launchTime":"2020-04-29 23:45:40","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-04-29 23:45:40","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""} diff --git a/server/logs/game-node-center/agent.log b/server/logs/game-node-center/agent.log deleted file mode 100644 index 410c88c..0000000 --- a/server/logs/game-node-center/agent.log +++ /dev/null @@ -1,57 +0,0 @@ -2020-04-30 00:00:01,072 INFO 60632 [egg-logrotator] agent logger reload: got log-reload message -2020-04-30 01:35:35,360 ERROR 60632 nodejs.ClusterClientNoResponseError: client no response in 1854709ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 60632 -hostname: 192.168.0.101 - -2020-04-30 02:13:38,298 ERROR 60632 nodejs.ClusterClientNoResponseError: client no response in 2242910ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 60632 -hostname: 192.168.0.101 - -2020-04-30 02:51:15,067 ERROR 60632 nodejs.ClusterClientNoResponseError: client no response in 1956662ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 60632 -hostname: 192.168.0.101 - -2020-04-30 04:05:22,137 ERROR 60632 nodejs.ClusterClientNoResponseError: client no response in 4406960ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 60632 -hostname: 192.168.0.101 - -2020-04-30 05:53:34,097 ERROR 60632 nodejs.ClusterClientNoResponseError: client no response in 6451949ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 60632 -hostname: 192.168.0.101 - -2020-04-30 07:41:45,993 ERROR 60632 nodejs.ClusterClientNoResponseError: client no response in 6451867ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 60632 -hostname: 192.168.0.101 - -2020-04-30 08:17:43,445 ERROR 60632 nodejs.ClusterClientNoResponseError: client no response in 2137434ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 60632 -hostname: 192.168.0.101 - diff --git a/server/logs/game-node-center/agent.log.2020-04-17 b/server/logs/game-node-center/agent.log.2020-04-17 deleted file mode 100755 index ede547f..0000000 --- a/server/logs/game-node-center/agent.log.2020-04-17 +++ /dev/null @@ -1,50 +0,0 @@ -2020-04-14 22:10:45,972 INFO 36442 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-14 22:10:45,983 INFO 36442 [egg:core] dump config after load, 6ms -2020-04-14 22:10:46,034 INFO 36442 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-14 22:10:46,034 INFO 36442 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-14 22:10:46,035 INFO 36442 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-14 22:10:46,035 INFO 36442 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-14 22:10:46,035 INFO 36442 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-14 22:10:46,035 INFO 36442 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-14 22:10:46,036 INFO 36442 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-14 22:10:46,036 INFO 36442 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-14 22:10:46,037 INFO 36442 [egg-watcher:agent] watcher start success -2020-04-14 22:10:46,045 INFO 36442 [egg:core] dump config after ready, 5ms -2020-04-17 23:56:21,286 INFO 39850 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-17 23:56:21,296 INFO 39850 [egg:core] dump config after load, 6ms -2020-04-17 23:56:21,338 INFO 39850 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-17 23:56:21,338 INFO 39850 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-17 23:56:21,338 INFO 39850 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-17 23:56:21,338 INFO 39850 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-17 23:56:21,338 INFO 39850 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-17 23:56:21,338 INFO 39850 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-17 23:56:21,339 INFO 39850 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-17 23:56:21,339 INFO 39850 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-17 23:56:21,339 INFO 39850 [egg-watcher:agent] watcher start success -2020-04-17 23:56:21,446 INFO 39850 [egg:core] dump config after ready, 78ms -2020-04-17 23:56:40,847 WARN 39850 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/config/config.default.ts change -2020-04-17 23:56:40,641 INFO 39850 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/config/config.default.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027019,"size":2670,"blocks":8,"atimeMs":1587138944564.566,"mtimeMs":1587139000534.8145,"ctimeMs":1587139000534.8145,"birthtimeMs":1587023545045.6162,"atime":"2020-04-17T15:55:44.565Z","mtime":"2020-04-17T15:56:40.535Z","ctime":"2020-04-17T15:56:40.535Z","birthtime":"2020-04-16T07:52:25.046Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-17 23:56:54,609 INFO 39898 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-17 23:56:54,617 INFO 39898 [egg:core] dump config after load, 5ms -2020-04-17 23:56:54,663 INFO 39898 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-17 23:56:54,663 INFO 39898 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-17 23:56:54,663 INFO 39898 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-17 23:56:54,663 INFO 39898 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-17 23:56:54,663 INFO 39898 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-17 23:56:54,663 INFO 39898 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-17 23:56:54,664 INFO 39898 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-17 23:56:54,664 INFO 39898 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-17 23:56:54,664 INFO 39898 [egg-watcher:agent] watcher start success -2020-04-17 23:56:54,737 INFO 39898 [egg:core] dump config after ready, 61ms -2020-04-17 23:57:56,140 INFO 39966 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-17 23:57:56,148 INFO 39966 [egg:core] dump config after load, 5ms -2020-04-17 23:57:56,181 INFO 39966 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-17 23:57:56,181 INFO 39966 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-17 23:57:56,181 INFO 39966 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-17 23:57:56,182 INFO 39966 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-17 23:57:56,182 INFO 39966 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-17 23:57:56,182 INFO 39966 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-17 23:57:56,182 INFO 39966 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-17 23:57:56,182 INFO 39966 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-17 23:57:56,183 INFO 39966 [egg-watcher:agent] watcher start success -2020-04-17 23:57:56,201 INFO 39966 [egg:core] dump config after ready, 12ms diff --git a/server/logs/game-node-center/agent.log.2020-04-18 b/server/logs/game-node-center/agent.log.2020-04-18 deleted file mode 100644 index beb5e6a..0000000 --- a/server/logs/game-node-center/agent.log.2020-04-18 +++ /dev/null @@ -1,261 +0,0 @@ -2020-04-18 00:00:01,018 INFO 39966 [egg-logrotator] agent logger reload: got log-reload message -2020-04-18 00:00:57,853 INFO 40032 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-18 00:00:57,861 INFO 40032 [egg:core] dump config after load, 5ms -2020-04-18 00:00:57,905 INFO 40032 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-18 00:00:57,905 INFO 40032 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-18 00:00:57,905 INFO 40032 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-18 00:00:57,905 INFO 40032 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-18 00:00:57,905 INFO 40032 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-18 00:00:57,905 INFO 40032 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-18 00:00:57,906 INFO 40032 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-18 00:00:57,906 INFO 40032 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-18 00:00:57,906 INFO 40032 [egg-watcher:agent] watcher start success -2020-04-18 00:00:57,918 INFO 40032 [egg:core] dump config after ready, 5ms -2020-04-18 00:02:56,010 INFO 40063 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-18 00:02:56,021 INFO 40063 [egg:core] dump config after load, 7ms -2020-04-18 00:02:56,070 INFO 40063 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-18 00:02:56,070 INFO 40063 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-18 00:02:56,070 INFO 40063 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-18 00:02:56,070 INFO 40063 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-18 00:02:56,070 INFO 40063 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-18 00:02:56,070 INFO 40063 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-18 00:02:56,071 INFO 40063 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-18 00:02:56,071 INFO 40063 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-18 00:02:56,071 INFO 40063 [egg-watcher:agent] watcher start success -2020-04-18 00:02:56,091 INFO 40063 [egg:core] dump config after ready, 12ms -2020-04-18 00:04:38,904 INFO 40141 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-18 00:04:38,915 INFO 40141 [egg:core] dump config after load, 7ms -2020-04-18 00:04:38,974 INFO 40141 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-18 00:04:38,974 INFO 40141 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-18 00:04:38,974 INFO 40141 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-18 00:04:38,974 INFO 40141 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-18 00:04:38,974 INFO 40141 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-18 00:04:38,974 INFO 40141 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-18 00:04:38,975 INFO 40141 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-18 00:04:38,975 INFO 40141 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-18 00:04:38,975 INFO 40141 [egg-watcher:agent] watcher start success -2020-04-18 00:04:38,987 INFO 40141 [egg:core] dump config after ready, 6ms -2020-04-18 00:12:05,052 INFO 40141 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/config/config.default.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027019,"size":2646,"blocks":8,"atimeMs":1587139002815.7625,"mtimeMs":1587139924972.4119,"ctimeMs":1587139924972.4119,"birthtimeMs":1587023545045.6162,"atime":"2020-04-17T15:56:42.816Z","mtime":"2020-04-17T16:12:04.972Z","ctime":"2020-04-17T16:12:04.972Z","birthtime":"2020-04-16T07:52:25.046Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 00:12:05,257 WARN 40141 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/config/config.default.ts change -2020-04-18 00:30:40,990 WARN 40141 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/lib/baseSocketController.ts rename -2020-04-18 00:30:40,786 INFO 40141 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/lib/baseSocketController.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594094366,"size":0,"blocks":0,"atimeMs":1587141039274.0322,"mtimeMs":1587141039274.0322,"ctimeMs":1587141039274.0322,"birthtimeMs":1587141039274.0322,"atime":"2020-04-17T16:30:39.274Z","mtime":"2020-04-17T16:30:39.274Z","ctime":"2020-04-17T16:30:39.274Z","birthtime":"2020-04-17T16:30:39.274Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 17:35:49,643 INFO 44294 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-18 17:35:49,651 INFO 44294 [egg:core] dump config after load, 4ms -2020-04-18 17:35:49,683 INFO 44294 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-18 17:35:49,683 INFO 44294 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-18 17:35:49,683 INFO 44294 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-18 17:35:49,683 INFO 44294 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-18 17:35:49,683 INFO 44294 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-18 17:35:49,683 INFO 44294 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-18 17:35:49,684 INFO 44294 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-18 17:35:49,684 INFO 44294 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-18 17:35:49,684 INFO 44294 [egg-watcher:agent] watcher start success -2020-04-18 17:35:49,803 INFO 44294 [egg:core] dump config after ready, 88ms -2020-04-18 17:55:46,056 INFO 44670 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-18 17:55:46,064 INFO 44670 [egg:core] dump config after load, 4ms -2020-04-18 17:55:46,104 INFO 44670 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-18 17:55:46,104 INFO 44670 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-18 17:55:46,104 INFO 44670 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-18 17:55:46,104 INFO 44670 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-18 17:55:46,104 INFO 44670 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-18 17:55:46,104 INFO 44670 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-18 17:55:46,105 INFO 44670 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-18 17:55:46,105 INFO 44670 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-18 17:55:46,105 INFO 44670 [egg-watcher:agent] watcher start success -2020-04-18 17:55:46,116 INFO 44670 [egg:core] dump config after ready, 6ms -2020-04-18 18:14:25,381 INFO 44670 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027003,"size":2143,"blocks":8,"atimeMs":1587202503676.201,"mtimeMs":1587204865320.2593,"ctimeMs":1587204865320.2593,"birthtimeMs":1587091385055.2769,"atime":"2020-04-18T09:35:03.676Z","mtime":"2020-04-18T10:14:25.320Z","ctime":"2020-04-18T10:14:25.320Z","birthtime":"2020-04-17T02:43:05.055Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 18:14:25,605 WARN 44670 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-18 18:18:57,140 INFO 44670 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/lib/baseSocketController.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594094366,"size":694,"blocks":8,"atimeMs":1587201896221.067,"mtimeMs":1587205137079.3887,"ctimeMs":1587205137079.3887,"birthtimeMs":1587141039274.0322,"atime":"2020-04-18T09:24:56.221Z","mtime":"2020-04-18T10:18:57.079Z","ctime":"2020-04-18T10:18:57.079Z","birthtime":"2020-04-17T16:30:39.274Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 18:18:57,346 WARN 44670 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/lib/baseSocketController.ts change -2020-04-18 18:19:18,701 WARN 44670 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/lib/baseSocketController.ts change -2020-04-18 18:19:18,495 INFO 44670 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/lib/baseSocketController.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594094366,"size":662,"blocks":8,"atimeMs":1587205158459.442,"mtimeMs":1587205158459.5637,"ctimeMs":1587205158459.5637,"birthtimeMs":1587141039274.0322,"atime":"2020-04-18T10:19:18.459Z","mtime":"2020-04-18T10:19:18.460Z","ctime":"2020-04-18T10:19:18.460Z","birthtime":"2020-04-17T16:30:39.274Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 18:19:21,173 INFO 44670 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/lib/baseSocketController.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594094366,"size":664,"blocks":8,"atimeMs":1587205158851.5378,"mtimeMs":1587205161158.8428,"ctimeMs":1587205161158.8428,"birthtimeMs":1587141039274.0322,"atime":"2020-04-18T10:19:18.852Z","mtime":"2020-04-18T10:19:21.159Z","ctime":"2020-04-18T10:19:21.159Z","birthtime":"2020-04-17T16:30:39.274Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 18:19:21,373 WARN 44670 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/lib/baseSocketController.ts change -2020-04-18 18:20:55,125 WARN 44670 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-18 18:20:54,922 INFO 44670 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027003,"size":2190,"blocks":8,"atimeMs":1587204870083.5024,"mtimeMs":1587205254859.2158,"ctimeMs":1587205254859.2158,"birthtimeMs":1587091385055.2769,"atime":"2020-04-18T10:14:30.084Z","mtime":"2020-04-18T10:20:54.859Z","ctime":"2020-04-18T10:20:54.859Z","birthtime":"2020-04-17T02:43:05.055Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 18:21:57,433 WARN 44670 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/lib/baseSocketController.ts change -2020-04-18 18:21:57,227 INFO 44670 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/lib/baseSocketController.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594094366,"size":717,"blocks":8,"atimeMs":1587205161774.691,"mtimeMs":1587205317166.6826,"ctimeMs":1587205317166.6826,"birthtimeMs":1587141039274.0322,"atime":"2020-04-18T10:19:21.775Z","mtime":"2020-04-18T10:21:57.167Z","ctime":"2020-04-18T10:21:57.167Z","birthtime":"2020-04-17T16:30:39.274Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 18:34:48,070 WARN 44670 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-18 18:34:47,866 INFO 44670 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027003,"size":2191,"blocks":8,"atimeMs":1587206087835.5012,"mtimeMs":1587206087800.9165,"ctimeMs":1587206087800.9165,"birthtimeMs":1587091385055.2769,"atime":"2020-04-18T10:34:47.836Z","mtime":"2020-04-18T10:34:47.801Z","ctime":"2020-04-18T10:34:47.801Z","birthtime":"2020-04-17T02:43:05.055Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 18:35:44,204 WARN 44670 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/router.ts change -2020-04-18 18:35:44,002 INFO 44670 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/router.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594026998,"size":380,"blocks":8,"atimeMs":1587138944562.7903,"mtimeMs":1587206143442.5688,"ctimeMs":1587206143442.5688,"birthtimeMs":1587091385022.3638,"atime":"2020-04-17T15:55:44.563Z","mtime":"2020-04-18T10:35:43.443Z","ctime":"2020-04-18T10:35:43.443Z","birthtime":"2020-04-17T02:43:05.022Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 18:37:39,722 WARN 44670 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/auth.ts change -2020-04-18 18:37:39,520 INFO 44670 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/auth.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027001,"size":3317,"blocks":8,"atimeMs":1587202386538.8193,"mtimeMs":1587206259131.27,"ctimeMs":1587206259131.27,"birthtimeMs":1587115877574.648,"atime":"2020-04-18T09:33:06.539Z","mtime":"2020-04-18T10:37:39.131Z","ctime":"2020-04-18T10:37:39.131Z","birthtime":"2020-04-17T09:31:17.575Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 18:39:38,859 WARN 44670 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-18 18:39:38,652 INFO 44670 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027003,"size":2217,"blocks":8,"atimeMs":1587206087835.5012,"mtimeMs":1587206377707.9688,"ctimeMs":1587206377707.9688,"birthtimeMs":1587091385055.2769,"atime":"2020-04-18T10:34:47.836Z","mtime":"2020-04-18T10:39:37.708Z","ctime":"2020-04-18T10:39:37.708Z","birthtime":"2020-04-17T02:43:05.055Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 18:44:58,507 WARN 44670 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/service/account.ts change -2020-04-18 18:44:58,305 INFO 44670 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027003,"size":2289,"blocks":8,"atimeMs":1587206387927.4253,"mtimeMs":1587206698243.1057,"ctimeMs":1587206698243.1057,"birthtimeMs":1587091385055.2769,"atime":"2020-04-18T10:39:47.927Z","mtime":"2020-04-18T10:44:58.243Z","ctime":"2020-04-18T10:44:58.243Z","birthtime":"2020-04-17T02:43:05.055Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 18:44:58,305 INFO 44670 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/service/account.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027028,"size":2671,"blocks":8,"atimeMs":1587138944578.3625,"mtimeMs":1587206698250.8179,"ctimeMs":1587206698250.8179,"birthtimeMs":1587111629864.418,"atime":"2020-04-17T15:55:44.578Z","mtime":"2020-04-18T10:44:58.251Z","ctime":"2020-04-18T10:44:58.251Z","birthtime":"2020-04-17T08:20:29.864Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 18:45:57,282 WARN 44670 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/service/account.ts change -2020-04-18 18:45:57,079 INFO 44670 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/service/account.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027028,"size":2670,"blocks":8,"atimeMs":1587206757076.3215,"mtimeMs":1587206757001.686,"ctimeMs":1587206757001.686,"birthtimeMs":1587111629864.418,"atime":"2020-04-18T10:45:57.076Z","mtime":"2020-04-18T10:45:57.002Z","ctime":"2020-04-18T10:45:57.002Z","birthtime":"2020-04-17T08:20:29.864Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 19:00:36,665 INFO 44956 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-18 19:00:36,673 INFO 44956 [egg:core] dump config after load, 5ms -2020-04-18 19:00:36,723 INFO 44956 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-18 19:00:36,723 INFO 44956 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-18 19:00:36,723 INFO 44956 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-18 19:00:36,723 INFO 44956 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-18 19:00:36,723 INFO 44956 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-18 19:00:36,723 INFO 44956 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-18 19:00:36,724 INFO 44956 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-18 19:00:36,724 INFO 44956 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-18 19:00:36,724 INFO 44956 [egg-watcher:agent] watcher start success -2020-04-18 19:00:36,819 INFO 44956 [egg:core] dump config after ready, 76ms -2020-04-18 19:02:24,804 WARN 44956 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/service/room.ts change -2020-04-18 19:02:24,600 INFO 44956 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/service/room.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027029,"size":1034,"blocks":8,"atimeMs":1587138944580.3667,"mtimeMs":1587207744536.6758,"ctimeMs":1587207744536.6758,"birthtimeMs":1586910998884.8228,"atime":"2020-04-17T15:55:44.580Z","mtime":"2020-04-18T11:02:24.537Z","ctime":"2020-04-18T11:02:24.537Z","birthtime":"2020-04-15T00:36:38.885Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 19:03:22,632 WARN 44956 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-18 19:03:22,430 INFO 44956 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027003,"size":2433,"blocks":8,"atimeMs":1587207592140.0337,"mtimeMs":1587207802367.256,"ctimeMs":1587207802367.256,"birthtimeMs":1587091385055.2769,"atime":"2020-04-18T10:59:52.140Z","mtime":"2020-04-18T11:03:22.367Z","ctime":"2020-04-18T11:03:22.367Z","birthtime":"2020-04-17T02:43:05.055Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 21:17:37,571 INFO 45195 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-18 21:17:37,587 INFO 45195 [egg:core] dump config after load, 12ms -2020-04-18 21:17:37,633 INFO 45195 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-18 21:17:37,633 INFO 45195 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-18 21:17:37,633 INFO 45195 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-18 21:17:37,633 INFO 45195 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-18 21:17:37,633 INFO 45195 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-18 21:17:37,633 INFO 45195 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-18 21:17:37,634 INFO 45195 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-18 21:17:37,634 INFO 45195 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-18 21:17:37,634 INFO 45195 [egg-watcher:agent] watcher start success -2020-04-18 21:17:37,676 INFO 45195 [egg:core] dump config after ready, 20ms -2020-04-18 21:18:17,307 INFO 45219 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-18 21:18:17,316 INFO 45219 [egg:core] dump config after load, 5ms -2020-04-18 21:18:17,362 INFO 45219 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-18 21:18:17,362 INFO 45219 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-18 21:18:17,362 INFO 45219 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-18 21:18:17,362 INFO 45219 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-18 21:18:17,362 INFO 45219 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-18 21:18:17,362 INFO 45219 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-18 21:18:17,363 INFO 45219 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-18 21:18:17,363 INFO 45219 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-18 21:18:17,363 INFO 45219 [egg-watcher:agent] watcher start success -2020-04-18 21:18:17,378 INFO 45219 [egg:core] dump config after ready, 8ms -2020-04-18 21:19:33,301 INFO 45256 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-18 21:19:33,310 INFO 45256 [egg:core] dump config after load, 5ms -2020-04-18 21:19:33,354 INFO 45256 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-18 21:19:33,354 INFO 45256 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-18 21:19:33,355 INFO 45256 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-18 21:19:33,355 INFO 45256 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-18 21:19:33,355 INFO 45256 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-18 21:19:33,355 INFO 45256 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-18 21:19:33,355 INFO 45256 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-18 21:19:33,356 INFO 45256 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-18 21:19:33,356 INFO 45256 [egg-watcher:agent] watcher start success -2020-04-18 21:19:33,389 INFO 45256 [egg:core] dump config after ready, 22ms -2020-04-18 21:24:26,783 INFO 45256 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/auth.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027001,"size":3354,"blocks":8,"atimeMs":1587216266745.8743,"mtimeMs":1587216266752.2715,"ctimeMs":1587216266752.2715,"birthtimeMs":1587115877574.648,"atime":"2020-04-18T13:24:26.746Z","mtime":"2020-04-18T13:24:26.752Z","ctime":"2020-04-18T13:24:26.752Z","birthtime":"2020-04-17T09:31:17.575Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 21:24:26,988 WARN 45256 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/auth.ts change -2020-04-18 21:25:24,823 WARN 45256 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-18 21:25:24,617 INFO 45256 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027003,"size":2496,"blocks":8,"atimeMs":1587215854702.4204,"mtimeMs":1587216324556.1482,"ctimeMs":1587216324556.1482,"birthtimeMs":1587091385055.2769,"atime":"2020-04-18T13:17:34.702Z","mtime":"2020-04-18T13:25:24.556Z","ctime":"2020-04-18T13:25:24.556Z","birthtime":"2020-04-17T02:43:05.055Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 21:27:07,070 INFO 45356 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-18 21:27:07,079 INFO 45356 [egg:core] dump config after load, 5ms -2020-04-18 21:27:07,121 INFO 45356 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-18 21:27:07,121 INFO 45356 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-18 21:27:07,121 INFO 45356 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-18 21:27:07,121 INFO 45356 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-18 21:27:07,121 INFO 45356 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-18 21:27:07,122 INFO 45356 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-18 21:27:07,122 INFO 45356 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-18 21:27:07,122 INFO 45356 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-18 21:27:07,122 INFO 45356 [egg-watcher:agent] watcher start success -2020-04-18 21:27:07,134 INFO 45356 [egg:core] dump config after ready, 5ms -2020-04-18 21:29:44,921 WARN 45356 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/controller/game.ts rename -2020-04-18 21:29:44,717 INFO 45356 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/controller/game.ts","remove":true,"isDirectory":false,"isFile":false} -2020-04-18 21:30:36,831 WARN 45356 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/router.ts change -2020-04-18 21:30:36,628 INFO 45356 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027003,"size":2500,"blocks":8,"atimeMs":1587216328825.1155,"mtimeMs":1587216636545.6865,"ctimeMs":1587216636545.6865,"birthtimeMs":1587091385055.2769,"atime":"2020-04-18T13:25:28.825Z","mtime":"2020-04-18T13:30:36.546Z","ctime":"2020-04-18T13:30:36.546Z","birthtime":"2020-04-17T02:43:05.055Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 21:30:36,629 INFO 45356 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/router.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594026998,"size":384,"blocks":8,"atimeMs":1587206161132.8293,"mtimeMs":1587216636547.7944,"ctimeMs":1587216636547.7944,"birthtimeMs":1587091385022.3638,"atime":"2020-04-18T10:36:01.133Z","mtime":"2020-04-18T13:30:36.548Z","ctime":"2020-04-18T13:30:36.548Z","birthtime":"2020-04-17T02:43:05.022Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 21:34:29,850 WARN 45356 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-18 21:34:29,647 INFO 45356 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027003,"size":2322,"blocks":8,"atimeMs":1587216639968.0493,"mtimeMs":1587216869584.0247,"ctimeMs":1587216869584.0247,"birthtimeMs":1587091385055.2769,"atime":"2020-04-18T13:30:39.968Z","mtime":"2020-04-18T13:34:29.584Z","ctime":"2020-04-18T13:34:29.584Z","birthtime":"2020-04-17T02:43:05.055Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 21:36:11,268 WARN 45356 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/auth.ts change -2020-04-18 21:36:11,064 INFO 45356 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/auth.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027001,"size":3400,"blocks":8,"atimeMs":1587216267070.9412,"mtimeMs":1587216971002.387,"ctimeMs":1587216971002.387,"birthtimeMs":1587115877574.648,"atime":"2020-04-18T13:24:27.071Z","mtime":"2020-04-18T13:36:11.002Z","ctime":"2020-04-18T13:36:11.002Z","birthtime":"2020-04-17T09:31:17.575Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 21:37:25,772 WARN 45356 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/router.ts change -2020-04-18 21:37:25,570 INFO 45356 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/router.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594026998,"size":388,"blocks":8,"atimeMs":1587216647968.8025,"mtimeMs":1587217045514.503,"ctimeMs":1587217045514.503,"birthtimeMs":1587091385022.3638,"atime":"2020-04-18T13:30:47.969Z","mtime":"2020-04-18T13:37:25.515Z","ctime":"2020-04-18T13:37:25.515Z","birthtime":"2020-04-17T02:43:05.022Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 21:38:58,588 WARN 45356 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/service/account.ts change -2020-04-18 21:38:58,385 INFO 45356 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/service/account.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027028,"size":2678,"blocks":8,"atimeMs":1587215854703.9062,"mtimeMs":1587217138322.4758,"ctimeMs":1587217138322.4758,"birthtimeMs":1587111629864.418,"atime":"2020-04-18T13:17:34.704Z","mtime":"2020-04-18T13:38:58.322Z","ctime":"2020-04-18T13:38:58.322Z","birthtime":"2020-04-17T08:20:29.864Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 21:50:29,704 INFO 45460 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-18 21:50:29,713 INFO 45460 [egg:core] dump config after load, 4ms -2020-04-18 21:50:29,756 INFO 45460 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-18 21:50:29,757 INFO 45460 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-18 21:50:29,757 INFO 45460 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-18 21:50:29,757 INFO 45460 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-18 21:50:29,757 INFO 45460 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-18 21:50:29,757 INFO 45460 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-18 21:50:29,757 INFO 45460 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-18 21:50:29,757 INFO 45460 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-18 21:50:29,758 INFO 45460 [egg-watcher:agent] watcher start success -2020-04-18 21:50:29,798 INFO 45460 [egg:core] dump config after ready, 5ms -2020-04-18 21:58:33,675 INFO 45505 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-18 21:58:33,683 INFO 45505 [egg:core] dump config after load, 4ms -2020-04-18 21:58:33,734 INFO 45505 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-18 21:58:33,734 INFO 45505 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-18 21:58:33,734 INFO 45505 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-18 21:58:33,734 INFO 45505 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-18 21:58:33,734 INFO 45505 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-18 21:58:33,734 INFO 45505 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-18 21:58:33,735 INFO 45505 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-18 21:58:33,735 INFO 45505 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-18 21:58:33,735 INFO 45505 [egg-watcher:agent] watcher start success -2020-04-18 21:58:33,754 INFO 45505 [egg:core] dump config after ready, 5ms -2020-04-18 22:04:38,440 INFO 45505 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/auth.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594027001,"size":3514,"blocks":8,"atimeMs":1587218313826.7578,"mtimeMs":1587218678376.0505,"ctimeMs":1587218678376.0505,"birthtimeMs":1587115877574.648,"atime":"2020-04-18T13:58:33.827Z","mtime":"2020-04-18T14:04:38.376Z","ctime":"2020-04-18T14:04:38.376Z","birthtime":"2020-04-17T09:31:17.575Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-18 22:04:38,646 WARN 45505 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/auth.ts change -2020-04-18 22:22:58,079 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 74702ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - -2020-04-18 22:59:04,929 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 2126888ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - -2020-04-18 23:39:39,818 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 2354819ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - -2020-04-19 01:27:30,631 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 6450790ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - -2020-04-19 03:15:39,009 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 6428187ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - -2020-04-19 04:24:30,344 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 4091053ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - -2020-04-19 06:12:42,072 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 6451702ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - -2020-04-19 07:44:48,928 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 5486822ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - diff --git a/server/logs/game-node-center/agent.log.2020-04-20 b/server/logs/game-node-center/agent.log.2020-04-20 deleted file mode 100644 index 6a7c40b..0000000 --- a/server/logs/game-node-center/agent.log.2020-04-20 +++ /dev/null @@ -1,52 +0,0 @@ -2020-04-19 09:15:14,979 INFO 45505 [egg-logrotator] agent logger reload: got log-reload message -2020-04-20 23:27:29,012 INFO 47677 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-20 23:27:29,024 INFO 47677 [egg:core] dump config after load, 7ms -2020-04-20 23:27:29,069 INFO 47677 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-20 23:27:29,069 INFO 47677 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-20 23:27:29,070 INFO 47677 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-20 23:27:29,070 INFO 47677 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-20 23:27:29,070 INFO 47677 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-20 23:27:29,070 INFO 47677 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-20 23:27:29,070 INFO 47677 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-20 23:27:29,071 INFO 47677 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-20 23:27:29,071 INFO 47677 [egg-watcher:agent] watcher start success -2020-04-20 23:27:29,094 INFO 47677 [egg:core] dump config after ready, 16ms -2020-04-20 23:32:48,352 WARN 47677 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-20 23:32:48,146 INFO 47677 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594122660,"size":4606,"blocks":16,"atimeMs":1587396357752.409,"mtimeMs":1587396768085.8992,"ctimeMs":1587396768085.8992,"birthtimeMs":1587374985502.1953,"atime":"2020-04-20T15:25:57.752Z","mtime":"2020-04-20T15:32:48.086Z","ctime":"2020-04-20T15:32:48.086Z","birthtime":"2020-04-20T09:29:45.502Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-20 23:33:11,811 INFO 47677 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594122660,"size":4618,"blocks":16,"atimeMs":1587396772314.1338,"mtimeMs":1587396791749.5032,"ctimeMs":1587396791749.5032,"birthtimeMs":1587374985502.1953,"atime":"2020-04-20T15:32:52.314Z","mtime":"2020-04-20T15:33:11.750Z","ctime":"2020-04-20T15:33:11.750Z","birthtime":"2020-04-20T09:29:45.502Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-20 23:33:12,013 WARN 47677 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-20 23:37:31,946 WARN 47677 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-20 23:37:31,740 INFO 47677 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/join.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594122657,"size":2786,"blocks":8,"atimeMs":1587396357752.6223,"mtimeMs":1587397051679.337,"ctimeMs":1587397051679.337,"birthtimeMs":1587365003459.2952,"atime":"2020-04-20T15:25:57.753Z","mtime":"2020-04-20T15:37:31.679Z","ctime":"2020-04-20T15:37:31.679Z","birthtime":"2020-04-20T06:43:23.459Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-20 23:37:31,741 INFO 47677 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594122660,"size":4671,"blocks":16,"atimeMs":1587396795420.5508,"mtimeMs":1587397051684.6357,"ctimeMs":1587397051684.6357,"birthtimeMs":1587374985502.1953,"atime":"2020-04-20T15:33:15.421Z","mtime":"2020-04-20T15:37:31.685Z","ctime":"2020-04-20T15:37:31.685Z","birthtime":"2020-04-20T09:29:45.502Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-20 23:38:08,705 WARN 47677 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-20 23:38:08,502 INFO 47677 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594122660,"size":4677,"blocks":16,"atimeMs":1587397056092.2244,"mtimeMs":1587397087541.5935,"ctimeMs":1587397087541.5935,"birthtimeMs":1587374985502.1953,"atime":"2020-04-20T15:37:36.092Z","mtime":"2020-04-20T15:38:07.542Z","ctime":"2020-04-20T15:38:07.542Z","birthtime":"2020-04-20T09:29:45.502Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-20 23:38:20,711 INFO 47770 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-20 23:38:20,724 INFO 47770 [egg:core] dump config after load, 6ms -2020-04-20 23:38:20,781 INFO 47770 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-20 23:38:20,781 INFO 47770 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-20 23:38:20,782 INFO 47770 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-20 23:38:20,782 INFO 47770 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-20 23:38:20,782 INFO 47770 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-20 23:38:20,782 INFO 47770 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-20 23:38:20,782 INFO 47770 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-20 23:38:20,782 INFO 47770 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-20 23:38:20,783 INFO 47770 [egg-watcher:agent] watcher start success -2020-04-20 23:38:20,875 INFO 47770 [egg:core] dump config after ready, 79ms -2020-04-20 23:47:09,550 INFO 47810 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-20 23:47:09,558 INFO 47810 [egg:core] dump config after load, 5ms -2020-04-20 23:47:09,604 INFO 47810 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-20 23:47:09,604 INFO 47810 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-20 23:47:09,604 INFO 47810 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-20 23:47:09,604 INFO 47810 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-20 23:47:09,605 INFO 47810 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-20 23:47:09,605 INFO 47810 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-20 23:47:09,605 INFO 47810 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-20 23:47:09,605 INFO 47810 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-20 23:47:09,605 INFO 47810 [egg-watcher:agent] watcher start success -2020-04-20 23:47:09,687 INFO 47810 [egg:core] dump config after ready, 68ms -2020-04-20 23:48:14,599 WARN 47810 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/join.ts change -2020-04-20 23:48:14,392 INFO 47810 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/join.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594122657,"size":2878,"blocks":8,"atimeMs":1587397629467.74,"mtimeMs":1587397694328.4277,"ctimeMs":1587397694328.4277,"birthtimeMs":1587365003459.2952,"atime":"2020-04-20T15:47:09.468Z","mtime":"2020-04-20T15:48:14.328Z","ctime":"2020-04-20T15:48:14.328Z","birthtime":"2020-04-20T06:43:23.459Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-20 23:50:08,830 INFO 47810 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594122649,"size":13076,"blocks":32,"atimeMs":1587396357752.2021,"mtimeMs":1587397808768.2405,"ctimeMs":1587397808768.2405,"birthtimeMs":1587375715544.5232,"atime":"2020-04-20T15:25:57.752Z","mtime":"2020-04-20T15:50:08.768Z","ctime":"2020-04-20T15:50:08.768Z","birthtime":"2020-04-20T09:41:55.545Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-20 23:50:09,037 WARN 47810 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts change -2020-04-20 23:53:36,602 WARN 47810 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts change -2020-04-20 23:53:36,395 INFO 47810 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594122649,"size":13083,"blocks":32,"atimeMs":1587397868751.5923,"mtimeMs":1587398016332.4648,"ctimeMs":1587398016332.4648,"birthtimeMs":1587375715544.5232,"atime":"2020-04-20T15:51:08.752Z","mtime":"2020-04-20T15:53:36.332Z","ctime":"2020-04-20T15:53:36.332Z","birthtime":"2020-04-20T09:41:55.545Z"},"remove":false,"isDirectory":false,"isFile":true} diff --git a/server/logs/game-node-center/agent.log.2020-04-29 b/server/logs/game-node-center/agent.log.2020-04-29 deleted file mode 100644 index 708b916..0000000 --- a/server/logs/game-node-center/agent.log.2020-04-29 +++ /dev/null @@ -1,382 +0,0 @@ -2020-04-21 00:00:01,304 INFO 47810 [egg-logrotator] agent logger reload: got log-reload message -2020-04-21 00:23:22,511 WARN 47810 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts change -2020-04-21 00:23:22,302 INFO 47810 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594122649,"size":13115,"blocks":32,"atimeMs":1587398055958.7688,"mtimeMs":1587399802237.1824,"ctimeMs":1587399802237.1824,"birthtimeMs":1587375715544.5232,"atime":"2020-04-20T15:54:15.959Z","mtime":"2020-04-20T16:23:22.237Z","ctime":"2020-04-20T16:23:22.237Z","birthtime":"2020-04-20T09:41:55.545Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-21 00:28:39,695 WARN 47810 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts change -2020-04-21 00:28:39,488 INFO 47810 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594122649,"size":13210,"blocks":32,"atimeMs":1587399925111.0708,"mtimeMs":1587400119404.301,"ctimeMs":1587400119404.301,"birthtimeMs":1587375715544.5232,"atime":"2020-04-20T16:25:25.111Z","mtime":"2020-04-20T16:28:39.404Z","ctime":"2020-04-20T16:28:39.404Z","birthtime":"2020-04-20T09:41:55.545Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-21 00:30:30,174 WARN 47810 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts change -2020-04-21 00:30:29,964 INFO 47810 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594122649,"size":13209,"blocks":32,"atimeMs":1587400165382.6262,"mtimeMs":1587400229901.3728,"ctimeMs":1587400229901.3728,"birthtimeMs":1587375715544.5232,"atime":"2020-04-20T16:29:25.383Z","mtime":"2020-04-20T16:30:29.901Z","ctime":"2020-04-20T16:30:29.901Z","birthtime":"2020-04-20T09:41:55.545Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-21 22:51:20,169 INFO 49449 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-21 22:51:20,182 INFO 49449 [egg:core] dump config after load, 9ms -2020-04-21 22:51:20,250 INFO 49449 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-21 22:51:20,250 INFO 49449 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-21 22:51:20,250 INFO 49449 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-21 22:51:20,250 INFO 49449 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-21 22:51:20,250 INFO 49449 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-21 22:51:20,250 INFO 49449 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-21 22:51:20,251 INFO 49449 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-21 22:51:20,251 INFO 49449 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-21 22:51:20,251 INFO 49449 [egg-watcher:agent] watcher start success -2020-04-21 22:51:20,298 INFO 49449 [egg:core] dump config after ready, 30ms -2020-04-21 23:01:01,633 INFO 49449 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594138357,"size":5794,"blocks":16,"atimeMs":1587480474446.9482,"mtimeMs":1587481261571.0176,"ctimeMs":1587481261571.0176,"birthtimeMs":1587462280504.6062,"atime":"2020-04-21T14:47:54.447Z","mtime":"2020-04-21T15:01:01.571Z","ctime":"2020-04-21T15:01:01.571Z","birthtime":"2020-04-21T09:44:40.505Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-21 23:01:01,846 WARN 49449 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-21 23:07:07,224 WARN 49449 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-21 23:07:07,018 INFO 49449 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594138357,"size":5846,"blocks":16,"atimeMs":1587481263453.9255,"mtimeMs":1587481626953.4163,"ctimeMs":1587481626953.4163,"birthtimeMs":1587462280504.6062,"atime":"2020-04-21T15:01:03.454Z","mtime":"2020-04-21T15:07:06.953Z","ctime":"2020-04-21T15:07:06.953Z","birthtime":"2020-04-21T09:44:40.505Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-21 23:22:51,922 WARN 49449 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/join.ts change -2020-04-21 23:22:51,721 INFO 49449 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594138357,"size":5887,"blocks":16,"atimeMs":1587481630924.8977,"mtimeMs":1587482571665.1768,"ctimeMs":1587482571665.1768,"birthtimeMs":1587462280504.6062,"atime":"2020-04-21T15:07:10.925Z","mtime":"2020-04-21T15:22:51.665Z","ctime":"2020-04-21T15:22:51.665Z","birthtime":"2020-04-21T09:44:40.505Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-21 23:22:51,721 INFO 49449 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/join.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594138354,"size":2960,"blocks":8,"atimeMs":1587480474449.6377,"mtimeMs":1587482571659.1682,"ctimeMs":1587482571659.1682,"birthtimeMs":1587460252050.7163,"atime":"2020-04-21T14:47:54.450Z","mtime":"2020-04-21T15:22:51.659Z","ctime":"2020-04-21T15:22:51.659Z","birthtime":"2020-04-21T09:10:52.051Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-21 23:40:30,560 INFO 51406 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-21 23:40:30,568 INFO 51406 [egg:core] dump config after load, 5ms -2020-04-21 23:40:30,608 INFO 51406 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-21 23:40:30,608 INFO 51406 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-21 23:40:30,608 INFO 51406 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-21 23:40:30,608 INFO 51406 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-21 23:40:30,608 INFO 51406 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-21 23:40:30,608 INFO 51406 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-21 23:40:30,609 INFO 51406 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-21 23:40:30,609 INFO 51406 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-21 23:40:30,609 INFO 51406 [egg-watcher:agent] watcher start success -2020-04-21 23:40:30,621 INFO 51406 [egg:core] dump config after ready, 5ms -2020-04-22 23:38:13,556 INFO 51855 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-22 23:38:13,566 INFO 51855 [egg:core] dump config after load, 6ms -2020-04-22 23:38:13,628 INFO 51855 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-22 23:38:13,629 INFO 51855 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-22 23:38:13,629 INFO 51855 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-22 23:38:13,629 INFO 51855 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-22 23:38:13,629 INFO 51855 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-22 23:38:13,630 INFO 51855 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-22 23:38:13,630 INFO 51855 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-22 23:38:13,631 INFO 51855 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-22 23:38:13,631 INFO 51855 [egg-watcher:agent] watcher start success -2020-04-22 23:38:13,805 INFO 51855 [egg:core] dump config after ready, 163ms -2020-04-22 23:39:33,398 INFO 51872 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-22 23:39:33,406 INFO 51872 [egg:core] dump config after load, 5ms -2020-04-22 23:39:33,436 INFO 51872 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-22 23:39:33,436 INFO 51872 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-22 23:39:33,436 INFO 51872 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-22 23:39:33,436 INFO 51872 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-22 23:39:33,436 INFO 51872 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-22 23:39:33,436 INFO 51872 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-22 23:39:33,437 INFO 51872 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-22 23:39:33,437 INFO 51872 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-22 23:39:33,437 INFO 51872 [egg-watcher:agent] watcher start success -2020-04-22 23:39:33,452 INFO 51872 [egg:core] dump config after ready, 8ms -2020-04-22 23:44:42,430 INFO 51958 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-22 23:44:42,439 INFO 51958 [egg:core] dump config after load, 4ms -2020-04-22 23:44:42,488 INFO 51958 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-22 23:44:42,488 INFO 51958 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-22 23:44:42,488 INFO 51958 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-22 23:44:42,488 INFO 51958 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-22 23:44:42,488 INFO 51958 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-22 23:44:42,488 INFO 51958 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-22 23:44:42,489 INFO 51958 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-22 23:44:42,489 INFO 51958 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-22 23:44:42,489 INFO 51958 [egg-watcher:agent] watcher start success -2020-04-22 23:44:42,500 INFO 51958 [egg:core] dump config after ready, 5ms -2020-04-22 23:51:32,377 INFO 51958 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594144547,"size":13522,"blocks":32,"atimeMs":1587569691708.252,"mtimeMs":1587570690863.5278,"ctimeMs":1587570690863.5278,"birthtimeMs":1587545680156.9385,"atime":"2020-04-22T15:34:51.708Z","mtime":"2020-04-22T15:51:30.864Z","ctime":"2020-04-22T15:51:30.864Z","birthtime":"2020-04-22T08:54:40.157Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-22 23:51:32,585 WARN 51958 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts change -2020-04-23 21:20:10,675 INFO 52895 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-23 21:20:10,684 INFO 52895 [egg:core] dump config after load, 5ms -2020-04-23 21:20:10,734 INFO 52895 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-23 21:20:10,734 INFO 52895 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-23 21:20:10,735 INFO 52895 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-23 21:20:10,735 INFO 52895 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-23 21:20:10,735 INFO 52895 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-23 21:20:10,735 INFO 52895 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-23 21:20:10,735 INFO 52895 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-23 21:20:10,735 INFO 52895 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-23 21:20:10,736 INFO 52895 [egg-watcher:agent] watcher start success -2020-04-23 21:20:10,823 INFO 52895 [egg:core] dump config after ready, 74ms -2020-04-23 22:40:56,834 ERROR 52895 nodejs.ClusterClientNoResponseError: client no response in 4284658ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 52895 -hostname: 192.168.0.101 - -2020-04-24 00:21:50,021 ERROR 52895 nodejs.ClusterClientNoResponseError: client no response in 6012576ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 52895 -hostname: 192.168.0.101 - -2020-04-24 00:30:09,627 ERROR 52895 nodejs.ClusterClientNoResponseError: client no response in 459401ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 52895 -hostname: 192.168.0.101 - -2020-04-27 21:20:52,323 INFO 56753 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-27 21:20:52,330 INFO 56753 [egg:core] dump config after load, 4ms -2020-04-27 21:20:52,361 INFO 56753 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-27 21:20:52,361 INFO 56753 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-27 21:20:52,361 INFO 56753 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-27 21:20:52,361 INFO 56753 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-27 21:20:52,361 INFO 56753 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-27 21:20:52,361 INFO 56753 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-27 21:20:52,362 INFO 56753 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-27 21:20:52,362 INFO 56753 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-27 21:20:52,362 INFO 56753 [egg-watcher:agent] watcher start success -2020-04-27 21:20:52,469 INFO 56753 [egg:core] dump config after ready, 27ms -2020-04-27 21:38:28,650 WARN 56753 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-27 21:38:28,443 INFO 56753 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594162100,"size":7430,"blocks":16,"atimeMs":1587993210089.0117,"mtimeMs":1587994708377.3418,"ctimeMs":1587994708377.3418,"birthtimeMs":1587976125975.3494,"atime":"2020-04-27T13:13:30.089Z","mtime":"2020-04-27T13:38:28.377Z","ctime":"2020-04-27T13:38:28.377Z","birthtime":"2020-04-27T08:28:45.975Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-27 21:44:55,892 INFO 56871 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-27 21:44:55,901 INFO 56871 [egg:core] dump config after load, 5ms -2020-04-27 21:44:55,945 INFO 56871 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-27 21:44:55,945 INFO 56871 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-27 21:44:55,946 INFO 56871 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-27 21:44:55,946 INFO 56871 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-27 21:44:55,946 INFO 56871 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-27 21:44:55,946 INFO 56871 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-27 21:44:55,946 INFO 56871 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-27 21:44:55,947 INFO 56871 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-27 21:44:55,947 INFO 56871 [egg-watcher:agent] watcher start success -2020-04-27 21:44:55,958 INFO 56871 [egg:core] dump config after ready, 5ms -2020-04-27 21:49:54,188 INFO 56907 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-27 21:49:54,195 INFO 56907 [egg:core] dump config after load, 4ms -2020-04-27 21:49:54,241 INFO 56907 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-27 21:49:54,241 INFO 56907 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-27 21:49:54,241 INFO 56907 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-27 21:49:54,241 INFO 56907 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-27 21:49:54,241 INFO 56907 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-27 21:49:54,241 INFO 56907 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-27 21:49:54,242 INFO 56907 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-27 21:49:54,242 INFO 56907 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-27 21:49:54,242 INFO 56907 [egg-watcher:agent] watcher start success -2020-04-27 21:49:54,261 INFO 56907 [egg:core] dump config after ready, 13ms -2020-04-27 21:51:04,155 INFO 56935 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-27 21:51:04,163 INFO 56935 [egg:core] dump config after load, 4ms -2020-04-27 21:51:04,192 INFO 56935 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-27 21:51:04,192 INFO 56935 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-27 21:51:04,192 INFO 56935 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-27 21:51:04,192 INFO 56935 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-27 21:51:04,192 INFO 56935 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-27 21:51:04,192 INFO 56935 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-27 21:51:04,193 INFO 56935 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-27 21:51:04,193 INFO 56935 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-27 21:51:04,193 INFO 56935 [egg-watcher:agent] watcher start success -2020-04-27 21:51:04,203 INFO 56935 [egg:core] dump config after ready, 5ms -2020-04-27 23:17:33,756 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 2148076ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 00:30:11,623 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 4337854ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 00:40:06,753 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 595091ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 01:11:11,653 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 1843805ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 01:21:23,511 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 570776ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 03:09:41,960 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 6458033ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 03:24:44,838 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 882795ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 05:12:55,001 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 6470018ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 07:00:48,506 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 6473440ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 08:48:57,698 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 6489149ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 10:37:02,870 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 6485145ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 10:42:57,504 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 354600ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 18:09:13,912 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 26776386ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 19:21:07,187 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 4293200ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 23:23:43,771 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 14556566ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 23:26:38,516 INFO 57540 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-28 23:26:38,524 INFO 57540 [egg:core] dump config after load, 5ms -2020-04-28 23:26:38,573 INFO 57540 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-28 23:26:38,573 INFO 57540 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-28 23:26:38,573 INFO 57540 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-28 23:26:38,574 INFO 57540 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-28 23:26:38,574 INFO 57540 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-28 23:26:38,574 INFO 57540 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-28 23:26:38,574 INFO 57540 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-28 23:26:38,574 INFO 57540 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-28 23:26:38,575 INFO 57540 [egg-watcher:agent] watcher start success -2020-04-28 23:26:38,613 INFO 57540 [egg:core] dump config after ready, 27ms -2020-04-28 23:28:24,223 INFO 57567 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-28 23:28:24,230 INFO 57567 [egg:core] dump config after load, 4ms -2020-04-28 23:28:24,259 INFO 57567 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-28 23:28:24,259 INFO 57567 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-28 23:28:24,260 INFO 57567 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-28 23:28:24,260 INFO 57567 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-28 23:28:24,260 INFO 57567 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-28 23:28:24,260 INFO 57567 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-28 23:28:24,260 INFO 57567 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-28 23:28:24,260 INFO 57567 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-28 23:28:24,261 INFO 57567 [egg-watcher:agent] watcher start success -2020-04-28 23:28:24,271 INFO 57567 [egg:core] dump config after ready, 5ms -2020-04-28 23:34:22,953 INFO 57567 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/join.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594169883,"size":3732,"blocks":8,"atimeMs":1588087511587.8967,"mtimeMs":1588088062891.055,"ctimeMs":1588088062891.055,"birthtimeMs":1588036198881.6128,"atime":"2020-04-28T15:25:11.588Z","mtime":"2020-04-28T15:34:22.891Z","ctime":"2020-04-28T15:34:22.891Z","birthtime":"2020-04-28T01:09:58.882Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-28 23:34:23,157 WARN 57567 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/join.ts change -2020-04-28 23:35:55,583 WARN 57567 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-28 23:35:55,380 INFO 57567 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594169886,"size":8312,"blocks":24,"atimeMs":1588087511585.4656,"mtimeMs":1588088153868.165,"ctimeMs":1588088153868.165,"birthtimeMs":1588063579207.8533,"atime":"2020-04-28T15:25:11.585Z","mtime":"2020-04-28T15:35:53.868Z","ctime":"2020-04-28T15:35:53.868Z","birthtime":"2020-04-28T08:46:19.208Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-28 23:37:38,498 INFO 57567 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594169886,"size":8310,"blocks":24,"atimeMs":1588088159246.355,"mtimeMs":1588088258435.9233,"ctimeMs":1588088258435.9233,"birthtimeMs":1588063579207.8533,"atime":"2020-04-28T15:35:59.246Z","mtime":"2020-04-28T15:37:38.436Z","ctime":"2020-04-28T15:37:38.436Z","birthtime":"2020-04-28T08:46:19.208Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-28 23:37:38,700 WARN 57567 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-28 23:44:12,009 WARN 57567 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/Player.ts change -2020-04-28 23:44:11,808 INFO 57567 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594169886,"size":8289,"blocks":24,"atimeMs":1588088260709.6438,"mtimeMs":1588088651750.4502,"ctimeMs":1588088651750.4502,"birthtimeMs":1588063579207.8533,"atime":"2020-04-28T15:37:40.710Z","mtime":"2020-04-28T15:44:11.750Z","ctime":"2020-04-28T15:44:11.750Z","birthtime":"2020-04-28T08:46:19.208Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-28 23:44:11,809 INFO 57567 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/core/Player.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594169877,"size":3477,"blocks":8,"atimeMs":1588087511579.262,"mtimeMs":1588088651747.1584,"ctimeMs":1588088651747.1584,"birthtimeMs":1588064015339.0254,"atime":"2020-04-28T15:25:11.579Z","mtime":"2020-04-28T15:44:11.747Z","ctime":"2020-04-28T15:44:11.747Z","birthtime":"2020-04-28T08:53:35.339Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-28 23:48:32,685 WARN 57567 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-28 23:48:32,482 INFO 57567 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/join.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594169883,"size":3751,"blocks":8,"atimeMs":1588088066691.701,"mtimeMs":1588088912106.053,"ctimeMs":1588088912106.053,"birthtimeMs":1588036198881.6128,"atime":"2020-04-28T15:34:26.692Z","mtime":"2020-04-28T15:48:32.106Z","ctime":"2020-04-28T15:48:32.106Z","birthtime":"2020-04-28T01:09:58.882Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-28 23:48:32,483 INFO 57567 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594169886,"size":8334,"blocks":24,"atimeMs":1588088653753.8696,"mtimeMs":1588088912112.8677,"ctimeMs":1588088912112.8677,"birthtimeMs":1588063579207.8533,"atime":"2020-04-28T15:44:13.754Z","mtime":"2020-04-28T15:48:32.113Z","ctime":"2020-04-28T15:48:32.113Z","birthtime":"2020-04-28T08:46:19.208Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-28 23:51:07,904 WARN 57567 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-28 23:51:07,703 INFO 57567 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594169886,"size":8378,"blocks":24,"atimeMs":1588088916267.348,"mtimeMs":1588089067549.8057,"ctimeMs":1588089067549.8057,"birthtimeMs":1588063579207.8533,"atime":"2020-04-28T15:48:36.267Z","mtime":"2020-04-28T15:51:07.550Z","ctime":"2020-04-28T15:51:07.550Z","birthtime":"2020-04-28T08:46:19.208Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-28 23:51:24,174 INFO 59384 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-28 23:51:24,186 INFO 59384 [egg:core] dump config after load, 7ms -2020-04-28 23:51:24,244 INFO 59384 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-28 23:51:24,244 INFO 59384 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-28 23:51:24,245 INFO 59384 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-28 23:51:24,245 INFO 59384 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-28 23:51:24,245 INFO 59384 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-28 23:51:24,245 INFO 59384 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-28 23:51:24,246 INFO 59384 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-28 23:51:24,246 INFO 59384 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-28 23:51:24,248 INFO 59384 [egg-watcher:agent] watcher start success -2020-04-28 23:51:24,279 INFO 59384 [egg:core] dump config after ready, 17ms -2020-04-29 00:02:34,796 INFO 59464 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-29 00:02:34,804 INFO 59464 [egg:core] dump config after load, 4ms -2020-04-29 00:02:34,848 INFO 59464 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-29 00:02:34,849 INFO 59464 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-29 00:02:34,849 INFO 59464 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-29 00:02:34,849 INFO 59464 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-29 00:02:34,849 INFO 59464 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-29 00:02:34,849 INFO 59464 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-29 00:02:34,850 INFO 59464 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-29 00:02:34,850 INFO 59464 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-29 00:02:34,850 INFO 59464 [egg-watcher:agent] watcher start success -2020-04-29 00:02:34,860 INFO 59464 [egg:core] dump config after ready, 5ms -2020-04-29 00:10:35,385 WARN 59464 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/Player.ts change -2020-04-29 00:10:35,180 INFO 59464 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/core/Player.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594169877,"size":3508,"blocks":8,"atimeMs":1588088913165.1018,"mtimeMs":1588090235117.5437,"ctimeMs":1588090235117.5437,"birthtimeMs":1588064015339.0254,"atime":"2020-04-28T15:48:33.165Z","mtime":"2020-04-28T16:10:35.118Z","ctime":"2020-04-28T16:10:35.118Z","birthtime":"2020-04-28T08:53:35.339Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-29 00:14:57,637 WARN 59464 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change -2020-04-29 00:14:57,430 INFO 59464 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594169886,"size":8364,"blocks":24,"atimeMs":1588089076265.5364,"mtimeMs":1588090497378.455,"ctimeMs":1588090497378.455,"birthtimeMs":1588063579207.8533,"atime":"2020-04-28T15:51:16.266Z","mtime":"2020-04-28T16:14:57.378Z","ctime":"2020-04-28T16:14:57.378Z","birthtime":"2020-04-28T08:46:19.208Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-29 00:20:33,508 WARN 59464 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/lib/baseSocketController.ts change -2020-04-29 00:20:33,307 INFO 59464 [egg-watcher] Recieved a change event from eventSource: {"event":"change","path":"/Users/jorky/code/TexasPokerGame/server/src/lib/baseSocketController.ts","stat":{"dev":16777220,"mode":33188,"nlink":1,"uid":501,"gid":20,"rdev":0,"blksize":4096,"ino":8594169908,"size":2338,"blocks":8,"atimeMs":1588087511606.6775,"mtimeMs":1588090833245.874,"ctimeMs":1588090833245.874,"birthtimeMs":1588064137321.3806,"atime":"2020-04-28T15:25:11.607Z","mtime":"2020-04-28T16:20:33.246Z","ctime":"2020-04-28T16:20:33.246Z","birthtime":"2020-04-28T08:55:37.321Z"},"remove":false,"isDirectory":false,"isFile":true} -2020-04-29 00:26:50,346 INFO 59663 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-29 00:26:50,355 INFO 59663 [egg:core] dump config after load, 5ms -2020-04-29 00:26:50,402 INFO 59663 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-29 00:26:50,402 INFO 59663 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-29 00:26:50,403 INFO 59663 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-29 00:26:50,403 INFO 59663 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-29 00:26:50,403 INFO 59663 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-29 00:26:50,403 INFO 59663 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-29 00:26:50,403 INFO 59663 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-29 00:26:50,403 INFO 59663 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-29 00:26:50,404 INFO 59663 [egg-watcher:agent] watcher start success -2020-04-29 00:26:50,416 INFO 59663 [egg:core] dump config after ready, 5ms -2020-04-29 01:02:27,272 ERROR 59663 nodejs.ClusterClientNoResponseError: client no response in 1833695ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 59663 -hostname: 192.168.0.101 - -2020-04-29 22:12:35,818 INFO 60632 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"agent"} -2020-04-29 22:12:35,825 INFO 60632 [egg:core] dump config after load, 4ms -2020-04-29 22:12:35,865 INFO 60632 [egg-watcher] Start watching: ["/Users/jorky/code/TexasPokerGame/server/src/app","/Users/jorky/code/TexasPokerGame/server/src/lib","/Users/jorky/code/TexasPokerGame/server/src/service","/Users/jorky/code/TexasPokerGame/server/src/config","/Users/jorky/code/TexasPokerGame/server/src/app.ts","/Users/jorky/code/TexasPokerGame/server/src/agent.ts","/Users/jorky/code/TexasPokerGame/server/src/interface.ts"] -2020-04-29 22:12:35,865 INFO 60632 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app" -2020-04-29 22:12:35,865 INFO 60632 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib" -2020-04-29 22:12:35,865 INFO 60632 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service" -2020-04-29 22:12:35,865 INFO 60632 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config" -2020-04-29 22:12:35,865 INFO 60632 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts" -2020-04-29 22:12:35,866 INFO 60632 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts" -2020-04-29 22:12:35,866 INFO 60632 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts" -2020-04-29 22:12:35,866 INFO 60632 [egg-watcher:agent] watcher start success -2020-04-29 22:12:35,881 INFO 60632 [egg:core] dump config after ready, 8ms diff --git a/server/logs/game-node-center/app.log b/server/logs/game-node-center/app.log deleted file mode 100644 index f3ec5d0..0000000 --- a/server/logs/game-node-center/app.log +++ /dev/null @@ -1,12 +0,0 @@ -2020-04-30 00:24:57,558 ERROR 60633 [-/192.168.0.101/-/5ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:25:31,432 ERROR 60633 [-/192.168.0.101/-/1ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:29:30,694 ERROR 60633 [-/192.168.0.101/-/3ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:30:16,787 ERROR 60633 [-/192.168.0.101/-/2ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:30:16,970 ERROR 60633 [-/192.168.0.101/-/2ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:41:54,185 ERROR 60633 [-/192.168.0.101/-/4ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:42:28,928 ERROR 60633 [-/192.168.0.101/-/2ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:43:02,652 ERROR 60633 [-/192.168.0.101/-/3ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:54:28,718 ERROR 60633 [-/192.168.0.101/-/12ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 01:00:54,475 ERROR 60633 [-/192.168.0.103/-/62ms GET /socket.io/?room=628754&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-30 01:02:44,104 ERROR 60633 [-/192.168.0.101/-/1ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 01:03:02,178 ERROR 60633 [-/192.168.0.103/-/18ms GET /socket.io/?room=628754&token=undefined&EIO=3&transport=websocket] room service tick null diff --git a/server/logs/game-node-center/app.log.2020-04-17 b/server/logs/game-node-center/app.log.2020-04-17 deleted file mode 100755 index e69de29..0000000 diff --git a/server/logs/game-node-center/app.log.2020-04-18 b/server/logs/game-node-center/app.log.2020-04-18 deleted file mode 100644 index e60a232..0000000 --- a/server/logs/game-node-center/app.log.2020-04-18 +++ /dev/null @@ -1,384 +0,0 @@ -2020-04-18 00:04:46,776 ERROR 40142 [-/127.0.0.1/-/6ms GET /] invalid token... UnauthorizedError: No authorization token was found - at middleware (/Users/jorky/code/TexasPokerGame/server/node_modules/koa-jwt2/lib/index.js:89:15) - at fn (/Users/jorky/code/TexasPokerGame/server/node_modules/egg-core/lib/loader/mixin/middleware.js:112:12) - at dispatch (/Users/jorky/code/TexasPokerGame/server/node_modules/koa-compose/index.js:42:32) - at /Users/jorky/code/TexasPokerGame/server/node_modules/egg-development/app/middleware/egg_loader_trace.js:9:56 - at dispatch (/Users/jorky/code/TexasPokerGame/server/node_modules/koa-compose/index.js:42:32) - at i18n (/Users/jorky/code/TexasPokerGame/server/node_modules/egg-i18n/app/middleware/i18n.js:13:12) - at dispatch (/Users/jorky/code/TexasPokerGame/server/node_modules/koa-compose/index.js:42:32) - at dispatch (/Users/jorky/code/TexasPokerGame/server/node_modules/koa-compose/index.js:42:32) - at dta (/Users/jorky/code/TexasPokerGame/server/node_modules/egg-security/lib/middlewares/dta.js:12:12) - at dispatch (/Users/jorky/code/TexasPokerGame/server/node_modules/koa-compose/index.js:42:32) { - name: 'UnauthorizedError', - message: 'No authorization token was found', - code: 'credentials_required', - status: 401, - inner: { message: 'No authorization token was found' } -} -2020-04-18 00:12:18,545 INFO 40798 [-/127.0.0.1/-/340ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIn0sImlhdCI6MTU4NzEzOTkzOCwiZXhwIjoxNTg3MTQzNTM4fQ.aL3aknVO4tyA2cVOcTCrJKIgE1f-Ghon6gTE6K_pYgw -2020-04-18 00:12:18,547 INFO 40798 [-/127.0.0.1/-/343ms POST /node/user/login] { - fetchStart: 1587139938218, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587139938547 -} -2020-04-18 00:12:21,711 INFO 40798 [-/127.0.0.1/-/98ms POST /node/game/room] { - fetchStart: 1587139941615, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587139941711 -} -2020-04-18 00:12:53,173 INFO 40798 [-/127.0.0.1/-/203ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MTM5OTczLCJleHAiOjE1ODcxNDM1NzN9.ylMZwcO3zJBv0cEiCzqUN5kbMlg0XZMC-x9x2Q_Oh14 -2020-04-18 00:12:53,175 INFO 40798 [-/127.0.0.1/-/204ms POST /node/user/login] { - fetchStart: 1587139972971, - url: '/node/user/login', - requestBody: { userAccount: 'cai11', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587139973174 -} -2020-04-18 17:38:09,638 ERROR 44297 [-/127.0.0.1/-/10014ms POST /node/user/login] login service error: Error: connect ETIMEDOUT - at PoolConnection.Connection._handleConnectTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:409:13) - at Object.onceWrapper (events.js:417:28) - at Socket.emit (events.js:311:20) - at Socket._onTimeout (net.js:478:8) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - sql: SELECT * FROM `user` WHERE `account` = 'cai' LIMIT 0, 1 { - errorno: 'ETIMEDOUT', - code: 'ETIMEDOUT', - syscall: 'connect', - fatal: true -} -2020-04-18 17:38:09,645 ERROR 44297 [-/127.0.0.1/-/10021ms POST /node/user/login] login-----: Error: connect ETIMEDOUT - at PoolConnection.Connection._handleConnectTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:409:13) - at Object.onceWrapper (events.js:417:28) - at Socket.emit (events.js:311:20) - at Socket._onTimeout (net.js:478:8) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - sql: SELECT * FROM `user` WHERE `account` = 'cai' LIMIT 0, 1 { - errorno: 'ETIMEDOUT', - code: 'ETIMEDOUT', - syscall: 'connect', - fatal: true -} -2020-04-18 17:38:09,646 INFO 44297 [-/127.0.0.1/-/10025ms POST /node/user/login] { - fetchStart: 1587202679622, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587202689646 -} -2020-04-18 17:38:17,935 ERROR 44297 [-/undefined/-/20041ms POST /node/user/login] login service error: Error: Handshake inactivity timeout - at Handshake. (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:160:17) - at Handshake.emit (events.js:311:20) - at Handshake._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8) - at Timer._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Timer.js:32:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.releaseConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:157:10) - at Pool._removeConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:277:8) - sql: SELECT * FROM `user` WHERE `account` = 'cai' LIMIT 0, 1 { - code: 'PROTOCOL_SEQUENCE_TIMEOUT', - fatal: true, - timeout: 10000 -} -2020-04-18 17:38:17,941 ERROR 44297 [-/undefined/-/20044ms POST /node/user/login] login-----: Error: Handshake inactivity timeout - at Handshake. (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:160:17) - at Handshake.emit (events.js:311:20) - at Handshake._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8) - at Timer._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Timer.js:32:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.releaseConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:157:10) - at Pool._removeConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:277:8) - sql: SELECT * FROM `user` WHERE `account` = 'cai' LIMIT 0, 1 { - code: 'PROTOCOL_SEQUENCE_TIMEOUT', - fatal: true, - timeout: 10000 -} -2020-04-18 17:38:17,944 INFO 44297 [-/undefined/-/20049ms POST /node/user/login] { - fetchStart: 1587202679622, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587202697942 -} -2020-04-18 17:39:30,548 INFO 44297 [-/127.0.0.1/-/7454ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIn0sImlhdCI6MTU4NzIwMjc3MCwiZXhwIjoxNTg3MjA2MzcwfQ.8Pf5WDBNIU9FCPEJmOoOLzbFEYkM_FMg-Z0IeyRfssc -2020-04-18 17:39:30,548 INFO 44297 [-/127.0.0.1/-/7454ms POST /node/user/login] { - fetchStart: 1587202763095, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587202770548 -} -2020-04-18 17:39:37,248 INFO 44297 [-/127.0.0.1/-/131ms POST /node/game/room] { - fetchStart: 1587202777118, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587202777247 -} -2020-04-18 17:40:03,603 INFO 44297 [-/127.0.0.1/-/851ms POST /node/game/room] { - fetchStart: 1587202802754, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587202803603 -} -2020-04-18 17:56:13,881 INFO 44671 [-/127.0.0.1/-/113ms POST /node/game/room] { - fetchStart: 1587203773784, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587203773879 -} -2020-04-18 18:15:32,593 ERROR 44714 [-/127.0.0.1/-/45ms GET /socket.io/?room=929975&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MTM5OTczLCJleHAiOjE1ODcxNDM1NzN9.ylMZwcO3zJBv0cEiCzqUN5kbMlg0XZMC-x9x2Q_Oh14&EIO=3&transport=websocket] room service tick null -2020-04-18 18:17:04,322 ERROR 44714 [-/127.0.0.1/-/12ms GET /socket.io/?room=929975&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MTM5OTczLCJleHAiOjE1ODcxNDM1NzN9.ylMZwcO3zJBv0cEiCzqUN5kbMlg0XZMC-x9x2Q_Oh14&EIO=3&transport=websocket] room service tick null -2020-04-18 18:17:49,527 INFO 44714 [-/127.0.0.1/-/193ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIn0sImlhdCI6MTU4NzIwNTA2OSwiZXhwIjoxNTg3MjA4NjY5fQ.utpvl1Ub8OtCOOibSffU1R_5ooYbyha-tS-ng-VYmpA -2020-04-18 18:17:49,528 INFO 44714 [-/127.0.0.1/-/194ms POST /node/user/login] { - fetchStart: 1587205069339, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587205069528 -} -2020-04-18 18:17:52,950 INFO 44714 [-/127.0.0.1/-/99ms POST /node/game/room] { - fetchStart: 1587205072852, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587205072950 -} -2020-04-18 18:23:02,425 INFO 44801 [-/127.0.0.1/-/209ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM -2020-04-18 18:23:02,430 INFO 44801 [-/127.0.0.1/-/214ms POST /node/user/login] { - fetchStart: 1587205382234, - url: '/node/user/login', - requestBody: { userAccount: 'cai11', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587205382430 -} -2020-04-18 18:39:31,789 ERROR 44850 [-/127.0.0.1/-/24ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIn0sImlhdCI6MTU4NzIwMjc3MCwiZXhwIjoxNTg3MjA2MzcwfQ.8Pf5WDBNIU9FCPEJmOoOLzbFEYkM_FMg-Z0IeyRfssc&EIO=3&transport=websocket] room service tick null -2020-04-18 21:17:48,958 ERROR 45196 [-/127.0.0.1/-/1ms GET /] nodejs.ETIMEDOUTError: connect ETIMEDOUT - at PoolConnection.Connection._handleConnectTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:409:13) - at Object.onceWrapper (events.js:417:28) - at Socket.emit (events.js:311:20) - at Socket._onTimeout (net.js:478:8) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - sql: select now() as currentTime; -errorno: "ETIMEDOUT" -code: "ETIMEDOUT" -syscall: "connect" -fatal: true -name: "ETIMEDOUTError" -pid: 45196 -hostname: 192.168.0.104 - -2020-04-18 21:18:28,860 ERROR 45220 [-/127.0.0.1/-/1ms GET /] nodejs.ETIMEDOUTError: connect ETIMEDOUT - at PoolConnection.Connection._handleConnectTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:409:13) - at Object.onceWrapper (events.js:417:28) - at Socket.emit (events.js:311:20) - at Socket._onTimeout (net.js:478:8) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - sql: select now() as currentTime; -errorno: "ETIMEDOUT" -code: "ETIMEDOUT" -syscall: "connect" -fatal: true -name: "ETIMEDOUTError" -pid: 45220 -hostname: 192.168.0.104 - -2020-04-18 21:19:36,801 ERROR 45257 [-/127.0.0.1/-/34ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:36,814 ERROR 45257 [-/127.0.0.1/-/28ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:36,835 ERROR 45257 [-/127.0.0.1/-/19ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:36,851 ERROR 45257 [-/127.0.0.1/-/9ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:36,852 ERROR 45257 [-/127.0.0.1/-/6ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:36,857 ERROR 45257 [-/127.0.0.1/-/9ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:41,019 ERROR 45257 [-/127.0.0.1/-/7ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIn0sImlhdCI6MTU4NzIwNTA2OSwiZXhwIjoxNTg3MjA4NjY5fQ.utpvl1Ub8OtCOOibSffU1R_5ooYbyha-tS-ng-VYmpA&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:45,447 ERROR 45257 [-/127.0.0.1/-/4ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:56,069 INFO 45257 [-/127.0.0.1/-/200ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcl9pZCI6MX0sImlhdCI6MTU4NzIxNTk5NiwiZXhwIjoxNTg3MjE5NTk2fQ.dMbLMKURLqHVPMZU3DJJWdhecFKH_CzHm-uEMRl6PXU -2020-04-18 21:19:56,070 INFO 45257 [-/127.0.0.1/-/202ms POST /node/user/login] { - fetchStart: 1587215995871, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587215996070 -} -2020-04-18 21:19:58,218 INFO 45257 [-/127.0.0.1/-/95ms POST /node/game/room] { - fetchStart: 1587215998126, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587215998218 -} -2020-04-18 21:20:17,561 ERROR 45257 [-/127.0.0.1/-/6ms GET /socket.io/?room=134216&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIn0sImlhdCI6MTU4NzIwNTA2OSwiZXhwIjoxNTg3MjA4NjY5fQ.utpvl1Ub8OtCOOibSffU1R_5ooYbyha-tS-ng-VYmpA&EIO=3&transport=websocket] room service tick null -2020-04-18 21:20:29,282 INFO 45257 [-/127.0.0.1/-/186ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VyX2lkIjozfSwiaWF0IjoxNTg3MjE2MDI5LCJleHAiOjE1ODcyMTk2Mjl9.YMj4yujsyMGM1F-HSIxsToG7t_G8VTij51kuNk0qi1w -2020-04-18 21:20:29,282 INFO 45257 [-/127.0.0.1/-/186ms POST /node/user/login] { - fetchStart: 1587216029097, - url: '/node/user/login', - requestBody: { userAccount: 'cai11', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587216029282 -} -2020-04-18 21:22:53,052 ERROR 45257 [-/127.0.0.1/-/2ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VyX2lkIjozfSwiaWF0IjoxNTg3MjE2MDI5LCJleHAiOjE1ODcyMTk2Mjl9.YMj4yujsyMGM1F-HSIxsToG7t_G8VTij51kuNk0qi1w&EIO=3&transport=websocket] room service tick null -2020-04-18 21:23:04,866 ERROR 45257 [-/127.0.0.1/-/1ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VyX2lkIjozfSwiaWF0IjoxNTg3MjE2MDI5LCJleHAiOjE1ODcyMTk2Mjl9.YMj4yujsyMGM1F-HSIxsToG7t_G8VTij51kuNk0qi1w&EIO=3&transport=websocket] room service tick null -2020-04-18 21:26:20,304 ERROR 45291 [-/127.0.0.1/-/4ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VyX2lkIjozfSwiaWF0IjoxNTg3MjE2MDI5LCJleHAiOjE1ODcyMTk2Mjl9.YMj4yujsyMGM1F-HSIxsToG7t_G8VTij51kuNk0qi1w&EIO=3&transport=websocket] room service tick null -2020-04-18 21:31:30,778 ERROR 45375 [-/127.0.0.1/-/6ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VyX2lkIjozfSwiaWF0IjoxNTg3MjE2MDI5LCJleHAiOjE1ODcyMTk2Mjl9.YMj4yujsyMGM1F-HSIxsToG7t_G8VTij51kuNk0qi1w&EIO=3&transport=websocket] room service tick null -2020-04-18 21:32:39,762 ERROR 45375 [-/127.0.0.1/-/2ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VyX2lkIjozfSwiaWF0IjoxNTg3MjE2MDI5LCJleHAiOjE1ODcyMTk2Mjl9.YMj4yujsyMGM1F-HSIxsToG7t_G8VTij51kuNk0qi1w&EIO=3&transport=websocket] room service tick null -2020-04-18 21:51:10,018 INFO 45461 [-/127.0.0.1/-/217ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3MjE3ODcwLCJleHAiOjE1ODcyMjE0NzB9.alAVu9D5_H5J_sNQtQwtaAPKreVeVNRVXSh-sNjFIZA -2020-04-18 21:51:10,023 INFO 45461 [-/127.0.0.1/-/221ms POST /node/user/login] { - fetchStart: 1587217869817, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587217870022 -} -2020-04-18 21:51:25,473 INFO 45461 [-/127.0.0.1/-/195ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODcyMTc4ODUsImV4cCI6MTU4NzIyMTQ4NX0.7AOgMsqQqCWgbY9ca9RPrFgtEEJf0_aTFbOsJFej_Oo -2020-04-18 21:51:25,476 INFO 45461 [-/127.0.0.1/-/196ms POST /node/user/login] { - fetchStart: 1587217885279, - url: '/node/user/login', - requestBody: { userAccount: 'cai11', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587217885474 -} -2020-04-18 21:51:27,468 INFO 45461 [-/127.0.0.1/-/103ms POST /node/game/room] { - fetchStart: 1587217887366, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587217887468 -} -2020-04-18 21:58:52,989 INFO 45506 [-/127.0.0.1/-/210ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3MjE4MzMyLCJleHAiOjE1ODcyMjE5MzJ9.UsxrDW65P8IS8At_1Hr9VxU4F1ttjW4wGA_tWoqhGdk -2020-04-18 21:58:52,993 INFO 45506 [-/127.0.0.1/-/215ms POST /node/user/login] { - fetchStart: 1587218332798, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587218332993 -} -2020-04-18 21:59:20,222 INFO 45506 [-/127.0.0.1/-/186ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODcyMTgzNjAsImV4cCI6MTU4NzIyMTk2MH0.-RXsh2rGbQqknxH7Xm_JDoEAQNNW9NpsYIeJxgS9vdI -2020-04-18 21:59:20,223 INFO 45506 [-/127.0.0.1/-/186ms POST /node/user/login] { - fetchStart: 1587218360037, - url: '/node/user/login', - requestBody: { userAccount: 'cai11', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587218360222 -} -2020-04-18 21:59:22,093 INFO 45506 [-/127.0.0.1/-/96ms POST /node/game/room] { - fetchStart: 1587218361998, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587218362093 -} -2020-04-18 22:59:40,117 ERROR 45521 [-/127.0.0.1/-/21ms GET /socket.io/?room=508810&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3MjE4MzMyLCJleHAiOjE1ODcyMjE5MzJ9.UsxrDW65P8IS8At_1Hr9VxU4F1ttjW4wGA_tWoqhGdk&EIO=3&transport=websocket] room service tick null -2020-04-18 23:00:07,879 ERROR 45521 [-/127.0.0.1/-/3ms GET /socket.io/?room=508810&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODcyMTgzNjAsImV4cCI6MTU4NzIyMTk2MH0.-RXsh2rGbQqknxH7Xm_JDoEAQNNW9NpsYIeJxgS9vdI&EIO=3&transport=websocket] room service tick null diff --git a/server/logs/game-node-center/app.log.2020-04-20 b/server/logs/game-node-center/app.log.2020-04-20 deleted file mode 100644 index bddeb71..0000000 --- a/server/logs/game-node-center/app.log.2020-04-20 +++ /dev/null @@ -1,41 +0,0 @@ -2020-04-20 23:27:54,324 INFO 47679 [-/127.0.0.1/-/224ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3Mzk2NDc0LCJleHAiOjE1ODc0MTgwNzR9.MKPJhjEZmoD5AnxAeY3UebP_4ZaHbwTpnue-KNRxA4c -2020-04-20 23:27:54,327 INFO 47679 [-/127.0.0.1/-/227ms POST /node/user/login] { - fetchStart: 1587396474116, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587396474327 -} -2020-04-20 23:27:56,377 INFO 47679 [-/127.0.0.1/-/131ms POST /node/game/room] { - fetchStart: 1587396476249, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587396476376 -} -2020-04-20 23:28:18,726 INFO 47679 [-/127.0.0.1/-/234ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODczOTY0OTgsImV4cCI6MTU4NzQxODA5OH0.pTA1PJhSFm-IkvFu6pcLJxiOQGp-XdhJKEAEK2dyyR0 -2020-04-20 23:28:18,727 INFO 47679 [-/127.0.0.1/-/235ms POST /node/user/login] { - fetchStart: 1587396498493, - url: '/node/user/login', - requestBody: { userAccount: 'cai11', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587396498727 -} -2020-04-20 23:28:25,566 ERROR 47679 [-/127.0.0.1/-/15ms GET /socket.io/?room=394598&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-20 23:29:42,173 ERROR 47679 [-/127.0.0.1/-/3ms GET /socket.io/?room=394598&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-20 23:30:04,619 INFO 47679 [-/127.0.0.1/-/329ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODczOTY2MDQsImV4cCI6MTU4NzQxODIwNH0.5eVb-sKMAuFF3x3t8wH3O8BeG3lhJUEwHWwYM64jgbE -2020-04-20 23:30:04,620 INFO 47679 [-/127.0.0.1/-/330ms POST /node/user/login] { - fetchStart: 1587396604291, - url: '/node/user/login', - requestBody: { userAccount: 'cai11', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587396604620 -} diff --git a/server/logs/game-node-center/app.log.2020-04-29 b/server/logs/game-node-center/app.log.2020-04-29 deleted file mode 100644 index 1076bc3..0000000 --- a/server/logs/game-node-center/app.log.2020-04-29 +++ /dev/null @@ -1,373 +0,0 @@ -2020-04-21 00:04:09,977 INFO 47851 [-/127.0.0.1/-/307ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3Mzk4NjQ5LCJleHAiOjE1ODc0MjAyNDl9.DHds4JdE1Ry6ONdqzaDH4D7ghAxvTPpoIuN6uwSKFvw -2020-04-21 00:04:09,980 INFO 47851 [-/127.0.0.1/-/310ms POST /node/user/login] { - fetchStart: 1587398649669, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587398649979 -} -2020-04-21 00:04:19,290 INFO 47851 [-/undefined/-/10246ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3Mzk4NjU5LCJleHAiOjE1ODc0MjAyNTl9.EKpMuQxGnIGRTQZMp9f4RBpwwBAZx1PGeGr4ohqw0I8 -2020-04-21 00:04:19,291 INFO 47851 [-/undefined/-/10248ms POST /node/user/login] { - fetchStart: 1587398649669, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587398659291 -} -2020-04-21 00:04:35,332 INFO 47851 [-/127.0.0.1/-/235ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODczOTg2NzUsImV4cCI6MTU4NzQyMDI3NX0.jl4oGlWiohAYq6t-bpTxMSKhuYBymKqnsmYT7dZmbWs -2020-04-21 00:04:35,333 INFO 47851 [-/127.0.0.1/-/235ms POST /node/user/login] { - fetchStart: 1587398675097, - url: '/node/user/login', - requestBody: { userAccount: 'cai11', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587398675332 -} -2020-04-21 00:13:39,093 INFO 47851 [-/192.168.0.103/-/317ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3Mzk5MjE5LCJleHAiOjE1ODc0MjA4MTl9.xmOGj5zY8OVhQ7JGJQi024xDlroaEqISeNDWNiZ0LnU -2020-04-21 00:13:39,095 INFO 47851 [-/192.168.0.103/-/319ms POST /node/user/login] { - fetchStart: 1587399218777, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587399219095 -} -2020-04-21 00:13:41,978 INFO 47851 [-/undefined/-/10245ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3Mzk5MjIxLCJleHAiOjE1ODc0MjA4MjF9.W2LH7QKBfMqtcQQDihw9FZafYX1UXFAQ7UO0rCDOxr0 -2020-04-21 00:13:41,979 INFO 47851 [-/undefined/-/10246ms POST /node/user/login] { - fetchStart: 1587399218777, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587399221979 -} -2020-04-21 00:13:59,943 INFO 47851 [-/192.168.0.103/-/145ms POST /node/game/room] { - fetchStart: 1587399239806, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587399239943 -} -2020-04-21 00:15:03,495 INFO 47851 [-/192.168.0.103/-/101ms POST /node/game/room] { - fetchStart: 1587399303396, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587399303495 -} -2020-04-21 00:16:35,230 INFO 47851 [-/192.168.0.103/-/194ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoSIsImFjY291bnQiOiJjYWkxMTEiLCJ1c2VySWQiOjJ9LCJpYXQiOjE1ODczOTkzOTUsImV4cCI6MTU4NzQyMDk5NX0.NbHqCVkir6GpW50LD22aMID9gZmvdlKDSXjTWvyeLFs -2020-04-21 00:16:35,230 INFO 47851 [-/192.168.0.103/-/194ms POST /node/user/login] { - fetchStart: 1587399395037, - url: '/node/user/login', - requestBody: { userAccount: 'cai111', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587399395230 -} -2020-04-21 00:24:44,652 INFO 48621 [-/192.168.0.103/-/245ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoSIsImFjY291bnQiOiJjYWkxMTEiLCJ1c2VySWQiOjJ9LCJpYXQiOjE1ODczOTk4ODQsImV4cCI6MTU4NzQyMTQ4NH0.CVCe19KN0vg_4m1-axLTR6pz7DQPRQkcOWvBN5mn6PE -2020-04-21 00:24:44,656 INFO 48621 [-/192.168.0.103/-/249ms POST /node/user/login] { - fetchStart: 1587399884430, - url: '/node/user/login', - requestBody: { userAccount: 'cai111', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587399884656 -} -2020-04-21 00:28:45,512 ERROR 48633 [-/127.0.0.1/-/6ms GET /socket.io/?room=394598&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODczOTY2MDQsImV4cCI6MTU4NzQxODIwNH0.5eVb-sKMAuFF3x3t8wH3O8BeG3lhJUEwHWwYM64jgbE&EIO=3&transport=websocket] room service tick null -2020-04-21 22:52:33,923 INFO 49450 [-/192.168.0.105/-/230ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3NDgwNzUzLCJleHAiOjE1ODc1MDIzNTN9.KxxH7Eiw4toDFNZGwaHSALgEbfIPT8Qjw-7-Hp6XllU -2020-04-21 22:52:33,928 INFO 49450 [-/192.168.0.105/-/234ms POST /node/user/login] { - fetchStart: 1587480753710, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587480753927 -} -2020-04-21 22:52:35,039 INFO 49450 [-/192.168.0.105/-/170ms POST /node/game/room] { - fetchStart: 1587480754871, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587480755038 -} -2020-04-21 23:01:35,326 INFO 49495 [-/192.168.0.105/-/209ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODc0ODEyOTUsImV4cCI6MTU4NzUwMjg5NX0.04tWzzIEspNyYmtY-EzyesrnpVwD7zx-0zG7K9Rdb2s -2020-04-21 23:01:35,331 INFO 49495 [-/192.168.0.105/-/213ms POST /node/user/login] { - fetchStart: 1587481295131, - url: '/node/user/login', - requestBody: { userAccount: 'cai11', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587481295330 -} -2020-04-21 23:04:55,154 ERROR 49495 [-/192.168.0.101/-/13ms GET /socket.io/?room=751675&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoSIsImFjY291bnQiOiJjYWkxMTEiLCJ1c2VySWQiOjJ9LCJpYXQiOjE1ODczOTk4ODQsImV4cCI6MTU4NzQyMTQ4NH0.CVCe19KN0vg_4m1-axLTR6pz7DQPRQkcOWvBN5mn6PE&EIO=3&transport=websocket] room service tick null -2020-04-21 23:05:14,040 INFO 49495 [-/192.168.0.101/-/181ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoSIsImFjY291bnQiOiJjYWkxMTEiLCJ1c2VySWQiOjJ9LCJpYXQiOjE1ODc0ODE1MTQsImV4cCI6MTU4NzUwMzExNH0.C9J4r3Xp_Uf9eslayzzu8f_JOLdaAJd53NeeUsOvhx4 -2020-04-21 23:05:14,041 INFO 49495 [-/192.168.0.101/-/182ms POST /node/user/login] { - fetchStart: 1587481513861, - url: '/node/user/login', - requestBody: { userAccount: 'cai111', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587481514041 -} -2020-04-21 23:40:05,073 ERROR 49588 game already paling -2020-04-22 23:38:24,980 ERROR 51857 [-/127.0.0.1/-/1ms GET /] nodejs.PROTOCOL_SEQUENCE_TIMEOUTError: Handshake inactivity timeout - at Handshake. (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:160:17) - at Handshake.emit (events.js:311:20) - at Handshake._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8) - at Timer._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Timer.js:32:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - sql: select now() as currentTime; -code: "PROTOCOL_SEQUENCE_TIMEOUT" -fatal: true -timeout: 10000 -name: "PROTOCOL_SEQUENCE_TIMEOUTError" -pid: 51857 -hostname: 192.168.0.105 - -2020-04-22 23:39:39,501 ERROR 51873 [-/192.168.0.105/-/12ms GET /socket.io/?room=751675&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODc0ODEyOTUsImV4cCI6MTU4NzUwMjg5NX0.04tWzzIEspNyYmtY-EzyesrnpVwD7zx-0zG7K9Rdb2s&EIO=3&transport=websocket] room service tick null -2020-04-22 23:40:04,092 INFO 51873 [-/192.168.0.105/-/209ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3NTcwMDA0LCJleHAiOjE1ODc1OTE2MDR9.qCv_9sbRdWKY2lYPVz6imLwUkvpRXr1ImmLIPLnwxf4 -2020-04-22 23:40:04,094 INFO 51873 [-/192.168.0.105/-/211ms POST /node/user/login] { - fetchStart: 1587570003886, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587570004094 -} -2020-04-22 23:40:05,232 INFO 51873 [-/192.168.0.105/-/110ms POST /node/game/room] { - fetchStart: 1587570005123, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587570005232 -} -2020-04-22 23:41:20,878 INFO 51873 [-/192.168.0.105/-/205ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3NTcwMDgwLCJleHAiOjE1ODc1OTE2ODB9.S73RaBIpGQVhaELO6yfvBwDNUlrDdo1WUpfE4J_HwZs -2020-04-22 23:41:20,879 INFO 51873 [-/192.168.0.105/-/206ms POST /node/user/login] { - fetchStart: 1587570080673, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587570080879 -} -2020-04-22 23:41:22,229 INFO 51873 [-/192.168.0.105/-/103ms POST /node/game/room] { - fetchStart: 1587570082127, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587570082229 -} -2020-04-22 23:41:48,445 INFO 51873 [-/192.168.0.105/-/202ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODc1NzAxMDgsImV4cCI6MTU4NzU5MTcwOH0.1kZQu3oihvSnCIkyBl9vFK8BK_6wxM7QvlMv0-cfggs -2020-04-22 23:41:48,446 INFO 51873 [-/192.168.0.105/-/203ms POST /node/user/login] { - fetchStart: 1587570108243, - url: '/node/user/login', - requestBody: { userAccount: 'cai11', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587570108446 -} -2020-04-22 23:43:45,866 ERROR 51873 game already paling -2020-04-22 23:45:53,762 INFO 51959 [-/192.168.0.101/-/233ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoSIsImFjY291bnQiOiJjYWkxMTEiLCJ1c2VySWQiOjJ9LCJpYXQiOjE1ODc1NzAzNTMsImV4cCI6MTU4NzU5MTk1M30.QCROHyWqK_5kwhIpE3i2AwOfqsktIcRC7J9FwoZFTX8 -2020-04-22 23:45:53,766 INFO 51959 [-/192.168.0.101/-/237ms POST /node/user/login] { - fetchStart: 1587570353557, - url: '/node/user/login', - requestBody: { userAccount: 'cai111', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587570353766 -} -2020-04-23 21:23:56,163 INFO 52898 [-/192.168.0.101/-/233ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODc2NDgyMzYsImV4cCI6MTU4NzY2OTgzNn0.NLQVoRUOk2eKtPJpXtCoDpCYWkUXSL6vPljR-DKxYh4 -2020-04-23 21:23:56,167 INFO 52898 [-/192.168.0.101/-/237ms POST /node/user/login] { - fetchStart: 1587648235949, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587648236167 -} -2020-04-23 21:23:57,773 INFO 52898 [-/192.168.0.101/-/112ms POST /node/game/room] { - fetchStart: 1587648237662, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587648237772 -} -2020-04-23 21:24:15,611 INFO 52898 [-/192.168.0.101/-/205ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4NzY0ODI1NSwiZXhwIjoxNTg3NjY5ODU1fQ.__TDymI59M3EkIQDEzsjRGaTiZme4EzcbOKvZRjWoQE -2020-04-23 21:24:15,612 INFO 52898 [-/192.168.0.101/-/206ms POST /node/user/login] { - fetchStart: 1587648255407, - url: '/node/user/login', - requestBody: { userAccount: 'cai11', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587648255611 -} -2020-04-23 21:24:57,588 ERROR 52898 [-/192.168.0.105/-/24ms GET /socket.io/?room=652114&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-23 21:25:02,486 ERROR 52898 [-/192.168.0.105/-/5ms GET /socket.io/?room=652114&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-23 21:25:04,225 ERROR 52898 [-/192.168.0.105/-/6ms GET /socket.io/?room=652114&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-23 21:25:15,562 INFO 52898 [-/192.168.0.105/-/203ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4NzY0ODMxNSwiZXhwIjoxNTg3NjY5OTE1fQ.Ts3MaDk8a6wFvN-TNG25Jvw5WOIjpcJHM3K-PMp-6vc -2020-04-23 21:25:15,562 INFO 52898 [-/192.168.0.105/-/204ms POST /node/user/login] { - fetchStart: 1587648315359, - url: '/node/user/login', - requestBody: { userAccount: 'cai111', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587648315562 -} -2020-04-23 22:41:00,428 ERROR 52898 [-/192.168.0.101/-/2ms GET /socket.io/?room=652114&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4NzY0ODI1NSwiZXhwIjoxNTg3NjY5ODU1fQ.__TDymI59M3EkIQDEzsjRGaTiZme4EzcbOKvZRjWoQE&EIO=3&transport=websocket] room service tick null -2020-04-27 21:22:04,595 INFO 56754 [-/192.168.0.103/-/288ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODc5OTM3MjQsImV4cCI6MTU4ODAxNTMyNH0.qg2Hyc4aGmeVpx83_5w8sNnFRxKGuGx_mNMFHEqrS5U -2020-04-27 21:22:04,599 INFO 56754 [-/192.168.0.103/-/292ms POST /node/user/login] { - fetchStart: 1587993724327, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587993724599 -} -2020-04-27 21:22:07,761 INFO 56754 [-/192.168.0.103/-/108ms POST /node/game/room] { - fetchStart: 1587993727655, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1587993727761 -} -2020-04-27 21:22:23,462 INFO 56754 [-/192.168.0.103/-/204ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4Nzk5Mzc0MywiZXhwIjoxNTg4MDE1MzQzfQ.8jtO2T8z2unBTHshVLfUgX78sr_QxMu9Va2BmxgjxAc -2020-04-27 21:22:23,462 INFO 56754 [-/192.168.0.103/-/205ms POST /node/user/login] { - fetchStart: 1587993743257, - url: '/node/user/login', - requestBody: { userAccount: 'cai11', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1587993743462 -} -2020-04-27 22:23:31,588 ERROR 56936 [-/192.168.0.103/-/5ms GET /socket.io/?room=214310&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4Nzk5Mzc0MywiZXhwIjoxNTg4MDE1MzQzfQ.8jtO2T8z2unBTHshVLfUgX78sr_QxMu9Va2BmxgjxAc&EIO=3&transport=websocket] room service tick null -2020-04-27 22:23:31,613 ERROR 56936 [-/192.168.0.103/-/3ms GET /socket.io/?room=214310&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4Nzk5Mzc0MywiZXhwIjoxNTg4MDE1MzQzfQ.8jtO2T8z2unBTHshVLfUgX78sr_QxMu9Va2BmxgjxAc&EIO=3&transport=websocket] room service tick null -2020-04-27 22:23:31,614 ERROR 56936 [-/192.168.0.103/-/3ms GET /socket.io/?room=214310&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4Nzk5Mzc0MywiZXhwIjoxNTg4MDE1MzQzfQ.8jtO2T8z2unBTHshVLfUgX78sr_QxMu9Va2BmxgjxAc&EIO=3&transport=websocket] room service tick null -2020-04-27 22:23:31,615 ERROR 56936 [-/192.168.0.103/-/3ms GET /socket.io/?room=214310&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4Nzk5Mzc0MywiZXhwIjoxNTg4MDE1MzQzfQ.8jtO2T8z2unBTHshVLfUgX78sr_QxMu9Va2BmxgjxAc&EIO=3&transport=websocket] room service tick null -2020-04-28 23:26:49,918 ERROR 57542 [-/127.0.0.1/-/1ms GET /] nodejs.PROTOCOL_SEQUENCE_TIMEOUTError: Handshake inactivity timeout - at Handshake. (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:160:17) - at Handshake.emit (events.js:311:20) - at Handshake._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8) - at Timer._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Timer.js:32:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - sql: select now() as currentTime; -code: "PROTOCOL_SEQUENCE_TIMEOUT" -fatal: true -timeout: 10000 -name: "PROTOCOL_SEQUENCE_TIMEOUTError" -pid: 57542 -hostname: 192.168.0.101 - -2020-04-28 23:29:18,369 INFO 57568 [-/192.168.0.101/-/223ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgwODc3NTgsImV4cCI6MTU4ODEwOTM1OH0.raY5uwkqn0zYe8tiY_2eDCwOzlxXbsnxQfcjL4bUiMs -2020-04-28 23:29:18,372 INFO 57568 [-/192.168.0.101/-/226ms POST /node/user/login] { - fetchStart: 1588087758162, - url: '/node/user/login', - requestBody: { userAccount: 'cai', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1588087758372 -} -2020-04-28 23:29:20,885 INFO 57568 [-/192.168.0.101/-/103ms POST /node/game/room] { - fetchStart: 1588087760785, - url: '/node/game/room', - requestBody: {}, - message: 'POST /node/game/room info', - level: 'INFO', - status: 200, - fetchEnd: 1588087760885 -} -2020-04-28 23:29:41,536 INFO 57568 [-/192.168.0.101/-/186ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4ODA4Nzc4MSwiZXhwIjoxNTg4MTA5MzgxfQ.-HaI_Ir_qaEisBWdja_RWZVfA0GS9IHzgK7NAlkorKk -2020-04-28 23:29:41,537 INFO 57568 [-/192.168.0.101/-/187ms POST /node/user/login] { - fetchStart: 1588087781350, - url: '/node/user/login', - requestBody: { userAccount: 'cai11', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1588087781537 -} -2020-04-28 23:32:03,806 ERROR 57568 [-/192.168.0.103/-/25ms GET /socket.io/?room=652114&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-28 23:32:05,275 ERROR 57568 [-/192.168.0.103/-/4ms GET /socket.io/?room=652114&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-28 23:32:12,541 ERROR 57568 [-/192.168.0.103/-/7ms GET /socket.io/?room=652114&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-28 23:32:14,387 ERROR 57568 [-/192.168.0.103/-/4ms GET /socket.io/?room=473957&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-28 23:32:16,194 ERROR 57568 [-/192.168.0.103/-/4ms GET /socket.io/?room=473957&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-28 23:32:35,688 INFO 57568 [-/192.168.0.103/-/188ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4ODA4Nzk1NSwiZXhwIjoxNTg4MTA5NTU1fQ.ImRv9G2O2c7i0Vj0GmazIt5nrfQ8XXmncVNbL1_YzyA -2020-04-28 23:32:35,689 INFO 57568 [-/192.168.0.103/-/189ms POST /node/user/login] { - fetchStart: 1588087955502, - url: '/node/user/login', - requestBody: { userAccount: 'cai111', password: '123' }, - message: 'POST /node/user/login info', - level: 'INFO', - status: 200, - fetchEnd: 1588087955689 -} -2020-04-28 23:33:03,015 ERROR 57568 player not enough -2020-04-28 23:34:52,944 ERROR 59295 player not enough -2020-04-28 23:37:18,491 ERROR 59320 player not enough -2020-04-29 00:30:16,543 ERROR 59664 [-/192.168.0.103/-/4ms GET /socket.io/?room=473957&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4ODA4Nzk1NSwiZXhwIjoxNTg4MTA5NTU1fQ.ImRv9G2O2c7i0Vj0GmazIt5nrfQ8XXmncVNbL1_YzyA&EIO=3&transport=websocket] room service tick null -2020-04-29 00:30:16,651 ERROR 59664 [-/192.168.0.103/-/4ms GET /socket.io/?room=473957&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4ODA4Nzk1NSwiZXhwIjoxNTg4MTA5NTU1fQ.ImRv9G2O2c7i0Vj0GmazIt5nrfQ8XXmncVNbL1_YzyA&EIO=3&transport=websocket] room service tick null -2020-04-29 23:17:55,297 ERROR 60633 [-/192.168.0.101/-/40ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-29 23:18:03,853 ERROR 60633 [-/192.168.0.101/-/3ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-29 23:18:45,742 ERROR 60633 [-/192.168.0.101/-/2ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-29 23:20:25,926 ERROR 60633 [-/192.168.0.101/-/1ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-29 23:37:21,244 ERROR 60633 [-/192.168.0.101/-/22ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-29 23:45:40,080 ERROR 60633 [-/192.168.0.101/-/9ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null diff --git a/server/logs/game-node-center/core.log b/server/logs/game-node-center/core.log deleted file mode 100644 index 11e21a8..0000000 --- a/server/logs/game-node-center/core.log +++ /dev/null @@ -1,10 +0,0 @@ -2020-04-30 00:00:01,070 INFO 60633 [egg-logrotator] app logger reload: got log-reload message -2020-04-30 01:35:35,310 WARN 60633 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-30 02:13:38,293 WARN 60633 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-30 02:51:15,066 WARN 60633 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-30 04:05:22,137 WARN 60633 [TCPBase] socket is closed by other side while there were still unhandled data in the socket buffer -2020-04-30 04:05:22,137 WARN 60633 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-30 05:53:34,094 WARN 60633 [TCPBase] socket is closed by other side while there were still unhandled data in the socket buffer -2020-04-30 05:53:34,095 WARN 60633 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-30 07:41:45,992 WARN 60633 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-30 08:17:43,444 WARN 60633 [ClusterClient:Watcher] follower closed, and try to init it again diff --git a/server/logs/game-node-center/core.log.2020-04-17 b/server/logs/game-node-center/core.log.2020-04-17 deleted file mode 100755 index b6e3f92..0000000 --- a/server/logs/game-node-center/core.log.2020-04-17 +++ /dev/null @@ -1,199 +0,0 @@ -2020-04-14 22:10:47,071 INFO 36443 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-14 22:10:47,096 INFO 36443 [egg-multipart] stream mode enable -2020-04-14 22:10:47,154 INFO 36443 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-14 22:10:47,176 INFO 36443 [egg-mysql] connecting root@127.0.0.1:3306/poker -2020-04-14 22:10:47,342 INFO 36443 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-14 22:10:47,343 INFO 36443 [egg-security] use noopen middleware -2020-04-14 22:10:47,344 INFO 36443 [egg-security] use nosniff middleware -2020-04-14 22:10:47,345 INFO 36443 [egg-security] use xssProtection middleware -2020-04-14 22:10:47,345 INFO 36443 [egg-security] use xframe middleware -2020-04-14 22:10:47,346 INFO 36443 [egg-security] use dta middleware -2020-04-14 22:10:47,346 INFO 36443 [egg-security] compose 5 middlewares into one security middleware -2020-04-14 22:10:47,355 INFO 36443 [egg:core] dump config after load, 6ms -2020-04-14 22:10:47,370 INFO 36443 [egg-redis] client connect success -2020-04-14 22:10:47,380 ERROR 36443 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 36443 -hostname: 192.168.0.100 - -2020-04-14 22:10:47,380 ERROR 36443 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 36443 -hostname: 192.168.0.100 - -2020-04-14 22:10:47,390 ERROR 36443 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 36443 -hostname: 192.168.0.100 - -2020-04-14 22:10:47,391 ERROR 36443 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 36443 -hostname: 192.168.0.100 - -2020-04-14 22:10:47,394 INFO 36443 [egg-redis] instance[0] status OK, client ready -2020-04-14 22:10:47,400 INFO 36443 [egg-watcher:application] watcher start success -2020-04-14 22:10:47,434 INFO 36443 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 14 2020 22:10:47 GMT+0800 (China Standard Time) -2020-04-14 22:10:47,458 INFO 36443 [egg:core] dump config after ready, 5ms -2020-04-17 23:56:22,569 INFO 39851 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-17 23:56:22,595 INFO 39851 [egg-multipart] stream mode enable -2020-04-17 23:56:22,646 INFO 39851 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-17 23:56:22,664 INFO 39851 [egg-mysql] connecting root@127.0.0.1:3306/poker -2020-04-17 23:56:22,846 INFO 39851 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-17 23:56:22,849 INFO 39851 [egg-security] use noopen middleware -2020-04-17 23:56:22,850 INFO 39851 [egg-security] use nosniff middleware -2020-04-17 23:56:22,851 INFO 39851 [egg-security] use xssProtection middleware -2020-04-17 23:56:22,852 INFO 39851 [egg-security] use xframe middleware -2020-04-17 23:56:22,853 INFO 39851 [egg-security] use dta middleware -2020-04-17 23:56:22,853 INFO 39851 [egg-security] compose 5 middlewares into one security middleware -2020-04-17 23:56:22,862 INFO 39851 [egg:core] dump config after load, 6ms -2020-04-17 23:56:22,880 INFO 39851 [egg-redis] client connect success -2020-04-17 23:56:22,887 ERROR 39851 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39851 -hostname: 192.168.0.104 - -2020-04-17 23:56:22,888 ERROR 39851 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39851 -hostname: 192.168.0.104 - -2020-04-17 23:56:22,888 ERROR 39851 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39851 -hostname: 192.168.0.104 - -2020-04-17 23:56:22,888 ERROR 39851 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39851 -hostname: 192.168.0.104 - -2020-04-17 23:56:22,890 INFO 39851 [egg-redis] instance[0] status OK, client ready -2020-04-17 23:56:22,896 INFO 39851 [egg-watcher:application] watcher start success -2020-04-17 23:56:22,915 INFO 39851 [egg-mysql] instance[0] status OK, rds currentTime: Fri Apr 17 2020 23:56:22 GMT+0800 (China Standard Time) -2020-04-17 23:56:22,938 INFO 39851 [egg:core] dump config after ready, 7ms -2020-04-17 23:56:55,608 INFO 39899 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-17 23:56:55,630 INFO 39899 [egg-multipart] stream mode enable -2020-04-17 23:56:55,687 INFO 39899 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-17 23:56:55,704 INFO 39899 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-17 23:56:55,862 INFO 39899 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-17 23:56:55,864 INFO 39899 [egg-security] use noopen middleware -2020-04-17 23:56:55,866 INFO 39899 [egg-security] use nosniff middleware -2020-04-17 23:56:55,866 INFO 39899 [egg-security] use xssProtection middleware -2020-04-17 23:56:55,867 INFO 39899 [egg-security] use xframe middleware -2020-04-17 23:56:55,868 INFO 39899 [egg-security] use dta middleware -2020-04-17 23:56:55,868 INFO 39899 [egg-security] compose 5 middlewares into one security middleware -2020-04-17 23:56:55,876 INFO 39899 [egg:core] dump config after load, 6ms -2020-04-17 23:56:55,888 INFO 39899 [egg-redis] client connect success -2020-04-17 23:56:55,891 ERROR 39899 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39899 -hostname: 192.168.0.104 - -2020-04-17 23:56:55,892 ERROR 39899 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39899 -hostname: 192.168.0.104 - -2020-04-17 23:56:55,892 ERROR 39899 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39899 -hostname: 192.168.0.104 - -2020-04-17 23:56:55,892 ERROR 39899 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39899 -hostname: 192.168.0.104 - -2020-04-17 23:56:55,894 INFO 39899 [egg-redis] instance[0] status OK, client ready -2020-04-17 23:56:55,895 INFO 39899 [egg-watcher:application] watcher start success -2020-04-17 23:56:56,095 INFO 39899 [egg-mysql] instance[0] status OK, rds currentTime: Fri Apr 17 2020 23:56:56 GMT+0800 (China Standard Time) -2020-04-17 23:56:56,130 INFO 39899 [egg:core] dump config after ready, 7ms -2020-04-17 23:57:56,991 INFO 39967 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-17 23:57:57,018 INFO 39967 [egg-multipart] stream mode enable -2020-04-17 23:57:57,039 INFO 39967 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-17 23:57:57,054 INFO 39967 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-17 23:57:57,132 INFO 39967 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-17 23:57:57,134 INFO 39967 [egg-security] use noopen middleware -2020-04-17 23:57:57,134 INFO 39967 [egg-security] use nosniff middleware -2020-04-17 23:57:57,135 INFO 39967 [egg-security] use xssProtection middleware -2020-04-17 23:57:57,135 INFO 39967 [egg-security] use xframe middleware -2020-04-17 23:57:57,135 INFO 39967 [egg-security] use dta middleware -2020-04-17 23:57:57,135 INFO 39967 [egg-security] compose 5 middlewares into one security middleware -2020-04-17 23:57:57,144 INFO 39967 [egg:core] dump config after load, 6ms -2020-04-17 23:57:57,157 INFO 39967 [egg-redis] client connect success -2020-04-17 23:57:57,162 ERROR 39967 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39967 -hostname: 192.168.0.104 - -2020-04-17 23:57:57,163 ERROR 39967 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39967 -hostname: 192.168.0.104 - -2020-04-17 23:57:57,164 ERROR 39967 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39967 -hostname: 192.168.0.104 - -2020-04-17 23:57:57,164 ERROR 39967 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39967 -hostname: 192.168.0.104 - -2020-04-17 23:57:57,166 INFO 39967 [egg-redis] instance[0] status OK, client ready -2020-04-17 23:57:57,168 INFO 39967 [egg-watcher:application] watcher start success -2020-04-17 23:57:57,536 INFO 39967 [egg-mysql] instance[0] status OK, rds currentTime: Fri Apr 17 2020 23:57:57 GMT+0800 (China Standard Time) -2020-04-17 23:57:57,553 INFO 39967 [egg:core] dump config after ready, 7ms -2020-04-18 00:00:00,117 INFO 39967 [egg-logrotator] clean all log before 31 days -2020-04-18 00:00:01,016 INFO 39967 [egg-logrotator] broadcast log-reload -2020-04-18 00:00:01,017 INFO 39967 [egg-logrotator] rotate files success by DayRotator, files ["/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/error.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/error.log.2020-04-17","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/app.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/app.log.2020-04-17","/Users/jorky/code/TexasPokerGame/server/logs/ELKLog/info.log -> /Users/jorky/code/TexasPokerGame/server/logs/ELKLog/info.log.2020-04-17","/Users/jorky/code/TexasPokerGame/server/logs/ELKLog/error.log -> /Users/jorky/code/TexasPokerGame/server/logs/ELKLog/error.log.2020-04-17","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/core.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/core.log.2020-04-17","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/egg-schedule.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/egg-schedule.log.2020-04-17","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/agent.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/agent.log.2020-04-17"] diff --git a/server/logs/game-node-center/core.log.2020-04-18 b/server/logs/game-node-center/core.log.2020-04-18 deleted file mode 100644 index a2c1b76..0000000 --- a/server/logs/game-node-center/core.log.2020-04-18 +++ /dev/null @@ -1,638 +0,0 @@ -2020-04-18 00:00:01,018 INFO 39967 [egg-logrotator] app logger reload: got log-reload message -2020-04-18 00:00:58,881 INFO 40033 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 00:00:58,905 INFO 40033 [egg-multipart] stream mode enable -2020-04-18 00:00:58,968 INFO 40033 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 00:00:58,996 INFO 40033 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 00:00:59,169 INFO 40033 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 00:00:59,171 INFO 40033 [egg-security] use noopen middleware -2020-04-18 00:00:59,172 INFO 40033 [egg-security] use nosniff middleware -2020-04-18 00:00:59,173 INFO 40033 [egg-security] use xssProtection middleware -2020-04-18 00:00:59,174 INFO 40033 [egg-security] use xframe middleware -2020-04-18 00:00:59,175 INFO 40033 [egg-security] use dta middleware -2020-04-18 00:00:59,175 INFO 40033 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 00:00:59,184 INFO 40033 [egg:core] dump config after load, 6ms -2020-04-18 00:00:59,197 INFO 40033 [egg-redis] client connect success -2020-04-18 00:00:59,202 ERROR 40033 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40033 -hostname: 192.168.0.104 - -2020-04-18 00:00:59,202 ERROR 40033 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40033 -hostname: 192.168.0.104 - -2020-04-18 00:00:59,202 ERROR 40033 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40033 -hostname: 192.168.0.104 - -2020-04-18 00:00:59,203 ERROR 40033 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40033 -hostname: 192.168.0.104 - -2020-04-18 00:00:59,204 INFO 40033 [egg-redis] instance[0] status OK, client ready -2020-04-18 00:00:59,206 INFO 40033 [egg-watcher:application] watcher start success -2020-04-18 00:00:59,397 INFO 40033 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 00:00:59 GMT+0800 (China Standard Time) -2020-04-18 00:00:59,427 INFO 40033 [egg:core] dump config after ready, 6ms -2020-04-18 00:02:57,125 INFO 40064 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 00:02:57,148 INFO 40064 [egg-multipart] stream mode enable -2020-04-18 00:02:57,209 INFO 40064 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 00:02:57,225 INFO 40064 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 00:02:57,402 INFO 40064 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 00:02:57,404 INFO 40064 [egg-security] use noopen middleware -2020-04-18 00:02:57,406 INFO 40064 [egg-security] use nosniff middleware -2020-04-18 00:02:57,407 INFO 40064 [egg-security] use xssProtection middleware -2020-04-18 00:02:57,408 INFO 40064 [egg-security] use xframe middleware -2020-04-18 00:02:57,409 INFO 40064 [egg-security] use dta middleware -2020-04-18 00:02:57,409 INFO 40064 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 00:02:57,417 INFO 40064 [egg:core] dump config after load, 5ms -2020-04-18 00:02:57,429 INFO 40064 [egg-redis] client connect success -2020-04-18 00:02:57,432 ERROR 40064 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40064 -hostname: 192.168.0.104 - -2020-04-18 00:02:57,433 ERROR 40064 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40064 -hostname: 192.168.0.104 - -2020-04-18 00:02:57,433 ERROR 40064 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40064 -hostname: 192.168.0.104 - -2020-04-18 00:02:57,434 ERROR 40064 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40064 -hostname: 192.168.0.104 - -2020-04-18 00:02:57,435 INFO 40064 [egg-redis] instance[0] status OK, client ready -2020-04-18 00:02:57,437 INFO 40064 [egg-watcher:application] watcher start success -2020-04-18 00:02:57,641 INFO 40064 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 00:02:57 GMT+0800 (China Standard Time) -2020-04-18 00:02:57,670 INFO 40064 [egg:core] dump config after ready, 6ms -2020-04-18 00:04:10,105 INFO 40064 [egg-redis] client connect success -2020-04-18 00:04:40,436 INFO 40142 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 00:04:40,459 INFO 40142 [egg-multipart] stream mode enable -2020-04-18 00:04:40,517 INFO 40142 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 00:04:40,537 INFO 40142 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 00:04:40,712 INFO 40142 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 00:04:40,714 INFO 40142 [egg-security] use noopen middleware -2020-04-18 00:04:40,715 INFO 40142 [egg-security] use nosniff middleware -2020-04-18 00:04:40,717 INFO 40142 [egg-security] use xssProtection middleware -2020-04-18 00:04:40,718 INFO 40142 [egg-security] use xframe middleware -2020-04-18 00:04:40,719 INFO 40142 [egg-security] use dta middleware -2020-04-18 00:04:40,719 INFO 40142 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 00:04:40,728 INFO 40142 [egg:core] dump config after load, 6ms -2020-04-18 00:04:40,741 INFO 40142 [egg-redis] client connect success -2020-04-18 00:04:40,746 INFO 40142 [egg-redis] instance[0] status OK, client ready -2020-04-18 00:04:40,749 INFO 40142 [egg-watcher:application] watcher start success -2020-04-18 00:04:40,930 INFO 40142 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 00:04:40 GMT+0800 (China Standard Time) -2020-04-18 00:04:40,953 INFO 40142 [egg:core] dump config after ready, 8ms -2020-04-18 00:12:09,489 INFO 40798 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 00:12:09,517 INFO 40798 [egg-multipart] stream mode enable -2020-04-18 00:12:09,577 INFO 40798 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 00:12:09,597 INFO 40798 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 00:12:09,953 INFO 40798 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 00:12:09,954 INFO 40798 [egg-security] use noopen middleware -2020-04-18 00:12:09,955 INFO 40798 [egg-security] use nosniff middleware -2020-04-18 00:12:09,955 INFO 40798 [egg-security] use xssProtection middleware -2020-04-18 00:12:09,956 INFO 40798 [egg-security] use xframe middleware -2020-04-18 00:12:09,957 INFO 40798 [egg-security] use dta middleware -2020-04-18 00:12:09,957 INFO 40798 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 00:12:10,012 INFO 40798 [egg:core] dump config after load, 52ms -2020-04-18 00:12:10,115 INFO 40798 [egg-redis] client connect success -2020-04-18 00:12:10,122 INFO 40798 [egg-redis] instance[0] status OK, client ready -2020-04-18 00:12:10,131 INFO 40798 [egg-watcher:application] watcher start success -2020-04-18 00:12:10,222 INFO 40798 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 00:12:10 GMT+0800 (China Standard Time) -2020-04-18 00:12:10,242 INFO 40798 [egg:core] dump config after ready, 7ms -2020-04-18 00:30:45,903 INFO 41667 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 00:30:45,929 INFO 41667 [egg-multipart] stream mode enable -2020-04-18 00:30:45,964 INFO 41667 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 00:30:45,980 INFO 41667 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 00:30:46,130 INFO 41667 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 00:30:46,132 INFO 41667 [egg-security] use noopen middleware -2020-04-18 00:30:46,133 INFO 41667 [egg-security] use nosniff middleware -2020-04-18 00:30:46,134 INFO 41667 [egg-security] use xssProtection middleware -2020-04-18 00:30:46,136 INFO 41667 [egg-security] use xframe middleware -2020-04-18 00:30:46,136 INFO 41667 [egg-security] use dta middleware -2020-04-18 00:30:46,136 INFO 41667 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 00:30:46,145 INFO 41667 [egg:core] dump config after load, 6ms -2020-04-18 00:30:46,160 INFO 41667 [egg-redis] client connect success -2020-04-18 00:30:46,165 INFO 41667 [egg-redis] instance[0] status OK, client ready -2020-04-18 00:30:46,168 INFO 41667 [egg-watcher:application] watcher start success -2020-04-18 00:30:46,373 INFO 41667 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 00:30:46 GMT+0800 (China Standard Time) -2020-04-18 00:30:46,400 INFO 41667 [egg:core] dump config after ready, 6ms -2020-04-18 17:35:50,519 INFO 44297 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 17:35:50,541 INFO 44297 [egg-multipart] stream mode enable -2020-04-18 17:35:50,564 INFO 44297 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 17:35:50,579 INFO 44297 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 17:35:50,657 INFO 44297 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 17:35:50,659 INFO 44297 [egg-security] use noopen middleware -2020-04-18 17:35:50,659 INFO 44297 [egg-security] use nosniff middleware -2020-04-18 17:35:50,659 INFO 44297 [egg-security] use xssProtection middleware -2020-04-18 17:35:50,660 INFO 44297 [egg-security] use xframe middleware -2020-04-18 17:35:50,660 INFO 44297 [egg-security] use dta middleware -2020-04-18 17:35:50,660 INFO 44297 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 17:35:50,673 INFO 44297 [egg:core] dump config after load, 10ms -2020-04-18 17:35:50,693 INFO 44297 [egg-redis] client connect success -2020-04-18 17:35:50,702 INFO 44297 [egg-watcher:application] watcher start success -2020-04-18 17:35:50,715 INFO 44297 [egg-redis] instance[0] status OK, client ready -2020-04-18 17:35:53,890 INFO 44297 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 17:35:55 GMT+0800 (China Standard Time) -2020-04-18 17:35:53,922 INFO 44297 [egg:core] dump config after ready, 7ms -2020-04-18 17:55:47,100 INFO 44671 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 17:55:47,123 INFO 44671 [egg-multipart] stream mode enable -2020-04-18 17:55:47,187 INFO 44671 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 17:55:47,206 INFO 44671 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 17:55:47,377 INFO 44671 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 17:55:47,383 INFO 44671 [egg-security] use noopen middleware -2020-04-18 17:55:47,383 INFO 44671 [egg-security] use nosniff middleware -2020-04-18 17:55:47,384 INFO 44671 [egg-security] use xssProtection middleware -2020-04-18 17:55:47,385 INFO 44671 [egg-security] use xframe middleware -2020-04-18 17:55:47,386 INFO 44671 [egg-security] use dta middleware -2020-04-18 17:55:47,386 INFO 44671 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 17:55:47,396 INFO 44671 [egg:core] dump config after load, 8ms -2020-04-18 17:55:47,416 INFO 44671 [egg-redis] client connect success -2020-04-18 17:55:47,425 INFO 44671 [egg-redis] instance[0] status OK, client ready -2020-04-18 17:55:47,427 INFO 44671 [egg-watcher:application] watcher start success -2020-04-18 17:55:47,586 INFO 44671 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 17:55:48 GMT+0800 (China Standard Time) -2020-04-18 17:55:47,622 INFO 44671 [egg:core] dump config after ready, 8ms -2020-04-18 18:14:29,974 INFO 44714 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 18:14:30,018 INFO 44714 [egg-multipart] stream mode enable -2020-04-18 18:14:30,069 INFO 44714 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 18:14:30,087 INFO 44714 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 18:14:30,283 INFO 44714 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 18:14:30,285 INFO 44714 [egg-security] use noopen middleware -2020-04-18 18:14:30,286 INFO 44714 [egg-security] use nosniff middleware -2020-04-18 18:14:30,286 INFO 44714 [egg-security] use xssProtection middleware -2020-04-18 18:14:30,287 INFO 44714 [egg-security] use xframe middleware -2020-04-18 18:14:30,288 INFO 44714 [egg-security] use dta middleware -2020-04-18 18:14:30,288 INFO 44714 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 18:14:30,300 INFO 44714 [egg:core] dump config after load, 9ms -2020-04-18 18:14:30,314 INFO 44714 [egg-redis] client connect success -2020-04-18 18:14:30,320 INFO 44714 [egg-redis] instance[0] status OK, client ready -2020-04-18 18:14:30,322 INFO 44714 [egg-watcher:application] watcher start success -2020-04-18 18:14:30,496 INFO 44714 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 18:14:31 GMT+0800 (China Standard Time) -2020-04-18 18:14:30,516 INFO 44714 [egg:core] dump config after ready, 4ms -2020-04-18 18:19:21,854 INFO 44785 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 18:19:21,881 INFO 44785 [egg-multipart] stream mode enable -2020-04-18 18:19:21,937 INFO 44785 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 18:19:21,955 INFO 44785 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 18:19:22,116 INFO 44785 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 18:19:22,118 INFO 44785 [egg-security] use noopen middleware -2020-04-18 18:19:22,118 INFO 44785 [egg-security] use nosniff middleware -2020-04-18 18:19:22,119 INFO 44785 [egg-security] use xssProtection middleware -2020-04-18 18:19:22,120 INFO 44785 [egg-security] use xframe middleware -2020-04-18 18:19:22,120 INFO 44785 [egg-security] use dta middleware -2020-04-18 18:19:22,120 INFO 44785 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 18:19:22,129 INFO 44785 [egg:core] dump config after load, 5ms -2020-04-18 18:19:22,158 INFO 44785 [egg-redis] client connect success -2020-04-18 18:19:22,180 INFO 44785 [egg-redis] instance[0] status OK, client ready -2020-04-18 18:19:22,182 INFO 44785 [egg-watcher:application] watcher start success -2020-04-18 18:19:22,309 INFO 44785 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 18:19:23 GMT+0800 (China Standard Time) -2020-04-18 18:19:22,336 INFO 44785 [egg:core] dump config after ready, 7ms -2020-04-18 18:19:25,495 INFO 44788 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 18:19:25,518 INFO 44788 [egg-multipart] stream mode enable -2020-04-18 18:19:25,543 INFO 44788 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 18:19:25,560 INFO 44788 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 18:19:25,650 INFO 44788 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 18:19:25,654 INFO 44788 [egg-security] use noopen middleware -2020-04-18 18:19:25,654 INFO 44788 [egg-security] use nosniff middleware -2020-04-18 18:19:25,655 INFO 44788 [egg-security] use xssProtection middleware -2020-04-18 18:19:25,655 INFO 44788 [egg-security] use xframe middleware -2020-04-18 18:19:25,655 INFO 44788 [egg-security] use dta middleware -2020-04-18 18:19:25,655 INFO 44788 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 18:19:25,666 INFO 44788 [egg:core] dump config after load, 8ms -2020-04-18 18:19:25,689 INFO 44788 [egg-redis] client connect success -2020-04-18 18:19:25,696 INFO 44788 [egg-redis] instance[0] status OK, client ready -2020-04-18 18:19:25,699 INFO 44788 [egg-watcher:application] watcher start success -2020-04-18 18:19:25,859 INFO 44788 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 18:19:26 GMT+0800 (China Standard Time) -2020-04-18 18:19:25,879 INFO 44788 [egg:core] dump config after ready, 6ms -2020-04-18 18:20:58,791 INFO 44795 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 18:20:58,828 INFO 44795 [egg-multipart] stream mode enable -2020-04-18 18:20:58,877 INFO 44795 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 18:20:58,893 INFO 44795 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 18:20:59,071 INFO 44795 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 18:20:59,072 INFO 44795 [egg-security] use noopen middleware -2020-04-18 18:20:59,073 INFO 44795 [egg-security] use nosniff middleware -2020-04-18 18:20:59,074 INFO 44795 [egg-security] use xssProtection middleware -2020-04-18 18:20:59,074 INFO 44795 [egg-security] use xframe middleware -2020-04-18 18:20:59,075 INFO 44795 [egg-security] use dta middleware -2020-04-18 18:20:59,075 INFO 44795 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 18:20:59,104 INFO 44795 [egg:core] dump config after load, 24ms -2020-04-18 18:20:59,115 INFO 44795 [egg-redis] client connect success -2020-04-18 18:20:59,120 INFO 44795 [egg-redis] instance[0] status OK, client ready -2020-04-18 18:20:59,122 INFO 44795 [egg-watcher:application] watcher start success -2020-04-18 18:20:59,316 INFO 44795 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 18:21:00 GMT+0800 (China Standard Time) -2020-04-18 18:20:59,352 INFO 44795 [egg:core] dump config after ready, 8ms -2020-04-18 18:22:00,013 INFO 44801 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 18:22:00,035 INFO 44801 [egg-multipart] stream mode enable -2020-04-18 18:22:00,056 INFO 44801 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 18:22:00,071 INFO 44801 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 18:22:00,152 INFO 44801 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 18:22:00,153 INFO 44801 [egg-security] use noopen middleware -2020-04-18 18:22:00,154 INFO 44801 [egg-security] use nosniff middleware -2020-04-18 18:22:00,154 INFO 44801 [egg-security] use xssProtection middleware -2020-04-18 18:22:00,154 INFO 44801 [egg-security] use xframe middleware -2020-04-18 18:22:00,154 INFO 44801 [egg-security] use dta middleware -2020-04-18 18:22:00,154 INFO 44801 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 18:22:00,163 INFO 44801 [egg:core] dump config after load, 6ms -2020-04-18 18:22:00,177 INFO 44801 [egg-redis] client connect success -2020-04-18 18:22:00,184 INFO 44801 [egg-redis] instance[0] status OK, client ready -2020-04-18 18:22:00,186 INFO 44801 [egg-watcher:application] watcher start success -2020-04-18 18:22:00,357 INFO 44801 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 18:22:01 GMT+0800 (China Standard Time) -2020-04-18 18:22:00,374 INFO 44801 [egg:core] dump config after ready, 7ms -2020-04-18 18:34:52,327 INFO 44840 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 18:34:52,369 INFO 44840 [egg-multipart] stream mode enable -2020-04-18 18:34:52,425 INFO 44840 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 18:34:52,441 INFO 44840 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 18:34:52,666 INFO 44840 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 18:34:52,668 INFO 44840 [egg-security] use noopen middleware -2020-04-18 18:34:52,669 INFO 44840 [egg-security] use nosniff middleware -2020-04-18 18:34:52,670 INFO 44840 [egg-security] use xssProtection middleware -2020-04-18 18:34:52,671 INFO 44840 [egg-security] use xframe middleware -2020-04-18 18:34:52,672 INFO 44840 [egg-security] use dta middleware -2020-04-18 18:34:52,672 INFO 44840 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 18:34:52,682 INFO 44840 [egg:core] dump config after load, 7ms -2020-04-18 18:34:52,696 INFO 44840 [egg-redis] client connect success -2020-04-18 18:34:52,701 INFO 44840 [egg-redis] instance[0] status OK, client ready -2020-04-18 18:34:52,703 INFO 44840 [egg-watcher:application] watcher start success -2020-04-18 18:34:52,875 INFO 44840 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 18:34:53 GMT+0800 (China Standard Time) -2020-04-18 18:34:52,908 INFO 44840 [egg:core] dump config after ready, 6ms -2020-04-18 18:35:47,829 INFO 44845 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 18:35:47,859 INFO 44845 [egg-multipart] stream mode enable -2020-04-18 18:35:47,912 INFO 44845 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 18:35:47,932 INFO 44845 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 18:35:48,113 INFO 44845 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 18:35:48,115 INFO 44845 [egg-security] use noopen middleware -2020-04-18 18:35:48,116 INFO 44845 [egg-security] use nosniff middleware -2020-04-18 18:35:48,117 INFO 44845 [egg-security] use xssProtection middleware -2020-04-18 18:35:48,118 INFO 44845 [egg-security] use xframe middleware -2020-04-18 18:35:48,119 INFO 44845 [egg-security] use dta middleware -2020-04-18 18:35:48,119 INFO 44845 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 18:35:48,128 INFO 44845 [egg:core] dump config after load, 6ms -2020-04-18 18:35:48,143 INFO 44845 [egg-redis] client connect success -2020-04-18 18:35:48,150 INFO 44845 [egg-redis] instance[0] status OK, client ready -2020-04-18 18:35:48,153 INFO 44845 [egg-watcher:application] watcher start success -2020-04-18 18:35:48,348 INFO 44845 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 18:35:49 GMT+0800 (China Standard Time) -2020-04-18 18:35:48,374 INFO 44845 [egg:core] dump config after ready, 6ms -2020-04-18 18:37:42,170 INFO 44850 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 18:37:42,195 INFO 44850 [egg-multipart] stream mode enable -2020-04-18 18:37:42,215 INFO 44850 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 18:37:42,231 INFO 44850 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 18:37:42,309 INFO 44850 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 18:37:42,310 INFO 44850 [egg-security] use noopen middleware -2020-04-18 18:37:42,311 INFO 44850 [egg-security] use nosniff middleware -2020-04-18 18:37:42,311 INFO 44850 [egg-security] use xssProtection middleware -2020-04-18 18:37:42,311 INFO 44850 [egg-security] use xframe middleware -2020-04-18 18:37:42,312 INFO 44850 [egg-security] use dta middleware -2020-04-18 18:37:42,312 INFO 44850 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 18:37:42,321 INFO 44850 [egg:core] dump config after load, 6ms -2020-04-18 18:37:42,342 INFO 44850 [egg-redis] client connect success -2020-04-18 18:37:42,349 INFO 44850 [egg-redis] instance[0] status OK, client ready -2020-04-18 18:37:42,351 INFO 44850 [egg-watcher:application] watcher start success -2020-04-18 18:37:42,641 INFO 44850 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 18:37:43 GMT+0800 (China Standard Time) -2020-04-18 18:37:42,656 INFO 44850 [egg:core] dump config after ready, 6ms -2020-04-18 19:00:37,715 INFO 44957 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 19:00:37,743 INFO 44957 [egg-multipart] stream mode enable -2020-04-18 19:00:37,808 INFO 44957 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 19:00:37,828 INFO 44957 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 19:00:38,007 INFO 44957 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 19:00:38,010 INFO 44957 [egg-security] use noopen middleware -2020-04-18 19:00:38,011 INFO 44957 [egg-security] use nosniff middleware -2020-04-18 19:00:38,012 INFO 44957 [egg-security] use xssProtection middleware -2020-04-18 19:00:38,012 INFO 44957 [egg-security] use xframe middleware -2020-04-18 19:00:38,013 INFO 44957 [egg-security] use dta middleware -2020-04-18 19:00:38,013 INFO 44957 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 19:00:38,021 INFO 44957 [egg:core] dump config after load, 6ms -2020-04-18 19:00:38,035 INFO 44957 [egg-redis] client connect success -2020-04-18 19:00:38,038 INFO 44957 [egg-redis] instance[0] status OK, client ready -2020-04-18 19:00:38,040 INFO 44957 [egg-watcher:application] watcher start success -2020-04-18 19:00:38,216 INFO 44957 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 19:00:38 GMT+0800 (China Standard Time) -2020-04-18 19:00:38,254 INFO 44957 [egg:core] dump config after ready, 8ms -2020-04-18 19:02:28,488 INFO 44967 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 19:02:28,524 INFO 44967 [egg-multipart] stream mode enable -2020-04-18 19:02:28,571 INFO 44967 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 19:02:28,589 INFO 44967 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 19:02:28,757 INFO 44967 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 19:02:28,759 INFO 44967 [egg-security] use noopen middleware -2020-04-18 19:02:28,760 INFO 44967 [egg-security] use nosniff middleware -2020-04-18 19:02:28,761 INFO 44967 [egg-security] use xssProtection middleware -2020-04-18 19:02:28,762 INFO 44967 [egg-security] use xframe middleware -2020-04-18 19:02:28,763 INFO 44967 [egg-security] use dta middleware -2020-04-18 19:02:28,764 INFO 44967 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 19:02:28,772 INFO 44967 [egg:core] dump config after load, 5ms -2020-04-18 19:02:28,787 INFO 44967 [egg-redis] client connect success -2020-04-18 19:02:28,799 INFO 44967 [egg-redis] instance[0] status OK, client ready -2020-04-18 19:02:28,803 INFO 44967 [egg-watcher:application] watcher start success -2020-04-18 19:02:28,963 INFO 44967 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 19:02:28 GMT+0800 (China Standard Time) -2020-04-18 19:02:28,991 INFO 44967 [egg:core] dump config after ready, 6ms -2020-04-18 21:17:38,642 INFO 45196 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 21:17:38,664 INFO 45196 [egg-multipart] stream mode enable -2020-04-18 21:17:38,732 INFO 45196 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 21:17:38,749 INFO 45196 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 21:17:38,924 INFO 45196 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 21:17:38,926 INFO 45196 [egg-security] use noopen middleware -2020-04-18 21:17:38,927 INFO 45196 [egg-security] use nosniff middleware -2020-04-18 21:17:38,928 INFO 45196 [egg-security] use xssProtection middleware -2020-04-18 21:17:38,929 INFO 45196 [egg-security] use xframe middleware -2020-04-18 21:17:38,930 INFO 45196 [egg-security] use dta middleware -2020-04-18 21:17:38,931 INFO 45196 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 21:17:38,940 INFO 45196 [egg:core] dump config after load, 7ms -2020-04-18 21:17:38,953 INFO 45196 [egg-redis] client connect success -2020-04-18 21:17:38,963 INFO 45196 [egg-redis] instance[0] status OK, client ready -2020-04-18 21:17:38,965 INFO 45196 [egg-watcher:application] watcher start success -2020-04-18 21:17:48,985 INFO 45196 [egg:core] dump config after ready, 9ms -2020-04-18 21:18:18,512 INFO 45220 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 21:18:18,539 INFO 45220 [egg-multipart] stream mode enable -2020-04-18 21:18:18,606 INFO 45220 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 21:18:18,627 INFO 45220 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 21:18:18,820 INFO 45220 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 21:18:18,823 INFO 45220 [egg-security] use noopen middleware -2020-04-18 21:18:18,824 INFO 45220 [egg-security] use nosniff middleware -2020-04-18 21:18:18,825 INFO 45220 [egg-security] use xssProtection middleware -2020-04-18 21:18:18,825 INFO 45220 [egg-security] use xframe middleware -2020-04-18 21:18:18,826 INFO 45220 [egg-security] use dta middleware -2020-04-18 21:18:18,826 INFO 45220 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 21:18:18,836 INFO 45220 [egg:core] dump config after load, 7ms -2020-04-18 21:18:18,855 INFO 45220 [egg-redis] client connect success -2020-04-18 21:18:18,862 INFO 45220 [egg-redis] instance[0] status OK, client ready -2020-04-18 21:18:18,864 INFO 45220 [egg-watcher:application] watcher start success -2020-04-18 21:18:28,884 INFO 45220 [egg:core] dump config after ready, 9ms -2020-04-18 21:19:34,273 INFO 45257 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 21:19:34,302 INFO 45257 [egg-multipart] stream mode enable -2020-04-18 21:19:34,361 INFO 45257 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 21:19:34,377 INFO 45257 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 21:19:34,549 INFO 45257 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 21:19:34,551 INFO 45257 [egg-security] use noopen middleware -2020-04-18 21:19:34,552 INFO 45257 [egg-security] use nosniff middleware -2020-04-18 21:19:34,553 INFO 45257 [egg-security] use xssProtection middleware -2020-04-18 21:19:34,554 INFO 45257 [egg-security] use xframe middleware -2020-04-18 21:19:34,555 INFO 45257 [egg-security] use dta middleware -2020-04-18 21:19:34,555 INFO 45257 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 21:19:34,564 INFO 45257 [egg:core] dump config after load, 6ms -2020-04-18 21:19:34,576 INFO 45257 [egg-redis] client connect success -2020-04-18 21:19:34,580 INFO 45257 [egg-redis] instance[0] status OK, client ready -2020-04-18 21:19:34,583 INFO 45257 [egg-watcher:application] watcher start success -2020-04-18 21:19:34,754 INFO 45257 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 21:19:34 GMT+0800 (China Standard Time) -2020-04-18 21:19:34,778 INFO 45257 [egg:core] dump config after ready, 6ms -2020-04-18 21:24:30,857 INFO 45284 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 21:24:30,888 INFO 45284 [egg-multipart] stream mode enable -2020-04-18 21:24:30,942 INFO 45284 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 21:24:30,961 INFO 45284 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 21:24:31,164 INFO 45284 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 21:24:31,166 INFO 45284 [egg-security] use noopen middleware -2020-04-18 21:24:31,167 INFO 45284 [egg-security] use nosniff middleware -2020-04-18 21:24:31,168 INFO 45284 [egg-security] use xssProtection middleware -2020-04-18 21:24:31,169 INFO 45284 [egg-security] use xframe middleware -2020-04-18 21:24:31,170 INFO 45284 [egg-security] use dta middleware -2020-04-18 21:24:31,170 INFO 45284 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 21:24:31,179 INFO 45284 [egg:core] dump config after load, 7ms -2020-04-18 21:24:31,191 INFO 45284 [egg-redis] client connect success -2020-04-18 21:24:31,195 INFO 45284 [egg-redis] instance[0] status OK, client ready -2020-04-18 21:24:31,198 INFO 45284 [egg-watcher:application] watcher start success -2020-04-18 21:24:31,381 INFO 45284 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 21:24:31 GMT+0800 (China Standard Time) -2020-04-18 21:24:31,409 INFO 45284 [egg:core] dump config after ready, 5ms -2020-04-18 21:25:28,714 INFO 45291 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 21:25:28,760 INFO 45291 [egg-multipart] stream mode enable -2020-04-18 21:25:28,811 INFO 45291 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 21:25:28,828 INFO 45291 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 21:25:28,992 INFO 45291 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 21:25:28,994 INFO 45291 [egg-security] use noopen middleware -2020-04-18 21:25:28,996 INFO 45291 [egg-security] use nosniff middleware -2020-04-18 21:25:29,003 INFO 45291 [egg-security] use xssProtection middleware -2020-04-18 21:25:29,004 INFO 45291 [egg-security] use xframe middleware -2020-04-18 21:25:29,005 INFO 45291 [egg-security] use dta middleware -2020-04-18 21:25:29,005 INFO 45291 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 21:25:29,016 INFO 45291 [egg:core] dump config after load, 9ms -2020-04-18 21:25:29,044 INFO 45291 [egg-redis] client connect success -2020-04-18 21:25:29,049 INFO 45291 [egg-redis] instance[0] status OK, client ready -2020-04-18 21:25:29,052 INFO 45291 [egg-watcher:application] watcher start success -2020-04-18 21:25:29,222 INFO 45291 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 21:25:29 GMT+0800 (China Standard Time) -2020-04-18 21:25:29,259 INFO 45291 [egg:core] dump config after ready, 8ms -2020-04-18 21:27:08,734 INFO 45357 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 21:27:08,767 INFO 45357 [egg-multipart] stream mode enable -2020-04-18 21:27:08,820 INFO 45357 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 21:27:08,845 INFO 45357 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 21:27:09,027 INFO 45357 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 21:27:09,029 INFO 45357 [egg-security] use noopen middleware -2020-04-18 21:27:09,030 INFO 45357 [egg-security] use nosniff middleware -2020-04-18 21:27:09,030 INFO 45357 [egg-security] use xssProtection middleware -2020-04-18 21:27:09,031 INFO 45357 [egg-security] use xframe middleware -2020-04-18 21:27:09,032 INFO 45357 [egg-security] use dta middleware -2020-04-18 21:27:09,032 INFO 45357 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 21:27:09,041 INFO 45357 [egg:core] dump config after load, 6ms -2020-04-18 21:27:09,055 INFO 45357 [egg-redis] client connect success -2020-04-18 21:27:09,064 INFO 45357 [egg-redis] instance[0] status OK, client ready -2020-04-18 21:27:09,066 INFO 45357 [egg-watcher:application] watcher start success -2020-04-18 21:27:09,224 INFO 45357 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 21:27:09 GMT+0800 (China Standard Time) -2020-04-18 21:27:09,242 INFO 45357 [egg:core] dump config after ready, 5ms -2020-04-18 21:29:49,428 INFO 45367 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 21:29:49,467 INFO 45367 [egg-multipart] stream mode enable -2020-04-18 21:29:49,511 INFO 45367 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 21:29:49,533 INFO 45367 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 21:29:49,693 INFO 45367 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 21:29:49,695 INFO 45367 [egg-security] use noopen middleware -2020-04-18 21:29:49,695 INFO 45367 [egg-security] use nosniff middleware -2020-04-18 21:29:49,696 INFO 45367 [egg-security] use xssProtection middleware -2020-04-18 21:29:49,697 INFO 45367 [egg-security] use xframe middleware -2020-04-18 21:29:49,698 INFO 45367 [egg-security] use dta middleware -2020-04-18 21:29:49,698 INFO 45367 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 21:29:49,741 INFO 45367 [egg:core] dump config after load, 26ms -2020-04-18 21:29:49,753 INFO 45367 [egg-redis] client connect success -2020-04-18 21:29:49,759 INFO 45367 [egg-redis] instance[0] status OK, client ready -2020-04-18 21:29:49,761 INFO 45367 [egg-watcher:application] watcher start success -2020-04-18 21:29:49,934 INFO 45367 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 21:29:49 GMT+0800 (China Standard Time) -2020-04-18 21:29:49,957 INFO 45367 [egg:core] dump config after ready, 5ms -2020-04-18 21:30:40,170 INFO 45375 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 21:30:40,201 INFO 45375 [egg-multipart] stream mode enable -2020-04-18 21:30:40,269 INFO 45375 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 21:30:40,290 INFO 45375 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 21:30:40,515 INFO 45375 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 21:30:40,517 INFO 45375 [egg-security] use noopen middleware -2020-04-18 21:30:40,518 INFO 45375 [egg-security] use nosniff middleware -2020-04-18 21:30:40,520 INFO 45375 [egg-security] use xssProtection middleware -2020-04-18 21:30:40,521 INFO 45375 [egg-security] use xframe middleware -2020-04-18 21:30:40,522 INFO 45375 [egg-security] use dta middleware -2020-04-18 21:30:40,522 INFO 45375 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 21:30:40,532 INFO 45375 [egg:core] dump config after load, 7ms -2020-04-18 21:30:40,544 INFO 45375 [egg-redis] client connect success -2020-04-18 21:30:40,549 INFO 45375 [egg-redis] instance[0] status OK, client ready -2020-04-18 21:30:40,551 INFO 45375 [egg-watcher:application] watcher start success -2020-04-18 21:30:40,716 INFO 45375 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 21:30:40 GMT+0800 (China Standard Time) -2020-04-18 21:30:40,754 INFO 45375 [egg:core] dump config after ready, 8ms -2020-04-18 21:32:55,118 ERROR 45375 nodejs.TypeError: Cannot read property 'call' of undefined (uncaughtException throw 1 times on pid:45375) - at Socket. (/Users/jorky/code/TexasPokerGame/server/node_modules/egg-socket.io/lib/io.js:104:23) - at Socket.emit (events.js:311:20) - at /Users/jorky/code/TexasPokerGame/server/node_modules/socket.io/lib/socket.js:528:12 - at processTicksAndRejections (internal/process/task_queues.js:79:11) - -pid: 45375 -hostname: 192.168.0.104 - -2020-04-18 21:34:33,351 INFO 45395 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 21:34:33,385 INFO 45395 [egg-multipart] stream mode enable -2020-04-18 21:34:33,444 INFO 45395 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 21:34:33,461 INFO 45395 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 21:34:33,617 INFO 45395 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 21:34:33,620 INFO 45395 [egg-security] use noopen middleware -2020-04-18 21:34:33,620 INFO 45395 [egg-security] use nosniff middleware -2020-04-18 21:34:33,621 INFO 45395 [egg-security] use xssProtection middleware -2020-04-18 21:34:33,621 INFO 45395 [egg-security] use xframe middleware -2020-04-18 21:34:33,622 INFO 45395 [egg-security] use dta middleware -2020-04-18 21:34:33,622 INFO 45395 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 21:34:33,632 INFO 45395 [egg:core] dump config after load, 7ms -2020-04-18 21:34:33,648 INFO 45395 [egg-redis] client connect success -2020-04-18 21:34:33,654 INFO 45395 [egg-redis] instance[0] status OK, client ready -2020-04-18 21:34:33,656 INFO 45395 [egg-watcher:application] watcher start success -2020-04-18 21:34:33,835 INFO 45395 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 21:34:33 GMT+0800 (China Standard Time) -2020-04-18 21:34:33,858 INFO 45395 [egg:core] dump config after ready, 8ms -2020-04-18 21:34:56,734 ERROR 45395 nodejs.TypeError: Cannot read property 'call' of undefined (uncaughtException throw 1 times on pid:45395) - at Socket. (/Users/jorky/code/TexasPokerGame/server/node_modules/egg-socket.io/lib/io.js:104:23) - at Socket.emit (events.js:311:20) - at /Users/jorky/code/TexasPokerGame/server/node_modules/socket.io/lib/socket.js:528:12 - at processTicksAndRejections (internal/process/task_queues.js:79:11) - -pid: 45395 -hostname: 192.168.0.104 - -2020-04-18 21:36:14,808 INFO 45402 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 21:36:14,837 INFO 45402 [egg-multipart] stream mode enable -2020-04-18 21:36:14,890 INFO 45402 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 21:36:14,907 INFO 45402 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 21:36:15,057 INFO 45402 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 21:36:15,059 INFO 45402 [egg-security] use noopen middleware -2020-04-18 21:36:15,059 INFO 45402 [egg-security] use nosniff middleware -2020-04-18 21:36:15,060 INFO 45402 [egg-security] use xssProtection middleware -2020-04-18 21:36:15,061 INFO 45402 [egg-security] use xframe middleware -2020-04-18 21:36:15,062 INFO 45402 [egg-security] use dta middleware -2020-04-18 21:36:15,062 INFO 45402 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 21:36:15,070 INFO 45402 [egg:core] dump config after load, 5ms -2020-04-18 21:36:15,082 INFO 45402 [egg-redis] client connect success -2020-04-18 21:36:15,087 INFO 45402 [egg-redis] instance[0] status OK, client ready -2020-04-18 21:36:15,089 INFO 45402 [egg-watcher:application] watcher start success -2020-04-18 21:36:15,261 INFO 45402 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 21:36:15 GMT+0800 (China Standard Time) -2020-04-18 21:36:15,292 INFO 45402 [egg:core] dump config after ready, 6ms -2020-04-18 21:37:29,142 INFO 45407 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 21:37:29,171 INFO 45407 [egg-multipart] stream mode enable -2020-04-18 21:37:29,229 INFO 45407 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 21:37:29,244 INFO 45407 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 21:37:29,392 INFO 45407 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 21:37:29,394 INFO 45407 [egg-security] use noopen middleware -2020-04-18 21:37:29,395 INFO 45407 [egg-security] use nosniff middleware -2020-04-18 21:37:29,395 INFO 45407 [egg-security] use xssProtection middleware -2020-04-18 21:37:29,396 INFO 45407 [egg-security] use xframe middleware -2020-04-18 21:37:29,397 INFO 45407 [egg-security] use dta middleware -2020-04-18 21:37:29,397 INFO 45407 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 21:37:29,419 INFO 45407 [egg:core] dump config after load, 20ms -2020-04-18 21:37:29,431 INFO 45407 [egg-redis] client connect success -2020-04-18 21:37:29,436 INFO 45407 [egg-redis] instance[0] status OK, client ready -2020-04-18 21:37:29,438 INFO 45407 [egg-watcher:application] watcher start success -2020-04-18 21:37:29,612 INFO 45407 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 21:37:29 GMT+0800 (China Standard Time) -2020-04-18 21:37:29,641 INFO 45407 [egg:core] dump config after ready, 5ms -2020-04-18 21:39:02,327 INFO 45414 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 21:39:02,357 INFO 45414 [egg-multipart] stream mode enable -2020-04-18 21:39:02,417 INFO 45414 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 21:39:02,433 INFO 45414 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 21:39:02,649 INFO 45414 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 21:39:02,651 INFO 45414 [egg-security] use noopen middleware -2020-04-18 21:39:02,652 INFO 45414 [egg-security] use nosniff middleware -2020-04-18 21:39:02,653 INFO 45414 [egg-security] use xssProtection middleware -2020-04-18 21:39:02,655 INFO 45414 [egg-security] use xframe middleware -2020-04-18 21:39:02,656 INFO 45414 [egg-security] use dta middleware -2020-04-18 21:39:02,656 INFO 45414 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 21:39:02,665 INFO 45414 [egg:core] dump config after load, 6ms -2020-04-18 21:39:02,677 INFO 45414 [egg-redis] client connect success -2020-04-18 21:39:02,683 INFO 45414 [egg-redis] instance[0] status OK, client ready -2020-04-18 21:39:02,685 INFO 45414 [egg-watcher:application] watcher start success -2020-04-18 21:39:02,854 INFO 45414 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 21:39:02 GMT+0800 (China Standard Time) -2020-04-18 21:39:02,882 INFO 45414 [egg:core] dump config after ready, 5ms -2020-04-18 21:50:30,780 INFO 45461 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 21:50:30,802 INFO 45461 [egg-multipart] stream mode enable -2020-04-18 21:50:30,868 INFO 45461 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 21:50:30,892 INFO 45461 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 21:50:31,068 INFO 45461 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 21:50:31,071 INFO 45461 [egg-security] use noopen middleware -2020-04-18 21:50:31,072 INFO 45461 [egg-security] use nosniff middleware -2020-04-18 21:50:31,073 INFO 45461 [egg-security] use xssProtection middleware -2020-04-18 21:50:31,074 INFO 45461 [egg-security] use xframe middleware -2020-04-18 21:50:31,075 INFO 45461 [egg-security] use dta middleware -2020-04-18 21:50:31,075 INFO 45461 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 21:50:31,083 INFO 45461 [egg:core] dump config after load, 5ms -2020-04-18 21:50:31,096 INFO 45461 [egg-redis] client connect success -2020-04-18 21:50:31,100 INFO 45461 [egg-redis] instance[0] status OK, client ready -2020-04-18 21:50:31,103 INFO 45461 [egg-watcher:application] watcher start success -2020-04-18 21:50:31,290 INFO 45461 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 21:50:31 GMT+0800 (China Standard Time) -2020-04-18 21:50:31,328 INFO 45461 [egg:core] dump config after ready, 8ms -2020-04-18 21:58:34,715 INFO 45506 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 21:58:34,739 INFO 45506 [egg-multipart] stream mode enable -2020-04-18 21:58:34,804 INFO 45506 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 21:58:34,826 INFO 45506 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 21:58:35,018 INFO 45506 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 21:58:35,020 INFO 45506 [egg-security] use noopen middleware -2020-04-18 21:58:35,021 INFO 45506 [egg-security] use nosniff middleware -2020-04-18 21:58:35,022 INFO 45506 [egg-security] use xssProtection middleware -2020-04-18 21:58:35,023 INFO 45506 [egg-security] use xframe middleware -2020-04-18 21:58:35,024 INFO 45506 [egg-security] use dta middleware -2020-04-18 21:58:35,024 INFO 45506 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 21:58:35,032 INFO 45506 [egg:core] dump config after load, 5ms -2020-04-18 21:58:35,043 INFO 45506 [egg-redis] client connect success -2020-04-18 21:58:35,048 INFO 45506 [egg-redis] instance[0] status OK, client ready -2020-04-18 21:58:35,050 INFO 45506 [egg-watcher:application] watcher start success -2020-04-18 21:58:35,224 INFO 45506 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 21:58:35 GMT+0800 (China Standard Time) -2020-04-18 21:58:35,245 INFO 45506 [egg:core] dump config after ready, 5ms -2020-04-18 22:04:42,662 INFO 45521 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-18 22:04:42,698 INFO 45521 [egg-multipart] stream mode enable -2020-04-18 22:04:42,758 INFO 45521 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-18 22:04:42,774 INFO 45521 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-18 22:04:42,949 INFO 45521 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-18 22:04:42,951 INFO 45521 [egg-security] use noopen middleware -2020-04-18 22:04:42,952 INFO 45521 [egg-security] use nosniff middleware -2020-04-18 22:04:42,952 INFO 45521 [egg-security] use xssProtection middleware -2020-04-18 22:04:42,953 INFO 45521 [egg-security] use xframe middleware -2020-04-18 22:04:42,953 INFO 45521 [egg-security] use dta middleware -2020-04-18 22:04:42,953 INFO 45521 [egg-security] compose 5 middlewares into one security middleware -2020-04-18 22:04:42,962 INFO 45521 [egg:core] dump config after load, 6ms -2020-04-18 22:04:42,979 INFO 45521 [egg-redis] client connect success -2020-04-18 22:04:42,985 INFO 45521 [egg-redis] instance[0] status OK, client ready -2020-04-18 22:04:42,988 INFO 45521 [egg-watcher:application] watcher start success -2020-04-18 22:04:43,152 INFO 45521 [egg-mysql] instance[0] status OK, rds currentTime: Sat Apr 18 2020 22:04:43 GMT+0800 (China Standard Time) -2020-04-18 22:04:43,189 INFO 45521 [egg:core] dump config after ready, 8ms -2020-04-18 22:22:58,067 WARN 45521 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-18 22:59:04,929 WARN 45521 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-18 23:39:39,817 WARN 45521 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-19 01:27:30,630 WARN 45521 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-19 03:15:39,004 WARN 45521 [TCPBase] socket is closed by other side while there were still unhandled data in the socket buffer -2020-04-19 03:15:39,004 WARN 45521 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-19 04:24:30,343 WARN 45521 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-19 06:12:42,075 WARN 45521 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-19 07:44:48,927 WARN 45521 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-19 09:15:13,989 INFO 45521 [egg-logrotator] clean all log before 31 days -2020-04-19 09:15:14,976 INFO 45521 [egg-logrotator] broadcast log-reload -2020-04-19 09:15:14,977 INFO 45521 [egg-logrotator] rotate files success by DayRotator, files ["/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/error.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/error.log.2020-04-18","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/app.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/app.log.2020-04-18","/Users/jorky/code/TexasPokerGame/server/logs/ELKLog/info.log -> /Users/jorky/code/TexasPokerGame/server/logs/ELKLog/info.log.2020-04-18","/Users/jorky/code/TexasPokerGame/server/logs/ELKLog/error.log -> /Users/jorky/code/TexasPokerGame/server/logs/ELKLog/error.log.2020-04-18","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/core.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/core.log.2020-04-18","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/egg-schedule.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/egg-schedule.log.2020-04-18","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/agent.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/agent.log.2020-04-18"] diff --git a/server/logs/game-node-center/core.log.2020-04-20 b/server/logs/game-node-center/core.log.2020-04-20 deleted file mode 100644 index a4333c9..0000000 --- a/server/logs/game-node-center/core.log.2020-04-20 +++ /dev/null @@ -1,157 +0,0 @@ -2020-04-19 09:15:14,979 INFO 45521 [egg-logrotator] app logger reload: got log-reload message -2020-04-20 23:27:30,229 INFO 47679 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-20 23:27:30,269 INFO 47679 [egg-multipart] stream mode enable -2020-04-20 23:27:30,316 INFO 47679 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-20 23:27:30,334 INFO 47679 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-20 23:27:30,507 INFO 47679 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-20 23:27:30,509 INFO 47679 [egg-security] use noopen middleware -2020-04-20 23:27:30,510 INFO 47679 [egg-security] use nosniff middleware -2020-04-20 23:27:30,511 INFO 47679 [egg-security] use xssProtection middleware -2020-04-20 23:27:30,511 INFO 47679 [egg-security] use xframe middleware -2020-04-20 23:27:30,512 INFO 47679 [egg-security] use dta middleware -2020-04-20 23:27:30,512 INFO 47679 [egg-security] compose 5 middlewares into one security middleware -2020-04-20 23:27:30,528 INFO 47679 [egg:core] dump config after load, 12ms -2020-04-20 23:27:30,551 INFO 47679 [egg-redis] client connect success -2020-04-20 23:27:30,562 INFO 47679 [egg-redis] instance[0] status OK, client ready -2020-04-20 23:27:30,565 INFO 47679 [egg-watcher:application] watcher start success -2020-04-20 23:27:30,842 INFO 47679 [egg-mysql] instance[0] status OK, rds currentTime: Mon Apr 20 2020 23:27:33 GMT+0800 (China Standard Time) -2020-04-20 23:27:30,984 INFO 47679 [egg:core] dump config after ready, 95ms -2020-04-20 23:32:52,213 INFO 47709 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-20 23:32:52,247 INFO 47709 [egg-multipart] stream mode enable -2020-04-20 23:32:52,299 INFO 47709 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-20 23:32:52,317 INFO 47709 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-20 23:32:52,497 INFO 47709 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-20 23:32:52,500 INFO 47709 [egg-security] use noopen middleware -2020-04-20 23:32:52,501 INFO 47709 [egg-security] use nosniff middleware -2020-04-20 23:32:52,502 INFO 47709 [egg-security] use xssProtection middleware -2020-04-20 23:32:52,503 INFO 47709 [egg-security] use xframe middleware -2020-04-20 23:32:52,504 INFO 47709 [egg-security] use dta middleware -2020-04-20 23:32:52,504 INFO 47709 [egg-security] compose 5 middlewares into one security middleware -2020-04-20 23:32:52,512 INFO 47709 [egg:core] dump config after load, 6ms -2020-04-20 23:32:52,527 INFO 47709 [egg-redis] client connect success -2020-04-20 23:32:52,533 INFO 47709 [egg-watcher:application] watcher start success -2020-04-20 23:32:52,535 INFO 47709 [egg-redis] instance[0] status OK, client ready -2020-04-20 23:32:52,760 INFO 47709 [egg-mysql] instance[0] status OK, rds currentTime: Mon Apr 20 2020 23:32:54 GMT+0800 (China Standard Time) -2020-04-20 23:32:52,790 INFO 47709 [egg:core] dump config after ready, 7ms -2020-04-20 23:33:15,323 INFO 47714 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-20 23:33:15,353 INFO 47714 [egg-multipart] stream mode enable -2020-04-20 23:33:15,405 INFO 47714 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-20 23:33:15,424 INFO 47714 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-20 23:33:15,591 INFO 47714 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-20 23:33:15,594 INFO 47714 [egg-security] use noopen middleware -2020-04-20 23:33:15,595 INFO 47714 [egg-security] use nosniff middleware -2020-04-20 23:33:15,595 INFO 47714 [egg-security] use xssProtection middleware -2020-04-20 23:33:15,596 INFO 47714 [egg-security] use xframe middleware -2020-04-20 23:33:15,596 INFO 47714 [egg-security] use dta middleware -2020-04-20 23:33:15,596 INFO 47714 [egg-security] compose 5 middlewares into one security middleware -2020-04-20 23:33:15,604 INFO 47714 [egg:core] dump config after load, 5ms -2020-04-20 23:33:15,619 INFO 47714 [egg-redis] client connect success -2020-04-20 23:33:15,624 INFO 47714 [egg-watcher:application] watcher start success -2020-04-20 23:33:15,627 INFO 47714 [egg-redis] instance[0] status OK, client ready -2020-04-20 23:33:15,835 INFO 47714 [egg-mysql] instance[0] status OK, rds currentTime: Mon Apr 20 2020 23:33:18 GMT+0800 (China Standard Time) -2020-04-20 23:33:15,873 INFO 47714 [egg:core] dump config after ready, 8ms -2020-04-20 23:37:35,976 INFO 47741 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-20 23:37:36,013 INFO 47741 [egg-multipart] stream mode enable -2020-04-20 23:37:36,072 INFO 47741 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-20 23:37:36,096 INFO 47741 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-20 23:37:36,297 INFO 47741 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-20 23:37:36,299 INFO 47741 [egg-security] use noopen middleware -2020-04-20 23:37:36,300 INFO 47741 [egg-security] use nosniff middleware -2020-04-20 23:37:36,301 INFO 47741 [egg-security] use xssProtection middleware -2020-04-20 23:37:36,302 INFO 47741 [egg-security] use xframe middleware -2020-04-20 23:37:36,303 INFO 47741 [egg-security] use dta middleware -2020-04-20 23:37:36,303 INFO 47741 [egg-security] compose 5 middlewares into one security middleware -2020-04-20 23:37:36,312 INFO 47741 [egg:core] dump config after load, 6ms -2020-04-20 23:37:36,324 INFO 47741 [egg-redis] client connect success -2020-04-20 23:37:36,329 INFO 47741 [egg-redis] instance[0] status OK, client ready -2020-04-20 23:37:36,331 INFO 47741 [egg-watcher:application] watcher start success -2020-04-20 23:37:36,550 INFO 47741 [egg-mysql] instance[0] status OK, rds currentTime: Mon Apr 20 2020 23:37:38 GMT+0800 (China Standard Time) -2020-04-20 23:37:36,597 INFO 47741 [egg:core] dump config after ready, 18ms -2020-04-20 23:38:21,776 INFO 47772 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-20 23:38:21,806 INFO 47772 [egg-multipart] stream mode enable -2020-04-20 23:38:21,863 INFO 47772 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-20 23:38:21,880 INFO 47772 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-20 23:38:22,073 INFO 47772 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-20 23:38:22,076 INFO 47772 [egg-security] use noopen middleware -2020-04-20 23:38:22,077 INFO 47772 [egg-security] use nosniff middleware -2020-04-20 23:38:22,077 INFO 47772 [egg-security] use xssProtection middleware -2020-04-20 23:38:22,078 INFO 47772 [egg-security] use xframe middleware -2020-04-20 23:38:22,079 INFO 47772 [egg-security] use dta middleware -2020-04-20 23:38:22,079 INFO 47772 [egg-security] compose 5 middlewares into one security middleware -2020-04-20 23:38:22,092 INFO 47772 [egg:core] dump config after load, 7ms -2020-04-20 23:38:22,108 INFO 47772 [egg-redis] client connect success -2020-04-20 23:38:22,114 INFO 47772 [egg-redis] instance[0] status OK, client ready -2020-04-20 23:38:22,118 INFO 47772 [egg-watcher:application] watcher start success -2020-04-20 23:38:22,331 INFO 47772 [egg-mysql] instance[0] status OK, rds currentTime: Mon Apr 20 2020 23:38:24 GMT+0800 (China Standard Time) -2020-04-20 23:38:22,375 INFO 47772 [egg:core] dump config after ready, 19ms -2020-04-20 23:47:10,579 INFO 47818 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-20 23:47:10,602 INFO 47818 [egg-multipart] stream mode enable -2020-04-20 23:47:10,659 INFO 47818 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-20 23:47:10,679 INFO 47818 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-20 23:47:10,851 INFO 47818 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-20 23:47:10,853 INFO 47818 [egg-security] use noopen middleware -2020-04-20 23:47:10,854 INFO 47818 [egg-security] use nosniff middleware -2020-04-20 23:47:10,856 INFO 47818 [egg-security] use xssProtection middleware -2020-04-20 23:47:10,857 INFO 47818 [egg-security] use xframe middleware -2020-04-20 23:47:10,858 INFO 47818 [egg-security] use dta middleware -2020-04-20 23:47:10,858 INFO 47818 [egg-security] compose 5 middlewares into one security middleware -2020-04-20 23:47:10,866 INFO 47818 [egg:core] dump config after load, 5ms -2020-04-20 23:47:10,879 INFO 47818 [egg-redis] client connect success -2020-04-20 23:47:10,885 INFO 47818 [egg-redis] instance[0] status OK, client ready -2020-04-20 23:47:10,887 INFO 47818 [egg-watcher:application] watcher start success -2020-04-20 23:47:11,104 INFO 47818 [egg-mysql] instance[0] status OK, rds currentTime: Mon Apr 20 2020 23:47:13 GMT+0800 (China Standard Time) -2020-04-20 23:47:11,131 INFO 47818 [egg:core] dump config after ready, 6ms -2020-04-20 23:48:18,035 INFO 47821 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-20 23:48:18,064 INFO 47821 [egg-multipart] stream mode enable -2020-04-20 23:48:18,121 INFO 47821 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-20 23:48:18,139 INFO 47821 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-20 23:48:18,303 INFO 47821 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-20 23:48:18,305 INFO 47821 [egg-security] use noopen middleware -2020-04-20 23:48:18,305 INFO 47821 [egg-security] use nosniff middleware -2020-04-20 23:48:18,306 INFO 47821 [egg-security] use xssProtection middleware -2020-04-20 23:48:18,306 INFO 47821 [egg-security] use xframe middleware -2020-04-20 23:48:18,307 INFO 47821 [egg-security] use dta middleware -2020-04-20 23:48:18,307 INFO 47821 [egg-security] compose 5 middlewares into one security middleware -2020-04-20 23:48:18,315 INFO 47821 [egg:core] dump config after load, 6ms -2020-04-20 23:48:18,327 INFO 47821 [egg-redis] client connect success -2020-04-20 23:48:18,332 INFO 47821 [egg-redis] instance[0] status OK, client ready -2020-04-20 23:48:18,334 INFO 47821 [egg-watcher:application] watcher start success -2020-04-20 23:48:18,533 INFO 47821 [egg-mysql] instance[0] status OK, rds currentTime: Mon Apr 20 2020 23:48:20 GMT+0800 (China Standard Time) -2020-04-20 23:48:18,562 INFO 47821 [egg:core] dump config after ready, 6ms -2020-04-20 23:50:12,704 INFO 47839 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-20 23:50:12,733 INFO 47839 [egg-multipart] stream mode enable -2020-04-20 23:50:12,785 INFO 47839 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-20 23:50:12,806 INFO 47839 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-20 23:50:12,990 INFO 47839 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-20 23:50:12,993 INFO 47839 [egg-security] use noopen middleware -2020-04-20 23:50:12,994 INFO 47839 [egg-security] use nosniff middleware -2020-04-20 23:50:12,995 INFO 47839 [egg-security] use xssProtection middleware -2020-04-20 23:50:12,996 INFO 47839 [egg-security] use xframe middleware -2020-04-20 23:50:12,997 INFO 47839 [egg-security] use dta middleware -2020-04-20 23:50:12,997 INFO 47839 [egg-security] compose 5 middlewares into one security middleware -2020-04-20 23:50:13,005 INFO 47839 [egg:core] dump config after load, 5ms -2020-04-20 23:50:13,017 INFO 47839 [egg-redis] client connect success -2020-04-20 23:50:13,022 INFO 47839 [egg-redis] instance[0] status OK, client ready -2020-04-20 23:50:13,024 INFO 47839 [egg-watcher:application] watcher start success -2020-04-20 23:50:13,240 INFO 47839 [egg-mysql] instance[0] status OK, rds currentTime: Mon Apr 20 2020 23:50:15 GMT+0800 (China Standard Time) -2020-04-20 23:50:13,269 INFO 47839 [egg:core] dump config after ready, 6ms -2020-04-20 23:53:41,192 INFO 47851 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-20 23:53:41,227 INFO 47851 [egg-multipart] stream mode enable -2020-04-20 23:53:41,265 INFO 47851 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-20 23:53:41,282 INFO 47851 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-20 23:53:41,423 INFO 47851 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-20 23:53:41,425 INFO 47851 [egg-security] use noopen middleware -2020-04-20 23:53:41,426 INFO 47851 [egg-security] use nosniff middleware -2020-04-20 23:53:41,427 INFO 47851 [egg-security] use xssProtection middleware -2020-04-20 23:53:41,428 INFO 47851 [egg-security] use xframe middleware -2020-04-20 23:53:41,429 INFO 47851 [egg-security] use dta middleware -2020-04-20 23:53:41,429 INFO 47851 [egg-security] compose 5 middlewares into one security middleware -2020-04-20 23:53:41,442 INFO 47851 [egg:core] dump config after load, 10ms -2020-04-20 23:53:41,457 INFO 47851 [egg-redis] client connect success -2020-04-20 23:53:41,463 INFO 47851 [egg-watcher:application] watcher start success -2020-04-20 23:53:41,465 INFO 47851 [egg-redis] instance[0] status OK, client ready -2020-04-20 23:53:41,656 INFO 47851 [egg-mysql] instance[0] status OK, rds currentTime: Mon Apr 20 2020 23:53:43 GMT+0800 (China Standard Time) -2020-04-20 23:53:41,676 INFO 47851 [egg:core] dump config after ready, 6ms -2020-04-21 00:00:00,306 INFO 47851 [egg-logrotator] clean all log before 31 days -2020-04-21 00:00:01,301 INFO 47851 [egg-logrotator] broadcast log-reload -2020-04-21 00:00:01,301 INFO 47851 [egg-logrotator] rotate files success by DayRotator, files ["/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/error.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/error.log.2020-04-20","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/app.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/app.log.2020-04-20","/Users/jorky/code/TexasPokerGame/server/logs/ELKLog/info.log -> /Users/jorky/code/TexasPokerGame/server/logs/ELKLog/info.log.2020-04-20","/Users/jorky/code/TexasPokerGame/server/logs/ELKLog/error.log -> /Users/jorky/code/TexasPokerGame/server/logs/ELKLog/error.log.2020-04-20","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/core.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/core.log.2020-04-20","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/egg-schedule.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/egg-schedule.log.2020-04-20","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/agent.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/agent.log.2020-04-20"] diff --git a/server/logs/game-node-center/core.log.2020-04-29 b/server/logs/game-node-center/core.log.2020-04-29 deleted file mode 100644 index 9021b80..0000000 --- a/server/logs/game-node-center/core.log.2020-04-29 +++ /dev/null @@ -1,1041 +0,0 @@ -2020-04-21 00:00:01,303 INFO 47851 [egg-logrotator] app logger reload: got log-reload message -2020-04-21 00:23:26,322 INFO 48621 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-21 00:23:26,354 INFO 48621 [egg-multipart] stream mode enable -2020-04-21 00:23:26,409 INFO 48621 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-21 00:23:26,439 INFO 48621 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-21 00:23:26,640 INFO 48621 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-21 00:23:26,643 INFO 48621 [egg-security] use noopen middleware -2020-04-21 00:23:26,644 INFO 48621 [egg-security] use nosniff middleware -2020-04-21 00:23:26,646 INFO 48621 [egg-security] use xssProtection middleware -2020-04-21 00:23:26,648 INFO 48621 [egg-security] use xframe middleware -2020-04-21 00:23:26,649 INFO 48621 [egg-security] use dta middleware -2020-04-21 00:23:26,649 INFO 48621 [egg-security] compose 5 middlewares into one security middleware -2020-04-21 00:23:26,658 INFO 48621 [egg:core] dump config after load, 6ms -2020-04-21 00:23:26,673 INFO 48621 [egg-redis] client connect success -2020-04-21 00:23:26,678 INFO 48621 [egg-redis] instance[0] status OK, client ready -2020-04-21 00:23:26,682 INFO 48621 [egg-watcher:application] watcher start success -2020-04-21 00:23:26,870 INFO 48621 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 21 2020 00:23:28 GMT+0800 (China Standard Time) -2020-04-21 00:23:26,899 INFO 48621 [egg:core] dump config after ready, 5ms -2020-04-21 00:28:43,379 INFO 48633 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-21 00:28:43,409 INFO 48633 [egg-multipart] stream mode enable -2020-04-21 00:28:43,462 INFO 48633 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-21 00:28:43,478 INFO 48633 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-21 00:28:43,725 INFO 48633 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-21 00:28:43,727 INFO 48633 [egg-security] use noopen middleware -2020-04-21 00:28:43,728 INFO 48633 [egg-security] use nosniff middleware -2020-04-21 00:28:43,729 INFO 48633 [egg-security] use xssProtection middleware -2020-04-21 00:28:43,730 INFO 48633 [egg-security] use xframe middleware -2020-04-21 00:28:43,731 INFO 48633 [egg-security] use dta middleware -2020-04-21 00:28:43,731 INFO 48633 [egg-security] compose 5 middlewares into one security middleware -2020-04-21 00:28:43,739 INFO 48633 [egg:core] dump config after load, 5ms -2020-04-21 00:28:43,753 INFO 48633 [egg-redis] client connect success -2020-04-21 00:28:43,758 INFO 48633 [egg-redis] instance[0] status OK, client ready -2020-04-21 00:28:43,760 INFO 48633 [egg-watcher:application] watcher start success -2020-04-21 00:28:43,955 INFO 48633 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 21 2020 00:28:45 GMT+0800 (China Standard Time) -2020-04-21 00:28:43,985 INFO 48633 [egg:core] dump config after ready, 5ms -2020-04-21 00:29:37,030 ERROR 48633 nodejs.unhandledRejectionError: incorrect action: check - at MidwayApplication._unhandledRejectionHandler (/Users/jorky/code/TexasPokerGame/server/node_modules/egg/lib/egg.js:344:24) - at process.emit (events.js:311:20) - at process.emit (/Users/jorky/code/TexasPokerGame/server/node_modules/source-map-support/source-map-support.js:485:21) - at processPromiseRejections (internal/process/promises.js:209:33) - at processTicksAndRejections (internal/process/task_queues.js:98:32) -name: "unhandledRejectionError" -pid: 48633 -hostname: 192.168.0.105 - -2020-04-21 00:30:33,828 INFO 48645 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-21 00:30:33,856 INFO 48645 [egg-multipart] stream mode enable -2020-04-21 00:30:33,908 INFO 48645 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-21 00:30:33,923 INFO 48645 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-21 00:30:34,133 INFO 48645 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-21 00:30:34,135 INFO 48645 [egg-security] use noopen middleware -2020-04-21 00:30:34,136 INFO 48645 [egg-security] use nosniff middleware -2020-04-21 00:30:34,137 INFO 48645 [egg-security] use xssProtection middleware -2020-04-21 00:30:34,138 INFO 48645 [egg-security] use xframe middleware -2020-04-21 00:30:34,139 INFO 48645 [egg-security] use dta middleware -2020-04-21 00:30:34,139 INFO 48645 [egg-security] compose 5 middlewares into one security middleware -2020-04-21 00:30:34,147 INFO 48645 [egg:core] dump config after load, 5ms -2020-04-21 00:30:34,159 INFO 48645 [egg-redis] client connect success -2020-04-21 00:30:34,164 INFO 48645 [egg-redis] instance[0] status OK, client ready -2020-04-21 00:30:34,166 INFO 48645 [egg-watcher:application] watcher start success -2020-04-21 00:30:34,430 INFO 48645 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 21 2020 00:30:35 GMT+0800 (China Standard Time) -2020-04-21 00:30:34,452 INFO 48645 [egg:core] dump config after ready, 4ms -2020-04-21 22:51:21,374 INFO 49450 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-21 22:51:21,399 INFO 49450 [egg-multipart] stream mode enable -2020-04-21 22:51:21,462 INFO 49450 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-21 22:51:21,479 INFO 49450 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-21 22:51:21,665 INFO 49450 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-21 22:51:21,667 INFO 49450 [egg-security] use noopen middleware -2020-04-21 22:51:21,667 INFO 49450 [egg-security] use nosniff middleware -2020-04-21 22:51:21,668 INFO 49450 [egg-security] use xssProtection middleware -2020-04-21 22:51:21,668 INFO 49450 [egg-security] use xframe middleware -2020-04-21 22:51:21,669 INFO 49450 [egg-security] use dta middleware -2020-04-21 22:51:21,669 INFO 49450 [egg-security] compose 5 middlewares into one security middleware -2020-04-21 22:51:21,677 INFO 49450 [egg:core] dump config after load, 5ms -2020-04-21 22:51:21,690 INFO 49450 [egg-redis] client connect success -2020-04-21 22:51:21,695 INFO 49450 [egg-redis] instance[0] status OK, client ready -2020-04-21 22:51:21,698 INFO 49450 [egg-watcher:application] watcher start success -2020-04-21 22:51:22,001 INFO 49450 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 21 2020 22:51:21 GMT+0800 (China Standard Time) -2020-04-21 22:51:22,037 INFO 49450 [egg:core] dump config after ready, 7ms -2020-04-21 23:01:05,231 INFO 49495 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-21 23:01:05,266 INFO 49495 [egg-multipart] stream mode enable -2020-04-21 23:01:05,314 INFO 49495 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-21 23:01:05,330 INFO 49495 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-21 23:01:05,557 INFO 49495 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-21 23:01:05,563 INFO 49495 [egg-security] use noopen middleware -2020-04-21 23:01:05,565 INFO 49495 [egg-security] use nosniff middleware -2020-04-21 23:01:05,566 INFO 49495 [egg-security] use xssProtection middleware -2020-04-21 23:01:05,568 INFO 49495 [egg-security] use xframe middleware -2020-04-21 23:01:05,570 INFO 49495 [egg-security] use dta middleware -2020-04-21 23:01:05,570 INFO 49495 [egg-security] compose 5 middlewares into one security middleware -2020-04-21 23:01:05,587 INFO 49495 [egg:core] dump config after load, 9ms -2020-04-21 23:01:05,611 INFO 49495 [egg-redis] client connect success -2020-04-21 23:01:05,614 INFO 49495 [egg-redis] instance[0] status OK, client ready -2020-04-21 23:01:05,622 INFO 49495 [egg-watcher:application] watcher start success -2020-04-21 23:01:05,786 INFO 49495 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 21 2020 23:01:05 GMT+0800 (China Standard Time) -2020-04-21 23:01:05,814 INFO 49495 [egg:core] dump config after ready, 5ms -2020-04-21 23:07:10,830 INFO 49545 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-21 23:07:10,862 INFO 49545 [egg-multipart] stream mode enable -2020-04-21 23:07:10,912 INFO 49545 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-21 23:07:10,927 INFO 49545 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-21 23:07:11,095 INFO 49545 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-21 23:07:11,097 INFO 49545 [egg-security] use noopen middleware -2020-04-21 23:07:11,098 INFO 49545 [egg-security] use nosniff middleware -2020-04-21 23:07:11,099 INFO 49545 [egg-security] use xssProtection middleware -2020-04-21 23:07:11,100 INFO 49545 [egg-security] use xframe middleware -2020-04-21 23:07:11,101 INFO 49545 [egg-security] use dta middleware -2020-04-21 23:07:11,101 INFO 49545 [egg-security] compose 5 middlewares into one security middleware -2020-04-21 23:07:11,110 INFO 49545 [egg:core] dump config after load, 6ms -2020-04-21 23:07:11,122 INFO 49545 [egg-redis] client connect success -2020-04-21 23:07:11,127 INFO 49545 [egg-redis] instance[0] status OK, client ready -2020-04-21 23:07:11,130 INFO 49545 [egg-watcher:application] watcher start success -2020-04-21 23:07:11,304 INFO 49545 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 21 2020 23:07:11 GMT+0800 (China Standard Time) -2020-04-21 23:07:11,341 INFO 49545 [egg:core] dump config after ready, 7ms -2020-04-21 23:22:56,747 INFO 49588 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-21 23:22:56,780 INFO 49588 [egg-multipart] stream mode enable -2020-04-21 23:22:56,818 INFO 49588 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-21 23:22:56,849 INFO 49588 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-21 23:22:57,039 INFO 49588 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-21 23:22:57,041 INFO 49588 [egg-security] use noopen middleware -2020-04-21 23:22:57,042 INFO 49588 [egg-security] use nosniff middleware -2020-04-21 23:22:57,043 INFO 49588 [egg-security] use xssProtection middleware -2020-04-21 23:22:57,044 INFO 49588 [egg-security] use xframe middleware -2020-04-21 23:22:57,045 INFO 49588 [egg-security] use dta middleware -2020-04-21 23:22:57,045 INFO 49588 [egg-security] compose 5 middlewares into one security middleware -2020-04-21 23:22:57,053 INFO 49588 [egg:core] dump config after load, 5ms -2020-04-21 23:22:57,065 INFO 49588 [egg-redis] client connect success -2020-04-21 23:22:57,070 INFO 49588 [egg-redis] instance[0] status OK, client ready -2020-04-21 23:22:57,072 INFO 49588 [egg-watcher:application] watcher start success -2020-04-21 23:22:57,249 INFO 49588 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 21 2020 23:22:57 GMT+0800 (China Standard Time) -2020-04-21 23:22:57,289 INFO 49588 [egg:core] dump config after ready, 8ms -2020-04-21 23:40:31,676 INFO 51407 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-21 23:40:31,700 INFO 51407 [egg-multipart] stream mode enable -2020-04-21 23:40:31,776 INFO 51407 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-21 23:40:31,795 INFO 51407 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-21 23:40:31,962 INFO 51407 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-21 23:40:31,964 INFO 51407 [egg-security] use noopen middleware -2020-04-21 23:40:31,965 INFO 51407 [egg-security] use nosniff middleware -2020-04-21 23:40:31,965 INFO 51407 [egg-security] use xssProtection middleware -2020-04-21 23:40:31,966 INFO 51407 [egg-security] use xframe middleware -2020-04-21 23:40:31,967 INFO 51407 [egg-security] use dta middleware -2020-04-21 23:40:31,967 INFO 51407 [egg-security] compose 5 middlewares into one security middleware -2020-04-21 23:40:31,979 INFO 51407 [egg:core] dump config after load, 7ms -2020-04-21 23:40:31,999 INFO 51407 [egg-redis] client connect success -2020-04-21 23:40:32,005 INFO 51407 [egg-redis] instance[0] status OK, client ready -2020-04-21 23:40:32,009 INFO 51407 [egg-watcher:application] watcher start success -2020-04-21 23:40:32,220 INFO 51407 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 21 2020 23:40:32 GMT+0800 (China Standard Time) -2020-04-21 23:40:32,250 INFO 51407 [egg:core] dump config after ready, 6ms -2020-04-22 23:38:14,656 INFO 51857 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-22 23:38:14,680 INFO 51857 [egg-multipart] stream mode enable -2020-04-22 23:38:14,746 INFO 51857 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-22 23:38:14,765 INFO 51857 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-22 23:38:14,942 INFO 51857 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-22 23:38:14,944 INFO 51857 [egg-security] use noopen middleware -2020-04-22 23:38:14,944 INFO 51857 [egg-security] use nosniff middleware -2020-04-22 23:38:14,945 INFO 51857 [egg-security] use xssProtection middleware -2020-04-22 23:38:14,945 INFO 51857 [egg-security] use xframe middleware -2020-04-22 23:38:14,946 INFO 51857 [egg-security] use dta middleware -2020-04-22 23:38:14,946 INFO 51857 [egg-security] compose 5 middlewares into one security middleware -2020-04-22 23:38:14,957 INFO 51857 [egg:core] dump config after load, 8ms -2020-04-22 23:38:14,970 INFO 51857 [egg-redis] client connect success -2020-04-22 23:38:14,975 INFO 51857 [egg-redis] instance[0] status OK, client ready -2020-04-22 23:38:14,977 INFO 51857 [egg-watcher:application] watcher start success -2020-04-22 23:38:25,007 INFO 51857 [egg:core] dump config after ready, 8ms -2020-04-22 23:39:34,340 INFO 51873 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-22 23:39:34,362 INFO 51873 [egg-multipart] stream mode enable -2020-04-22 23:39:34,422 INFO 51873 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-22 23:39:34,439 INFO 51873 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-22 23:39:34,605 INFO 51873 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-22 23:39:34,607 INFO 51873 [egg-security] use noopen middleware -2020-04-22 23:39:34,608 INFO 51873 [egg-security] use nosniff middleware -2020-04-22 23:39:34,609 INFO 51873 [egg-security] use xssProtection middleware -2020-04-22 23:39:34,610 INFO 51873 [egg-security] use xframe middleware -2020-04-22 23:39:34,611 INFO 51873 [egg-security] use dta middleware -2020-04-22 23:39:34,611 INFO 51873 [egg-security] compose 5 middlewares into one security middleware -2020-04-22 23:39:34,620 INFO 51873 [egg:core] dump config after load, 5ms -2020-04-22 23:39:34,631 INFO 51873 [egg-redis] client connect success -2020-04-22 23:39:34,636 INFO 51873 [egg-redis] instance[0] status OK, client ready -2020-04-22 23:39:34,639 INFO 51873 [egg-watcher:application] watcher start success -2020-04-22 23:39:34,880 INFO 51873 [egg-mysql] instance[0] status OK, rds currentTime: Wed Apr 22 2020 23:39:34 GMT+0800 (China Standard Time) -2020-04-22 23:39:34,926 INFO 51873 [egg:core] dump config after ready, 8ms -2020-04-22 23:44:43,668 INFO 51959 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-22 23:44:43,690 INFO 51959 [egg-multipart] stream mode enable -2020-04-22 23:44:43,735 INFO 51959 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-22 23:44:43,755 INFO 51959 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-22 23:44:43,970 INFO 51959 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-22 23:44:43,973 INFO 51959 [egg-security] use noopen middleware -2020-04-22 23:44:43,974 INFO 51959 [egg-security] use nosniff middleware -2020-04-22 23:44:43,975 INFO 51959 [egg-security] use xssProtection middleware -2020-04-22 23:44:43,976 INFO 51959 [egg-security] use xframe middleware -2020-04-22 23:44:43,977 INFO 51959 [egg-security] use dta middleware -2020-04-22 23:44:43,977 INFO 51959 [egg-security] compose 5 middlewares into one security middleware -2020-04-22 23:44:43,989 INFO 51959 [egg:core] dump config after load, 7ms -2020-04-22 23:44:44,008 INFO 51959 [egg-redis] client connect success -2020-04-22 23:44:44,015 INFO 51959 [egg-redis] instance[0] status OK, client ready -2020-04-22 23:44:44,017 INFO 51959 [egg-watcher:application] watcher start success -2020-04-22 23:44:44,198 INFO 51959 [egg-mysql] instance[0] status OK, rds currentTime: Wed Apr 22 2020 23:44:44 GMT+0800 (China Standard Time) -2020-04-22 23:44:44,224 INFO 51959 [egg:core] dump config after ready, 9ms -2020-04-22 23:50:16,776 ERROR 51959 incorrect action: check -2020-04-23 21:20:11,762 INFO 52898 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-23 21:20:11,786 INFO 52898 [egg-multipart] stream mode enable -2020-04-23 21:20:11,850 INFO 52898 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-23 21:20:11,866 INFO 52898 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-23 21:20:12,038 INFO 52898 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-23 21:20:12,040 INFO 52898 [egg-security] use noopen middleware -2020-04-23 21:20:12,040 INFO 52898 [egg-security] use nosniff middleware -2020-04-23 21:20:12,041 INFO 52898 [egg-security] use xssProtection middleware -2020-04-23 21:20:12,042 INFO 52898 [egg-security] use xframe middleware -2020-04-23 21:20:12,043 INFO 52898 [egg-security] use dta middleware -2020-04-23 21:20:12,043 INFO 52898 [egg-security] compose 5 middlewares into one security middleware -2020-04-23 21:20:12,051 INFO 52898 [egg:core] dump config after load, 5ms -2020-04-23 21:20:12,065 INFO 52898 [egg-redis] client connect success -2020-04-23 21:20:12,070 INFO 52898 [egg-redis] instance[0] status OK, client ready -2020-04-23 21:20:12,072 INFO 52898 [egg-watcher:application] watcher start success -2020-04-23 21:20:12,267 INFO 52898 [egg-mysql] instance[0] status OK, rds currentTime: Thu Apr 23 2020 21:20:12 GMT+0800 (China Standard Time) -2020-04-23 21:20:12,296 INFO 52898 [egg:core] dump config after ready, 7ms -2020-04-23 22:40:56,816 WARN 52898 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-24 00:21:50,009 WARN 52898 [TCPBase] socket is closed by other side while there were still unhandled data in the socket buffer -2020-04-24 00:21:50,009 WARN 52898 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-24 00:22:26,166 ERROR 52898 incorrect action: check -2020-04-24 00:30:09,626 WARN 52898 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-27 21:20:53,364 INFO 56754 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-27 21:20:53,386 INFO 56754 [egg-multipart] stream mode enable -2020-04-27 21:20:53,450 INFO 56754 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-27 21:20:53,475 INFO 56754 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-27 21:20:53,643 INFO 56754 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-27 21:20:53,645 INFO 56754 [egg-security] use noopen middleware -2020-04-27 21:20:53,646 INFO 56754 [egg-security] use nosniff middleware -2020-04-27 21:20:53,646 INFO 56754 [egg-security] use xssProtection middleware -2020-04-27 21:20:53,647 INFO 56754 [egg-security] use xframe middleware -2020-04-27 21:20:53,648 INFO 56754 [egg-security] use dta middleware -2020-04-27 21:20:53,648 INFO 56754 [egg-security] compose 5 middlewares into one security middleware -2020-04-27 21:20:53,656 INFO 56754 [egg:core] dump config after load, 5ms -2020-04-27 21:20:53,668 INFO 56754 [egg-redis] client connect success -2020-04-27 21:20:53,673 INFO 56754 [egg-redis] instance[0] status OK, client ready -2020-04-27 21:20:53,675 INFO 56754 [egg-watcher:application] watcher start success -2020-04-27 21:20:53,867 INFO 56754 [egg-mysql] instance[0] status OK, rds currentTime: Mon Apr 27 2020 21:20:53 GMT+0800 (China Standard Time) -2020-04-27 21:20:53,900 INFO 56754 [egg:core] dump config after ready, 5ms -2020-04-27 21:38:33,621 INFO 56817 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-27 21:38:33,652 INFO 56817 [egg-multipart] stream mode enable -2020-04-27 21:38:33,729 INFO 56817 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-27 21:38:33,755 INFO 56817 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-27 21:38:33,944 INFO 56817 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-27 21:38:33,947 INFO 56817 [egg-security] use noopen middleware -2020-04-27 21:38:33,948 INFO 56817 [egg-security] use nosniff middleware -2020-04-27 21:38:33,949 INFO 56817 [egg-security] use xssProtection middleware -2020-04-27 21:38:33,950 INFO 56817 [egg-security] use xframe middleware -2020-04-27 21:38:33,950 INFO 56817 [egg-security] use dta middleware -2020-04-27 21:38:33,950 INFO 56817 [egg-security] compose 5 middlewares into one security middleware -2020-04-27 21:38:33,960 INFO 56817 [egg:core] dump config after load, 7ms -2020-04-27 21:38:33,978 INFO 56817 [egg-redis] client connect success -2020-04-27 21:38:33,983 INFO 56817 [egg-redis] instance[0] status OK, client ready -2020-04-27 21:38:33,986 INFO 56817 [egg-watcher:application] watcher start success -2020-04-27 21:38:36,238 INFO 56817 [egg-mysql] instance[0] status OK, rds currentTime: Mon Apr 27 2020 21:38:36 GMT+0800 (China Standard Time) -2020-04-27 21:38:36,269 INFO 56817 [egg:core] dump config after ready, 6ms -2020-04-27 21:44:12,691 ERROR 56817 nodejs.TypeError: Cannot read property '0' of undefined (uncaughtException throw 1 times on pid:56817) - at /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts:85:69 - at processTicksAndRejections (internal/process/task_queues.js:79:11) - -pid: 56817 -hostname: 192.168.0.103 - -2020-04-27 21:44:56,898 INFO 56872 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-27 21:44:56,921 INFO 56872 [egg-multipart] stream mode enable -2020-04-27 21:44:56,984 INFO 56872 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-27 21:44:57,001 INFO 56872 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-27 21:44:57,170 INFO 56872 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-27 21:44:57,172 INFO 56872 [egg-security] use noopen middleware -2020-04-27 21:44:57,173 INFO 56872 [egg-security] use nosniff middleware -2020-04-27 21:44:57,174 INFO 56872 [egg-security] use xssProtection middleware -2020-04-27 21:44:57,174 INFO 56872 [egg-security] use xframe middleware -2020-04-27 21:44:57,175 INFO 56872 [egg-security] use dta middleware -2020-04-27 21:44:57,175 INFO 56872 [egg-security] compose 5 middlewares into one security middleware -2020-04-27 21:44:57,183 INFO 56872 [egg:core] dump config after load, 5ms -2020-04-27 21:44:57,195 INFO 56872 [egg-redis] client connect success -2020-04-27 21:44:57,199 INFO 56872 [egg-redis] instance[0] status OK, client ready -2020-04-27 21:44:57,201 INFO 56872 [egg-watcher:application] watcher start success -2020-04-27 21:44:57,410 INFO 56872 [egg-mysql] instance[0] status OK, rds currentTime: Mon Apr 27 2020 21:44:57 GMT+0800 (China Standard Time) -2020-04-27 21:44:57,438 INFO 56872 [egg:core] dump config after ready, 6ms -2020-04-27 21:49:55,157 INFO 56908 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-27 21:49:55,185 INFO 56908 [egg-multipart] stream mode enable -2020-04-27 21:49:55,271 INFO 56908 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-27 21:49:55,320 INFO 56908 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-27 21:49:55,491 INFO 56908 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-27 21:49:55,494 INFO 56908 [egg-security] use noopen middleware -2020-04-27 21:49:55,495 INFO 56908 [egg-security] use nosniff middleware -2020-04-27 21:49:55,496 INFO 56908 [egg-security] use xssProtection middleware -2020-04-27 21:49:55,497 INFO 56908 [egg-security] use xframe middleware -2020-04-27 21:49:55,498 INFO 56908 [egg-security] use dta middleware -2020-04-27 21:49:55,498 INFO 56908 [egg-security] compose 5 middlewares into one security middleware -2020-04-27 21:49:55,506 INFO 56908 [egg:core] dump config after load, 6ms -2020-04-27 21:49:55,519 INFO 56908 [egg-redis] client connect success -2020-04-27 21:49:55,523 INFO 56908 [egg-redis] instance[0] status OK, client ready -2020-04-27 21:49:55,526 INFO 56908 [egg-watcher:application] watcher start success -2020-04-27 21:49:55,731 INFO 56908 [egg-mysql] instance[0] status OK, rds currentTime: Mon Apr 27 2020 21:49:55 GMT+0800 (China Standard Time) -2020-04-27 21:49:55,760 INFO 56908 [egg:core] dump config after ready, 6ms -2020-04-27 21:51:04,942 INFO 56936 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-27 21:51:04,964 INFO 56936 [egg-multipart] stream mode enable -2020-04-27 21:51:04,988 INFO 56936 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-27 21:51:05,003 INFO 56936 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-27 21:51:05,075 INFO 56936 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-27 21:51:05,076 INFO 56936 [egg-security] use noopen middleware -2020-04-27 21:51:05,076 INFO 56936 [egg-security] use nosniff middleware -2020-04-27 21:51:05,077 INFO 56936 [egg-security] use xssProtection middleware -2020-04-27 21:51:05,077 INFO 56936 [egg-security] use xframe middleware -2020-04-27 21:51:05,077 INFO 56936 [egg-security] use dta middleware -2020-04-27 21:51:05,077 INFO 56936 [egg-security] compose 5 middlewares into one security middleware -2020-04-27 21:51:05,085 INFO 56936 [egg:core] dump config after load, 5ms -2020-04-27 21:51:05,096 INFO 56936 [egg-redis] client connect success -2020-04-27 21:51:05,100 INFO 56936 [egg-redis] instance[0] status OK, client ready -2020-04-27 21:51:05,102 INFO 56936 [egg-watcher:application] watcher start success -2020-04-27 21:51:05,340 INFO 56936 [egg-mysql] instance[0] status OK, rds currentTime: Mon Apr 27 2020 21:51:05 GMT+0800 (China Standard Time) -2020-04-27 21:51:05,352 INFO 56936 [egg:core] dump config after ready, 5ms -2020-04-27 21:55:00,193 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:00,193 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,296 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:00,297 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,331 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,333 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,334 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,334 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,451 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:00,452 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,654 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:00,655 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,676 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,676 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,677 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,677 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,908 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:00,909 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:01,212 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:01,213 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:01,258 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:01,258 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:01,258 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:01,259 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:01,568 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:01,569 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:01,974 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:01,974 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:02,242 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:02,242 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:02,243 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:02,244 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:02,428 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:02,428 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:02,935 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:02,935 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:03,487 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:03,488 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:03,921 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:03,921 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:03,922 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:03,922 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:04,090 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:04,090 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:04,743 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:04,744 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:05,446 INFO 56936 [egg-redis] client connect success -2020-04-27 23:17:33,746 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 00:30:11,622 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 00:40:06,829 WARN 56936 [TCPBase] socket is closed by other side while there were still unhandled data in the socket buffer -2020-04-28 00:40:06,832 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 01:11:11,669 WARN 56936 [TCPBase] socket is closed by other side while there were still unhandled data in the socket buffer -2020-04-28 01:11:11,681 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 01:21:23,497 WARN 56936 [TCPBase] socket is closed by other side while there were still unhandled data in the socket buffer -2020-04-28 01:21:23,500 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 03:09:41,951 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 03:24:44,823 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 05:12:54,978 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 07:00:48,500 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 08:48:57,685 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 10:37:02,871 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 10:42:57,501 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 18:09:13,909 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 19:21:07,124 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 23:23:43,763 WARN 56936 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-28 23:26:39,595 INFO 57542 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-28 23:26:39,619 INFO 57542 [egg-multipart] stream mode enable -2020-04-28 23:26:39,689 INFO 57542 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-28 23:26:39,707 INFO 57542 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-28 23:26:39,889 INFO 57542 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-28 23:26:39,891 INFO 57542 [egg-security] use noopen middleware -2020-04-28 23:26:39,892 INFO 57542 [egg-security] use nosniff middleware -2020-04-28 23:26:39,893 INFO 57542 [egg-security] use xssProtection middleware -2020-04-28 23:26:39,894 INFO 57542 [egg-security] use xframe middleware -2020-04-28 23:26:39,895 INFO 57542 [egg-security] use dta middleware -2020-04-28 23:26:39,895 INFO 57542 [egg-security] compose 5 middlewares into one security middleware -2020-04-28 23:26:39,904 INFO 57542 [egg:core] dump config after load, 5ms -2020-04-28 23:26:39,916 INFO 57542 [egg-redis] client connect success -2020-04-28 23:26:39,921 INFO 57542 [egg-redis] instance[0] status OK, client ready -2020-04-28 23:26:39,924 INFO 57542 [egg-watcher:application] watcher start success -2020-04-28 23:26:49,943 INFO 57542 [egg:core] dump config after ready, 7ms -2020-04-28 23:28:25,024 INFO 57568 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-28 23:28:25,047 INFO 57568 [egg-multipart] stream mode enable -2020-04-28 23:28:25,072 INFO 57568 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-28 23:28:25,089 INFO 57568 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-28 23:28:25,264 INFO 57568 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-28 23:28:25,266 INFO 57568 [egg-security] use noopen middleware -2020-04-28 23:28:25,267 INFO 57568 [egg-security] use nosniff middleware -2020-04-28 23:28:25,268 INFO 57568 [egg-security] use xssProtection middleware -2020-04-28 23:28:25,269 INFO 57568 [egg-security] use xframe middleware -2020-04-28 23:28:25,270 INFO 57568 [egg-security] use dta middleware -2020-04-28 23:28:25,270 INFO 57568 [egg-security] compose 5 middlewares into one security middleware -2020-04-28 23:28:25,278 INFO 57568 [egg:core] dump config after load, 6ms -2020-04-28 23:28:25,291 INFO 57568 [egg-redis] client connect success -2020-04-28 23:28:25,299 INFO 57568 [egg-redis] instance[0] status OK, client ready -2020-04-28 23:28:25,301 INFO 57568 [egg-watcher:application] watcher start success -2020-04-28 23:28:25,479 INFO 57568 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 28 2020 23:28:25 GMT+0800 (China Standard Time) -2020-04-28 23:28:25,508 INFO 57568 [egg:core] dump config after ready, 10ms -2020-04-28 23:34:26,600 INFO 59295 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-28 23:34:26,629 INFO 59295 [egg-multipart] stream mode enable -2020-04-28 23:34:26,680 INFO 59295 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-28 23:34:26,699 INFO 59295 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-28 23:34:26,876 INFO 59295 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-28 23:34:26,879 INFO 59295 [egg-security] use noopen middleware -2020-04-28 23:34:26,880 INFO 59295 [egg-security] use nosniff middleware -2020-04-28 23:34:26,881 INFO 59295 [egg-security] use xssProtection middleware -2020-04-28 23:34:26,883 INFO 59295 [egg-security] use xframe middleware -2020-04-28 23:34:26,884 INFO 59295 [egg-security] use dta middleware -2020-04-28 23:34:26,884 INFO 59295 [egg-security] compose 5 middlewares into one security middleware -2020-04-28 23:34:26,892 INFO 59295 [egg:core] dump config after load, 5ms -2020-04-28 23:34:26,904 INFO 59295 [egg-redis] client connect success -2020-04-28 23:34:26,909 INFO 59295 [egg-redis] instance[0] status OK, client ready -2020-04-28 23:34:26,911 INFO 59295 [egg-watcher:application] watcher start success -2020-04-28 23:34:27,087 INFO 59295 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 28 2020 23:34:27 GMT+0800 (China Standard Time) -2020-04-28 23:34:27,114 INFO 59295 [egg:core] dump config after ready, 6ms -2020-04-28 23:35:59,152 INFO 59320 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-28 23:35:59,181 INFO 59320 [egg-multipart] stream mode enable -2020-04-28 23:35:59,228 INFO 59320 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-28 23:35:59,249 INFO 59320 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-28 23:35:59,427 INFO 59320 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-28 23:35:59,429 INFO 59320 [egg-security] use noopen middleware -2020-04-28 23:35:59,430 INFO 59320 [egg-security] use nosniff middleware -2020-04-28 23:35:59,431 INFO 59320 [egg-security] use xssProtection middleware -2020-04-28 23:35:59,432 INFO 59320 [egg-security] use xframe middleware -2020-04-28 23:35:59,433 INFO 59320 [egg-security] use dta middleware -2020-04-28 23:35:59,433 INFO 59320 [egg-security] compose 5 middlewares into one security middleware -2020-04-28 23:35:59,441 INFO 59320 [egg:core] dump config after load, 5ms -2020-04-28 23:35:59,463 INFO 59320 [egg-redis] client connect success -2020-04-28 23:35:59,483 INFO 59320 [egg-redis] instance[0] status OK, client ready -2020-04-28 23:35:59,486 INFO 59320 [egg-watcher:application] watcher start success -2020-04-28 23:35:59,633 INFO 59320 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 28 2020 23:35:59 GMT+0800 (China Standard Time) -2020-04-28 23:35:59,669 INFO 59320 [egg:core] dump config after ready, 7ms -2020-04-28 23:37:42,499 INFO 59334 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-28 23:37:42,544 INFO 59334 [egg-multipart] stream mode enable -2020-04-28 23:37:42,596 INFO 59334 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-28 23:37:42,646 INFO 59334 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-28 23:37:42,800 INFO 59334 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-28 23:37:42,803 INFO 59334 [egg-security] use noopen middleware -2020-04-28 23:37:42,804 INFO 59334 [egg-security] use nosniff middleware -2020-04-28 23:37:42,804 INFO 59334 [egg-security] use xssProtection middleware -2020-04-28 23:37:42,805 INFO 59334 [egg-security] use xframe middleware -2020-04-28 23:37:42,806 INFO 59334 [egg-security] use dta middleware -2020-04-28 23:37:42,806 INFO 59334 [egg-security] compose 5 middlewares into one security middleware -2020-04-28 23:37:42,814 INFO 59334 [egg:core] dump config after load, 5ms -2020-04-28 23:37:42,826 INFO 59334 [egg-redis] client connect success -2020-04-28 23:37:42,830 INFO 59334 [egg-watcher:application] watcher start success -2020-04-28 23:37:42,833 INFO 59334 [egg-redis] instance[0] status OK, client ready -2020-04-28 23:37:43,015 INFO 59334 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 28 2020 23:37:42 GMT+0800 (China Standard Time) -2020-04-28 23:37:43,051 INFO 59334 [egg:core] dump config after ready, 7ms -2020-04-28 23:44:17,444 INFO 59347 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-28 23:44:17,467 INFO 59347 [egg-multipart] stream mode enable -2020-04-28 23:44:17,493 INFO 59347 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-28 23:44:17,507 INFO 59347 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-28 23:44:17,761 INFO 59347 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-28 23:44:17,762 INFO 59347 [egg-security] use noopen middleware -2020-04-28 23:44:17,763 INFO 59347 [egg-security] use nosniff middleware -2020-04-28 23:44:17,763 INFO 59347 [egg-security] use xssProtection middleware -2020-04-28 23:44:17,764 INFO 59347 [egg-security] use xframe middleware -2020-04-28 23:44:17,764 INFO 59347 [egg-security] use dta middleware -2020-04-28 23:44:17,764 INFO 59347 [egg-security] compose 5 middlewares into one security middleware -2020-04-28 23:44:17,771 INFO 59347 [egg:core] dump config after load, 5ms -2020-04-28 23:44:17,783 INFO 59347 [egg-redis] client connect success -2020-04-28 23:44:17,788 INFO 59347 [egg-redis] instance[0] status OK, client ready -2020-04-28 23:44:17,791 INFO 59347 [egg-watcher:application] watcher start success -2020-04-28 23:44:17,950 INFO 59347 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 28 2020 23:44:17 GMT+0800 (China Standard Time) -2020-04-28 23:44:17,964 INFO 59347 [egg:core] dump config after ready, 7ms -2020-04-28 23:48:37,076 INFO 59357 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-28 23:48:37,103 INFO 59357 [egg-multipart] stream mode enable -2020-04-28 23:48:37,137 INFO 59357 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-28 23:48:37,155 INFO 59357 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-28 23:48:37,300 INFO 59357 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-28 23:48:37,302 INFO 59357 [egg-security] use noopen middleware -2020-04-28 23:48:37,303 INFO 59357 [egg-security] use nosniff middleware -2020-04-28 23:48:37,304 INFO 59357 [egg-security] use xssProtection middleware -2020-04-28 23:48:37,306 INFO 59357 [egg-security] use xframe middleware -2020-04-28 23:48:37,306 INFO 59357 [egg-security] use dta middleware -2020-04-28 23:48:37,307 INFO 59357 [egg-security] compose 5 middlewares into one security middleware -2020-04-28 23:48:37,369 INFO 59357 [egg:core] dump config after load, 60ms -2020-04-28 23:48:37,397 INFO 59357 [egg-redis] client connect success -2020-04-28 23:48:37,403 INFO 59357 [egg-redis] instance[0] status OK, client ready -2020-04-28 23:48:37,409 INFO 59357 [egg-watcher:application] watcher start success -2020-04-28 23:48:37,579 INFO 59357 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 28 2020 23:48:37 GMT+0800 (China Standard Time) -2020-04-28 23:48:37,607 INFO 59357 [egg:core] dump config after ready, 6ms -2020-04-28 23:51:25,276 INFO 59385 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-28 23:51:25,315 INFO 59385 [egg-multipart] stream mode enable -2020-04-28 23:51:25,369 INFO 59385 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-28 23:51:25,389 INFO 59385 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-28 23:51:25,552 INFO 59385 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-28 23:51:25,554 INFO 59385 [egg-security] use noopen middleware -2020-04-28 23:51:25,555 INFO 59385 [egg-security] use nosniff middleware -2020-04-28 23:51:25,555 INFO 59385 [egg-security] use xssProtection middleware -2020-04-28 23:51:25,556 INFO 59385 [egg-security] use xframe middleware -2020-04-28 23:51:25,557 INFO 59385 [egg-security] use dta middleware -2020-04-28 23:51:25,557 INFO 59385 [egg-security] compose 5 middlewares into one security middleware -2020-04-28 23:51:25,567 INFO 59385 [egg:core] dump config after load, 6ms -2020-04-28 23:51:25,582 INFO 59385 [egg-redis] client connect success -2020-04-28 23:51:25,587 INFO 59385 [egg-redis] instance[0] status OK, client ready -2020-04-28 23:51:25,589 INFO 59385 [egg-watcher:application] watcher start success -2020-04-28 23:51:25,758 INFO 59385 [egg-mysql] instance[0] status OK, rds currentTime: Tue Apr 28 2020 23:51:25 GMT+0800 (China Standard Time) -2020-04-28 23:51:25,803 INFO 59385 [egg:core] dump config after ready, 8ms -2020-04-29 00:02:35,743 INFO 59465 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-29 00:02:35,765 INFO 59465 [egg-multipart] stream mode enable -2020-04-29 00:02:35,844 INFO 59465 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-29 00:02:35,866 INFO 59465 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-29 00:02:36,019 INFO 59465 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-29 00:02:36,021 INFO 59465 [egg-security] use noopen middleware -2020-04-29 00:02:36,022 INFO 59465 [egg-security] use nosniff middleware -2020-04-29 00:02:36,023 INFO 59465 [egg-security] use xssProtection middleware -2020-04-29 00:02:36,024 INFO 59465 [egg-security] use xframe middleware -2020-04-29 00:02:36,025 INFO 59465 [egg-security] use dta middleware -2020-04-29 00:02:36,025 INFO 59465 [egg-security] compose 5 middlewares into one security middleware -2020-04-29 00:02:36,033 INFO 59465 [egg:core] dump config after load, 6ms -2020-04-29 00:02:36,045 INFO 59465 [egg-redis] client connect success -2020-04-29 00:02:36,050 INFO 59465 [egg-redis] instance[0] status OK, client ready -2020-04-29 00:02:36,052 INFO 59465 [egg-watcher:application] watcher start success -2020-04-29 00:02:36,242 INFO 59465 [egg-mysql] instance[0] status OK, rds currentTime: Wed Apr 29 2020 00:02:36 GMT+0800 (China Standard Time) -2020-04-29 00:02:36,270 INFO 59465 [egg:core] dump config after ready, 5ms -2020-04-29 00:10:39,326 INFO 59564 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-29 00:10:39,355 INFO 59564 [egg-multipart] stream mode enable -2020-04-29 00:10:39,406 INFO 59564 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-29 00:10:39,428 INFO 59564 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-29 00:10:39,564 INFO 59564 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-29 00:10:39,566 INFO 59564 [egg-security] use noopen middleware -2020-04-29 00:10:39,566 INFO 59564 [egg-security] use nosniff middleware -2020-04-29 00:10:39,567 INFO 59564 [egg-security] use xssProtection middleware -2020-04-29 00:10:39,568 INFO 59564 [egg-security] use xframe middleware -2020-04-29 00:10:39,568 INFO 59564 [egg-security] use dta middleware -2020-04-29 00:10:39,568 INFO 59564 [egg-security] compose 5 middlewares into one security middleware -2020-04-29 00:10:39,591 INFO 59564 [egg:core] dump config after load, 14ms -2020-04-29 00:10:39,608 INFO 59564 [egg-redis] client connect success -2020-04-29 00:10:39,613 INFO 59564 [egg-redis] instance[0] status OK, client ready -2020-04-29 00:10:39,615 INFO 59564 [egg-watcher:application] watcher start success -2020-04-29 00:10:39,789 INFO 59564 [egg-mysql] instance[0] status OK, rds currentTime: Wed Apr 29 2020 00:10:39 GMT+0800 (China Standard Time) -2020-04-29 00:10:39,814 INFO 59564 [egg:core] dump config after ready, 3ms -2020-04-29 00:15:01,060 INFO 59599 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-29 00:15:01,091 INFO 59599 [egg-multipart] stream mode enable -2020-04-29 00:15:01,151 INFO 59599 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-29 00:15:01,187 INFO 59599 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-29 00:15:01,406 INFO 59599 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-29 00:15:01,409 INFO 59599 [egg-security] use noopen middleware -2020-04-29 00:15:01,410 INFO 59599 [egg-security] use nosniff middleware -2020-04-29 00:15:01,411 INFO 59599 [egg-security] use xssProtection middleware -2020-04-29 00:15:01,412 INFO 59599 [egg-security] use xframe middleware -2020-04-29 00:15:01,414 INFO 59599 [egg-security] use dta middleware -2020-04-29 00:15:01,414 INFO 59599 [egg-security] compose 5 middlewares into one security middleware -2020-04-29 00:15:01,422 INFO 59599 [egg:core] dump config after load, 6ms -2020-04-29 00:15:01,433 INFO 59599 [egg-redis] client connect success -2020-04-29 00:15:01,438 INFO 59599 [egg-redis] instance[0] status OK, client ready -2020-04-29 00:15:01,440 INFO 59599 [egg-watcher:application] watcher start success -2020-04-29 00:15:01,616 INFO 59599 [egg-mysql] instance[0] status OK, rds currentTime: Wed Apr 29 2020 00:15:01 GMT+0800 (China Standard Time) -2020-04-29 00:15:01,645 INFO 59599 [egg:core] dump config after ready, 5ms -2020-04-29 00:20:18,589 ERROR 59599 incorrect action: check -2020-04-29 00:20:37,254 INFO 59618 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-29 00:20:37,286 INFO 59618 [egg-multipart] stream mode enable -2020-04-29 00:20:37,337 INFO 59618 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-29 00:20:37,363 INFO 59618 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-29 00:20:37,563 INFO 59618 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-29 00:20:37,565 INFO 59618 [egg-security] use noopen middleware -2020-04-29 00:20:37,566 INFO 59618 [egg-security] use nosniff middleware -2020-04-29 00:20:37,567 INFO 59618 [egg-security] use xssProtection middleware -2020-04-29 00:20:37,568 INFO 59618 [egg-security] use xframe middleware -2020-04-29 00:20:37,569 INFO 59618 [egg-security] use dta middleware -2020-04-29 00:20:37,569 INFO 59618 [egg-security] compose 5 middlewares into one security middleware -2020-04-29 00:20:37,577 INFO 59618 [egg:core] dump config after load, 5ms -2020-04-29 00:20:37,590 INFO 59618 [egg-redis] client connect success -2020-04-29 00:20:37,595 INFO 59618 [egg-redis] instance[0] status OK, client ready -2020-04-29 00:20:37,597 INFO 59618 [egg-watcher:application] watcher start success -2020-04-29 00:20:37,771 INFO 59618 [egg-mysql] instance[0] status OK, rds currentTime: Wed Apr 29 2020 00:20:37 GMT+0800 (China Standard Time) -2020-04-29 00:20:37,805 INFO 59618 [egg:core] dump config after ready, 11ms -2020-04-29 00:26:51,342 INFO 59664 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-29 00:26:51,366 INFO 59664 [egg-multipart] stream mode enable -2020-04-29 00:26:51,410 INFO 59664 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-29 00:26:51,427 INFO 59664 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-29 00:26:51,607 INFO 59664 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-29 00:26:51,609 INFO 59664 [egg-security] use noopen middleware -2020-04-29 00:26:51,610 INFO 59664 [egg-security] use nosniff middleware -2020-04-29 00:26:51,611 INFO 59664 [egg-security] use xssProtection middleware -2020-04-29 00:26:51,611 INFO 59664 [egg-security] use xframe middleware -2020-04-29 00:26:51,612 INFO 59664 [egg-security] use dta middleware -2020-04-29 00:26:51,613 INFO 59664 [egg-security] compose 5 middlewares into one security middleware -2020-04-29 00:26:51,621 INFO 59664 [egg:core] dump config after load, 6ms -2020-04-29 00:26:51,634 INFO 59664 [egg-redis] client connect success -2020-04-29 00:26:51,640 INFO 59664 [egg-redis] instance[0] status OK, client ready -2020-04-29 00:26:51,642 INFO 59664 [egg-watcher:application] watcher start success -2020-04-29 00:26:51,818 INFO 59664 [egg-mysql] instance[0] status OK, rds currentTime: Wed Apr 29 2020 00:26:51 GMT+0800 (China Standard Time) -2020-04-29 00:26:51,834 INFO 59664 [egg:core] dump config after ready, 5ms -2020-04-29 01:02:27,252 WARN 59664 [ClusterClient:Watcher] follower closed, and try to init it again -2020-04-29 01:02:54,081 ERROR 59664 incorrect action: check -2020-04-29 22:12:36,846 INFO 60633 [egg:logger] init all loggers with options: {"dir":"/Users/jorky/code/TexasPokerGame/server/logs/game-node-center","encoding":"utf8","env":"local","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":false,"outputJSON":false,"buffer":true,"appLogName":"app.log","coreLogName":"core.log","agentLogName":"agent.log","errorLogName":"error.log","coreLogger":{"consoleLevel":"WARN"},"allowDebugAtProd":false,"type":"application"} -2020-04-29 22:12:36,870 INFO 60633 [egg-multipart] stream mode enable -2020-04-29 22:12:36,932 INFO 60633 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0 -2020-04-29 22:12:36,954 INFO 60633 [egg-mysql] connecting root@47.104.172.100:3306/poker -2020-04-29 22:12:37,152 INFO 60633 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public -2020-04-29 22:12:37,154 INFO 60633 [egg-security] use noopen middleware -2020-04-29 22:12:37,155 INFO 60633 [egg-security] use nosniff middleware -2020-04-29 22:12:37,156 INFO 60633 [egg-security] use xssProtection middleware -2020-04-29 22:12:37,157 INFO 60633 [egg-security] use xframe middleware -2020-04-29 22:12:37,158 INFO 60633 [egg-security] use dta middleware -2020-04-29 22:12:37,158 INFO 60633 [egg-security] compose 5 middlewares into one security middleware -2020-04-29 22:12:37,167 INFO 60633 [egg:core] dump config after load, 6ms -2020-04-29 22:12:37,181 INFO 60633 [egg-redis] client connect success -2020-04-29 22:12:37,187 INFO 60633 [egg-redis] instance[0] status OK, client ready -2020-04-29 22:12:37,189 INFO 60633 [egg-watcher:application] watcher start success -2020-04-29 22:12:37,365 INFO 60633 [egg-mysql] instance[0] status OK, rds currentTime: Wed Apr 29 2020 22:12:37 GMT+0800 (China Standard Time) -2020-04-29 22:12:37,393 INFO 60633 [egg:core] dump config after ready, 6ms -2020-04-30 00:00:00,160 INFO 60633 [egg-logrotator] clean all log before 31 days -2020-04-30 00:00:01,063 INFO 60633 [egg-logrotator] broadcast log-reload -2020-04-30 00:00:01,063 INFO 60633 [egg-logrotator] rotate files success by DayRotator, files ["/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/error.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/error.log.2020-04-29","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/app.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/app.log.2020-04-29","/Users/jorky/code/TexasPokerGame/server/logs/ELKLog/info.log -> /Users/jorky/code/TexasPokerGame/server/logs/ELKLog/info.log.2020-04-29","/Users/jorky/code/TexasPokerGame/server/logs/ELKLog/error.log -> /Users/jorky/code/TexasPokerGame/server/logs/ELKLog/error.log.2020-04-29","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/core.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/core.log.2020-04-29","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/egg-schedule.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/egg-schedule.log.2020-04-29","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/agent.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/agent.log.2020-04-29"] diff --git a/server/logs/game-node-center/egg-schedule.log b/server/logs/game-node-center/egg-schedule.log deleted file mode 100644 index e69de29..0000000 diff --git a/server/logs/game-node-center/egg-schedule.log.2020-04-17 b/server/logs/game-node-center/egg-schedule.log.2020-04-17 deleted file mode 100755 index 8df08ef..0000000 --- a/server/logs/game-node-center/egg-schedule.log.2020-04-17 +++ /dev/null @@ -1,30 +0,0 @@ -2020-04-14 22:10:47,463 INFO 36442 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 22752539ms at 2020-04-15 04:30:00.002 -2020-04-14 22:10:47,463 INFO 36442 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 6552537ms at 2020-04-15 00:00:00.000 -2020-04-14 22:10:47,463 INFO 36442 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 6553537ms at 2020-04-15 00:00:01.000 -2020-04-14 22:10:47,096 INFO 36443 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-14 22:10:47,096 INFO 36443 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-14 22:10:47,096 INFO 36443 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-17 23:56:22,943 INFO 39850 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 16417059ms at 2020-04-18 04:30:00.002 -2020-04-17 23:56:22,943 INFO 39850 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 217057ms at 2020-04-18 00:00:00.000 -2020-04-17 23:56:22,944 INFO 39850 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 218057ms at 2020-04-18 00:00:01.001 -2020-04-17 23:56:22,595 INFO 39851 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-17 23:56:22,595 INFO 39851 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-17 23:56:22,595 INFO 39851 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-17 23:56:55,629 INFO 39899 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-17 23:56:55,630 INFO 39899 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-17 23:56:55,630 INFO 39899 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-17 23:56:56,135 INFO 39898 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 16383867ms at 2020-04-18 04:30:00.002 -2020-04-17 23:56:56,135 INFO 39898 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 183865ms at 2020-04-18 00:00:00.000 -2020-04-17 23:56:56,135 INFO 39898 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 184865ms at 2020-04-18 00:00:01.000 -2020-04-17 23:57:57,017 INFO 39967 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-17 23:57:57,017 INFO 39967 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-17 23:57:57,017 INFO 39967 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-17 23:57:57,558 INFO 39966 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 16322444ms at 2020-04-18 04:30:00.002 -2020-04-17 23:57:57,558 INFO 39966 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 122442ms at 2020-04-18 00:00:00.000 -2020-04-17 23:57:57,558 INFO 39966 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 123442ms at 2020-04-18 00:00:01.000 -2020-04-18 00:00:00,093 INFO 39967 [Job#15871392000092183056658938571] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js executing by app -2020-04-18 00:00:00,117 INFO 39967 [Job#15871392000092183056658938571] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js execute succeed, used 18ms -2020-04-18 00:00:00,017 INFO 39966 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 86399991ms at 2020-04-19 00:00:00.008 -2020-04-18 00:00:01,011 INFO 39966 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 86399995ms at 2020-04-19 00:00:01.005 -2020-04-18 00:00:01,011 INFO 39967 [Job#15871392010042183066612353181] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js executing by app -2020-04-18 00:00:01,017 INFO 39967 [Job#15871392010042183066612353181] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js execute succeed, used 6ms diff --git a/server/logs/game-node-center/egg-schedule.log.2020-04-18 b/server/logs/game-node-center/egg-schedule.log.2020-04-18 deleted file mode 100644 index df0f38c..0000000 --- a/server/logs/game-node-center/egg-schedule.log.2020-04-18 +++ /dev/null @@ -1,132 +0,0 @@ -2020-04-18 00:00:59,432 INFO 40032 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 16140570ms at 2020-04-18 04:30:00.002 -2020-04-18 00:00:59,433 INFO 40032 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 86340568ms at 2020-04-19 00:00:00.001 -2020-04-18 00:00:59,434 INFO 40032 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 86341567ms at 2020-04-19 00:00:01.001 -2020-04-18 00:00:58,905 INFO 40033 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 00:00:58,905 INFO 40033 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 00:00:58,905 INFO 40033 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 00:02:57,676 INFO 40063 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 16022326ms at 2020-04-18 04:30:00.002 -2020-04-18 00:02:57,677 INFO 40063 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 86222324ms at 2020-04-19 00:00:00.001 -2020-04-18 00:02:57,678 INFO 40063 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 86223323ms at 2020-04-19 00:00:01.001 -2020-04-18 00:02:57,147 INFO 40064 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 00:02:57,147 INFO 40064 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 00:02:57,147 INFO 40064 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 00:04:40,459 INFO 40142 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 00:04:40,459 INFO 40142 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 00:04:40,459 INFO 40142 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 00:04:40,959 INFO 40141 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 15919042ms at 2020-04-18 04:30:00.001 -2020-04-18 00:04:40,961 INFO 40141 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 86119040ms at 2020-04-19 00:00:00.001 -2020-04-18 00:04:40,962 INFO 40141 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 86120039ms at 2020-04-19 00:00:01.001 -2020-04-18 00:12:09,517 INFO 40798 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 00:12:09,517 INFO 40798 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 00:12:09,517 INFO 40798 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 00:30:45,928 INFO 41667 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 00:30:45,928 INFO 41667 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 00:30:45,928 INFO 41667 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 17:35:50,541 INFO 44297 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 17:35:50,541 INFO 44297 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 17:35:50,541 INFO 44297 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 17:35:53,927 INFO 44294 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 39246075ms at 2020-04-19 04:30:00.002 -2020-04-18 17:35:53,927 INFO 44294 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 23046073ms at 2020-04-19 00:00:00.000 -2020-04-18 17:35:53,927 INFO 44294 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 23047073ms at 2020-04-19 00:00:01.000 -2020-04-18 17:55:47,628 INFO 44670 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 38052375ms at 2020-04-19 04:30:00.003 -2020-04-18 17:55:47,628 INFO 44670 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 21852372ms at 2020-04-19 00:00:00.000 -2020-04-18 17:55:47,628 INFO 44670 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 21853372ms at 2020-04-19 00:00:01.000 -2020-04-18 17:55:47,123 INFO 44671 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 17:55:47,123 INFO 44671 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 17:55:47,123 INFO 44671 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 18:14:30,018 INFO 44714 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 18:14:30,018 INFO 44714 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 18:14:30,018 INFO 44714 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 18:19:21,880 INFO 44785 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 18:19:21,880 INFO 44785 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 18:19:21,880 INFO 44785 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 18:19:25,518 INFO 44788 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 18:19:25,518 INFO 44788 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 18:19:25,518 INFO 44788 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 18:20:58,827 INFO 44795 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 18:20:58,827 INFO 44795 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 18:20:58,827 INFO 44795 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 18:22:00,035 INFO 44801 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 18:22:00,035 INFO 44801 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 18:22:00,035 INFO 44801 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 18:34:52,368 INFO 44840 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 18:34:52,368 INFO 44840 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 18:34:52,368 INFO 44840 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 18:35:47,858 INFO 44845 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 18:35:47,858 INFO 44845 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 18:35:47,858 INFO 44845 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 18:37:42,195 INFO 44850 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 18:37:42,195 INFO 44850 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 18:37:42,195 INFO 44850 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 19:00:38,260 INFO 44956 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 34161743ms at 2020-04-19 04:30:00.003 -2020-04-18 19:00:38,260 INFO 44956 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 17961740ms at 2020-04-19 00:00:00.000 -2020-04-18 19:00:38,260 INFO 44956 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 17962740ms at 2020-04-19 00:00:01.000 -2020-04-18 19:00:37,743 INFO 44957 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 19:00:37,743 INFO 44957 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 19:00:37,743 INFO 44957 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 19:02:28,524 INFO 44967 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 19:02:28,524 INFO 44967 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 19:02:28,524 INFO 44967 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 21:17:38,664 INFO 45196 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 21:17:38,664 INFO 45196 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 21:17:38,664 INFO 45196 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 21:18:18,538 INFO 45220 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 21:18:18,538 INFO 45220 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 21:18:18,538 INFO 45220 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 21:19:34,301 INFO 45257 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 21:19:34,301 INFO 45257 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 21:19:34,301 INFO 45257 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 21:19:34,783 INFO 45256 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 25825219ms at 2020-04-19 04:30:00.002 -2020-04-18 21:19:34,783 INFO 45256 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 9625217ms at 2020-04-19 00:00:00.000 -2020-04-18 21:19:34,784 INFO 45256 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 9626217ms at 2020-04-19 00:00:01.001 -2020-04-18 21:24:30,887 INFO 45284 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 21:24:30,887 INFO 45284 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 21:24:30,887 INFO 45284 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 21:25:28,760 INFO 45291 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 21:25:28,760 INFO 45291 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 21:25:28,760 INFO 45291 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 21:27:08,766 INFO 45357 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 21:27:08,766 INFO 45357 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 21:27:08,766 INFO 45357 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 21:27:09,247 INFO 45356 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 25370755ms at 2020-04-19 04:30:00.002 -2020-04-18 21:27:09,247 INFO 45356 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 9170753ms at 2020-04-19 00:00:00.000 -2020-04-18 21:27:09,247 INFO 45356 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 9171753ms at 2020-04-19 00:00:01.000 -2020-04-18 21:29:49,466 INFO 45367 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 21:29:49,466 INFO 45367 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 21:29:49,466 INFO 45367 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 21:30:40,201 INFO 45375 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 21:30:40,201 INFO 45375 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 21:30:40,201 INFO 45375 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 21:34:33,384 INFO 45395 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 21:34:33,384 INFO 45395 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 21:34:33,384 INFO 45395 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 21:36:14,837 INFO 45402 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 21:36:14,837 INFO 45402 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 21:36:14,837 INFO 45402 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 21:37:29,170 INFO 45407 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 21:37:29,170 INFO 45407 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 21:37:29,170 INFO 45407 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 21:39:02,356 INFO 45414 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 21:39:02,356 INFO 45414 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 21:39:02,356 INFO 45414 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 21:50:31,333 INFO 45460 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 23968669ms at 2020-04-19 04:30:00.002 -2020-04-18 21:50:31,333 INFO 45460 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 7768667ms at 2020-04-19 00:00:00.000 -2020-04-18 21:50:31,334 INFO 45460 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 7769667ms at 2020-04-19 00:00:01.001 -2020-04-18 21:50:30,802 INFO 45461 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 21:50:30,802 INFO 45461 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 21:50:30,802 INFO 45461 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 21:58:35,250 INFO 45505 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 23484752ms at 2020-04-19 04:30:00.002 -2020-04-18 21:58:35,250 INFO 45505 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 7284750ms at 2020-04-19 00:00:00.000 -2020-04-18 21:58:35,250 INFO 45505 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 7285750ms at 2020-04-19 00:00:01.000 -2020-04-18 21:58:34,738 INFO 45506 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 21:58:34,738 INFO 45506 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 21:58:34,738 INFO 45506 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-18 22:04:42,697 INFO 45521 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-18 22:04:42,697 INFO 45521 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-18 22:04:42,697 INFO 45521 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-19 09:15:13,979 INFO 45505 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 53086026ms at 2020-04-20 00:00:00.005 -2020-04-19 09:15:13,980 INFO 45521 [Job#15872589139692537374968178731] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js executing by app -2020-04-19 09:15:13,989 INFO 45521 [Job#15872589139692537374968178731] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js execute succeed, used 7ms -2020-04-19 09:15:14,974 INFO 45505 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 53086032ms at 2020-04-20 00:00:01.006 -2020-04-19 09:15:14,969 INFO 45521 [Job#15872589149682537384926322171] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js executing by app -2020-04-19 09:15:14,977 INFO 45521 [Job#15872589149682537384926322171] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js execute succeed, used 8ms diff --git a/server/logs/game-node-center/egg-schedule.log.2020-04-20 b/server/logs/game-node-center/egg-schedule.log.2020-04-20 deleted file mode 100644 index f37b01a..0000000 --- a/server/logs/game-node-center/egg-schedule.log.2020-04-20 +++ /dev/null @@ -1,42 +0,0 @@ -2020-04-20 23:27:30,989 INFO 47677 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 18149013ms at 2020-04-21 04:30:00.002 -2020-04-20 23:27:30,989 INFO 47677 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 1949011ms at 2020-04-21 00:00:00.000 -2020-04-20 23:27:30,989 INFO 47677 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 1950011ms at 2020-04-21 00:00:01.000 -2020-04-20 23:27:30,268 INFO 47679 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-20 23:27:30,268 INFO 47679 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-20 23:27:30,268 INFO 47679 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-20 23:32:52,247 INFO 47709 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-20 23:32:52,247 INFO 47709 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-20 23:32:52,247 INFO 47709 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-20 23:33:15,352 INFO 47714 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-20 23:33:15,352 INFO 47714 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-20 23:33:15,352 INFO 47714 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-20 23:37:36,012 INFO 47741 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-20 23:37:36,012 INFO 47741 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-20 23:37:36,012 INFO 47741 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-20 23:38:22,383 INFO 47770 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 17497622ms at 2020-04-21 04:30:00.005 -2020-04-20 23:38:22,384 INFO 47770 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 1297617ms at 2020-04-21 00:00:00.001 -2020-04-20 23:38:22,385 INFO 47770 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 1298616ms at 2020-04-21 00:00:01.001 -2020-04-20 23:38:21,805 INFO 47772 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-20 23:38:21,805 INFO 47772 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-20 23:38:21,805 INFO 47772 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-20 23:47:11,136 INFO 47810 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 16968866ms at 2020-04-21 04:30:00.002 -2020-04-20 23:47:11,136 INFO 47810 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 768864ms at 2020-04-21 00:00:00.000 -2020-04-20 23:47:11,136 INFO 47810 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 769864ms at 2020-04-21 00:00:01.000 -2020-04-20 23:47:10,601 INFO 47818 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-20 23:47:10,601 INFO 47818 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-20 23:47:10,601 INFO 47818 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-20 23:48:18,064 INFO 47821 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-20 23:48:18,064 INFO 47821 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-20 23:48:18,064 INFO 47821 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-20 23:50:12,732 INFO 47839 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-20 23:50:12,732 INFO 47839 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-20 23:50:12,732 INFO 47839 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-20 23:53:41,226 INFO 47851 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-20 23:53:41,226 INFO 47851 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-20 23:53:41,226 INFO 47851 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-21 00:00:00,308 INFO 47810 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 86399702ms at 2020-04-22 00:00:00.010 -2020-04-21 00:00:00,300 INFO 47851 [Job#15873984002952860614806766051] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js executing by app -2020-04-21 00:00:00,306 INFO 47851 [Job#15873984002952860614806766051] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js execute succeed, used 6ms -2020-04-21 00:00:01,294 INFO 47851 [Job#15873984012942860624788597581] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js executing by app -2020-04-21 00:00:01,301 INFO 47851 [Job#15873984012942860624788597581] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js execute succeed, used 6ms -2020-04-21 00:00:01,298 INFO 47810 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 86399706ms at 2020-04-22 00:00:01.004 diff --git a/server/logs/game-node-center/egg-schedule.log.2020-04-29 b/server/logs/game-node-center/egg-schedule.log.2020-04-29 deleted file mode 100644 index 07144bf..0000000 --- a/server/logs/game-node-center/egg-schedule.log.2020-04-29 +++ /dev/null @@ -1,141 +0,0 @@ -2020-04-21 00:23:26,354 INFO 48621 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-21 00:23:26,354 INFO 48621 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-21 00:23:26,354 INFO 48621 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-21 00:28:43,409 INFO 48633 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-21 00:28:43,409 INFO 48633 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-21 00:28:43,409 INFO 48633 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-21 00:30:33,856 INFO 48645 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-21 00:30:33,856 INFO 48645 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-21 00:30:33,856 INFO 48645 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-21 22:51:22,043 INFO 49449 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 20317960ms at 2020-04-22 04:30:00.003 -2020-04-21 22:51:22,043 INFO 49449 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 4117957ms at 2020-04-22 00:00:00.000 -2020-04-21 22:51:22,043 INFO 49449 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 4118957ms at 2020-04-22 00:00:01.000 -2020-04-21 22:51:21,398 INFO 49450 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-21 22:51:21,398 INFO 49450 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-21 22:51:21,398 INFO 49450 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-21 23:01:05,266 INFO 49495 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-21 23:01:05,266 INFO 49495 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-21 23:01:05,266 INFO 49495 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-21 23:07:10,861 INFO 49545 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-21 23:07:10,861 INFO 49545 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-21 23:07:10,861 INFO 49545 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-21 23:22:56,780 INFO 49588 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-21 23:22:56,780 INFO 49588 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-21 23:22:56,780 INFO 49588 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-21 23:40:32,255 INFO 51406 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 17367747ms at 2020-04-22 04:30:00.002 -2020-04-21 23:40:32,255 INFO 51406 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 1167745ms at 2020-04-22 00:00:00.000 -2020-04-21 23:40:32,255 INFO 51406 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 1168745ms at 2020-04-22 00:00:01.000 -2020-04-21 23:40:31,699 INFO 51407 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-21 23:40:31,699 INFO 51407 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-21 23:40:31,699 INFO 51407 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-22 23:38:14,679 INFO 51857 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-22 23:38:14,679 INFO 51857 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-22 23:38:14,679 INFO 51857 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-22 23:39:34,361 INFO 51873 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-22 23:39:34,361 INFO 51873 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-22 23:39:34,361 INFO 51873 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-22 23:39:34,932 INFO 51872 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 17425071ms at 2020-04-23 04:30:00.003 -2020-04-22 23:39:34,932 INFO 51872 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 1225068ms at 2020-04-23 00:00:00.000 -2020-04-22 23:39:34,933 INFO 51872 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 1226068ms at 2020-04-23 00:00:01.001 -2020-04-22 23:44:44,233 INFO 51958 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 17115770ms at 2020-04-23 04:30:00.003 -2020-04-22 23:44:44,234 INFO 51958 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 915767ms at 2020-04-23 00:00:00.001 -2020-04-22 23:44:44,234 INFO 51958 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 916766ms at 2020-04-23 00:00:01.000 -2020-04-22 23:44:43,690 INFO 51959 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-22 23:44:43,690 INFO 51959 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-22 23:44:43,690 INFO 51959 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-23 21:20:12,301 INFO 52895 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 25787701ms at 2020-04-24 04:30:00.002 -2020-04-23 21:20:12,301 INFO 52895 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 9587699ms at 2020-04-24 00:00:00.000 -2020-04-23 21:20:12,301 INFO 52895 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 9588699ms at 2020-04-24 00:00:01.000 -2020-04-23 21:20:11,786 INFO 52898 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-23 21:20:11,786 INFO 52898 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-23 21:20:11,786 INFO 52898 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-27 21:20:53,905 INFO 56753 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 25746097ms at 2020-04-28 04:30:00.002 -2020-04-27 21:20:53,905 INFO 56753 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 9546095ms at 2020-04-28 00:00:00.000 -2020-04-27 21:20:53,905 INFO 56753 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 9547095ms at 2020-04-28 00:00:01.000 -2020-04-27 21:20:53,385 INFO 56754 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-27 21:20:53,385 INFO 56754 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-27 21:20:53,385 INFO 56754 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-27 21:38:33,652 INFO 56817 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-27 21:38:33,652 INFO 56817 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-27 21:38:33,652 INFO 56817 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-27 21:44:57,443 INFO 56871 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 24302559ms at 2020-04-28 04:30:00.002 -2020-04-27 21:44:57,443 INFO 56871 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 8102557ms at 2020-04-28 00:00:00.000 -2020-04-27 21:44:57,443 INFO 56871 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 8103557ms at 2020-04-28 00:00:01.000 -2020-04-27 21:44:56,920 INFO 56872 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-27 21:44:56,921 INFO 56872 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-27 21:44:56,921 INFO 56872 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-27 21:49:55,184 INFO 56908 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-27 21:49:55,184 INFO 56908 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-27 21:49:55,184 INFO 56908 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-27 21:49:55,765 INFO 56907 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 24004237ms at 2020-04-28 04:30:00.002 -2020-04-27 21:49:55,765 INFO 56907 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 7804235ms at 2020-04-28 00:00:00.000 -2020-04-27 21:49:55,765 INFO 56907 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 7805235ms at 2020-04-28 00:00:01.000 -2020-04-27 21:51:04,964 INFO 56936 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-27 21:51:04,964 INFO 56936 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-27 21:51:04,964 INFO 56936 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-27 21:51:05,357 INFO 56935 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 23934645ms at 2020-04-28 04:30:00.002 -2020-04-27 21:51:05,357 INFO 56935 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 7734643ms at 2020-04-28 00:00:00.000 -2020-04-27 21:51:05,358 INFO 56935 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 7735643ms at 2020-04-28 00:00:01.001 -2020-04-28 23:26:39,618 INFO 57542 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-28 23:26:39,618 INFO 57542 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-28 23:26:39,618 INFO 57542 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-28 23:28:25,046 INFO 57568 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-28 23:28:25,046 INFO 57568 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-28 23:28:25,046 INFO 57568 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-28 23:28:25,515 INFO 57567 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 18094488ms at 2020-04-29 04:30:00.003 -2020-04-28 23:28:25,515 INFO 57567 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 1894485ms at 2020-04-29 00:00:00.000 -2020-04-28 23:28:25,515 INFO 57567 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 1895485ms at 2020-04-29 00:00:01.000 -2020-04-28 23:34:26,628 INFO 59295 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-28 23:34:26,628 INFO 59295 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-28 23:34:26,628 INFO 59295 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-28 23:35:59,180 INFO 59320 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-28 23:35:59,180 INFO 59320 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-28 23:35:59,180 INFO 59320 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-28 23:37:42,544 INFO 59334 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-28 23:37:42,544 INFO 59334 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-28 23:37:42,544 INFO 59334 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-28 23:44:17,467 INFO 59347 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-28 23:44:17,467 INFO 59347 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-28 23:44:17,467 INFO 59347 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-28 23:48:37,102 INFO 59357 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-28 23:48:37,102 INFO 59357 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-28 23:48:37,102 INFO 59357 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-28 23:51:25,808 INFO 59384 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 16714194ms at 2020-04-29 04:30:00.002 -2020-04-28 23:51:25,809 INFO 59384 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 514191ms at 2020-04-29 00:00:00.000 -2020-04-28 23:51:25,809 INFO 59384 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 515191ms at 2020-04-29 00:00:01.000 -2020-04-28 23:51:25,314 INFO 59385 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-28 23:51:25,314 INFO 59385 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-28 23:51:25,314 INFO 59385 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-29 00:02:35,765 INFO 59465 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-29 00:02:35,765 INFO 59465 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-29 00:02:35,765 INFO 59465 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-29 00:02:36,275 INFO 59464 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 16043727ms at 2020-04-29 04:30:00.002 -2020-04-29 00:02:36,276 INFO 59464 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 86243725ms at 2020-04-30 00:00:00.001 -2020-04-29 00:02:36,277 INFO 59464 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 86244724ms at 2020-04-30 00:00:01.001 -2020-04-29 00:10:39,355 INFO 59564 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-29 00:10:39,355 INFO 59564 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-29 00:10:39,355 INFO 59564 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-29 00:15:01,090 INFO 59599 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-29 00:15:01,090 INFO 59599 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-29 00:15:01,090 INFO 59599 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-29 00:20:37,285 INFO 59618 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-29 00:20:37,285 INFO 59618 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-29 00:20:37,285 INFO 59618 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-29 00:26:51,366 INFO 59664 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-29 00:26:51,366 INFO 59664 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-29 00:26:51,366 INFO 59664 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-29 00:26:51,839 INFO 59663 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 14588163ms at 2020-04-29 04:30:00.002 -2020-04-29 00:26:51,840 INFO 59663 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 84788161ms at 2020-04-30 00:00:00.001 -2020-04-29 00:26:51,841 INFO 59663 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 84789160ms at 2020-04-30 00:00:01.001 -2020-04-29 22:12:37,398 INFO 60632 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 22642604ms at 2020-04-30 04:30:00.002 -2020-04-29 22:12:37,398 INFO 60632 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 6442602ms at 2020-04-30 00:00:00.000 -2020-04-29 22:12:37,399 INFO 60632 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 6443602ms at 2020-04-30 00:00:01.001 -2020-04-29 22:12:36,869 INFO 60633 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js -2020-04-29 22:12:36,869 INFO 60633 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js -2020-04-29 22:12:36,869 INFO 60633 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js -2020-04-30 00:00:00,137 INFO 60633 [Job#15881760000923444405848355541] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js executing by app -2020-04-30 00:00:00,160 INFO 60633 [Job#15881760000923444405848355541] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js execute succeed, used 18ms -2020-04-30 00:00:00,130 INFO 60632 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 86399891ms at 2020-05-01 00:00:00.021 -2020-04-30 00:00:01,057 INFO 60633 [Job#15881760010563444415461691211] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js executing by app -2020-04-30 00:00:01,063 INFO 60633 [Job#15881760010563444415461691211] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js execute succeed, used 6ms -2020-04-30 00:00:01,060 INFO 60632 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 86399944ms at 2020-05-01 00:00:01.004 diff --git a/server/logs/game-node-center/error.log b/server/logs/game-node-center/error.log deleted file mode 100644 index 71aca9a..0000000 --- a/server/logs/game-node-center/error.log +++ /dev/null @@ -1,68 +0,0 @@ -2020-04-30 00:24:57,558 ERROR 60633 [-/192.168.0.101/-/5ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:25:31,431 ERROR 60633 [-/192.168.0.101/-/1ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:29:30,694 ERROR 60633 [-/192.168.0.101/-/3ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:30:16,787 ERROR 60633 [-/192.168.0.101/-/2ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:30:16,970 ERROR 60633 [-/192.168.0.101/-/2ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:41:54,185 ERROR 60633 [-/192.168.0.101/-/4ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:42:28,928 ERROR 60633 [-/192.168.0.101/-/2ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:43:02,652 ERROR 60633 [-/192.168.0.101/-/3ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 00:54:28,717 ERROR 60633 [-/192.168.0.101/-/12ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 01:00:54,475 ERROR 60633 [-/192.168.0.103/-/62ms GET /socket.io/?room=628754&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-30 01:02:44,104 ERROR 60633 [-/192.168.0.101/-/1ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-30 01:03:02,178 ERROR 60633 [-/192.168.0.103/-/18ms GET /socket.io/?room=628754&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-30 01:35:35,358 ERROR 60632 nodejs.ClusterClientNoResponseError: client no response in 1854709ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 60632 -hostname: 192.168.0.101 - -2020-04-30 02:13:38,297 ERROR 60632 nodejs.ClusterClientNoResponseError: client no response in 2242910ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 60632 -hostname: 192.168.0.101 - -2020-04-30 02:51:15,067 ERROR 60632 nodejs.ClusterClientNoResponseError: client no response in 1956662ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 60632 -hostname: 192.168.0.101 - -2020-04-30 04:05:22,137 ERROR 60632 nodejs.ClusterClientNoResponseError: client no response in 4406960ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 60632 -hostname: 192.168.0.101 - -2020-04-30 05:53:34,096 ERROR 60632 nodejs.ClusterClientNoResponseError: client no response in 6451949ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 60632 -hostname: 192.168.0.101 - -2020-04-30 07:41:45,992 ERROR 60632 nodejs.ClusterClientNoResponseError: client no response in 6451867ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 60632 -hostname: 192.168.0.101 - -2020-04-30 08:17:43,444 ERROR 60632 nodejs.ClusterClientNoResponseError: client no response in 2137434ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 60632 -hostname: 192.168.0.101 - diff --git a/server/logs/game-node-center/error.log.2020-04-17 b/server/logs/game-node-center/error.log.2020-04-17 deleted file mode 100755 index fa65376..0000000 --- a/server/logs/game-node-center/error.log.2020-04-17 +++ /dev/null @@ -1,128 +0,0 @@ -2020-04-14 22:10:47,379 ERROR 36443 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 36443 -hostname: 192.168.0.100 - -2020-04-14 22:10:47,380 ERROR 36443 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 36443 -hostname: 192.168.0.100 - -2020-04-14 22:10:47,381 ERROR 36443 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 36443 -hostname: 192.168.0.100 - -2020-04-14 22:10:47,390 ERROR 36443 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 36443 -hostname: 192.168.0.100 - -2020-04-17 23:56:22,886 ERROR 39851 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39851 -hostname: 192.168.0.104 - -2020-04-17 23:56:22,887 ERROR 39851 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39851 -hostname: 192.168.0.104 - -2020-04-17 23:56:22,888 ERROR 39851 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39851 -hostname: 192.168.0.104 - -2020-04-17 23:56:22,888 ERROR 39851 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39851 -hostname: 192.168.0.104 - -2020-04-17 23:56:55,891 ERROR 39899 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39899 -hostname: 192.168.0.104 - -2020-04-17 23:56:55,891 ERROR 39899 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39899 -hostname: 192.168.0.104 - -2020-04-17 23:56:55,892 ERROR 39899 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39899 -hostname: 192.168.0.104 - -2020-04-17 23:56:55,892 ERROR 39899 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39899 -hostname: 192.168.0.104 - -2020-04-17 23:57:57,162 ERROR 39967 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39967 -hostname: 192.168.0.104 - -2020-04-17 23:57:57,163 ERROR 39967 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39967 -hostname: 192.168.0.104 - -2020-04-17 23:57:57,163 ERROR 39967 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39967 -hostname: 192.168.0.104 - -2020-04-17 23:57:57,164 ERROR 39967 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 39967 -hostname: 192.168.0.104 - diff --git a/server/logs/game-node-center/error.log.2020-04-18 b/server/logs/game-node-center/error.log.2020-04-18 deleted file mode 100644 index f26de7c..0000000 --- a/server/logs/game-node-center/error.log.2020-04-18 +++ /dev/null @@ -1,330 +0,0 @@ -2020-04-18 00:00:59,201 ERROR 40033 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40033 -hostname: 192.168.0.104 - -2020-04-18 00:00:59,202 ERROR 40033 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40033 -hostname: 192.168.0.104 - -2020-04-18 00:00:59,202 ERROR 40033 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40033 -hostname: 192.168.0.104 - -2020-04-18 00:00:59,203 ERROR 40033 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40033 -hostname: 192.168.0.104 - -2020-04-18 00:02:57,432 ERROR 40064 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40064 -hostname: 192.168.0.104 - -2020-04-18 00:02:57,432 ERROR 40064 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40064 -hostname: 192.168.0.104 - -2020-04-18 00:02:57,433 ERROR 40064 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40064 -hostname: 192.168.0.104 - -2020-04-18 00:02:57,433 ERROR 40064 nodejs.ReplyError: Ready check failed: NOAUTH Authentication required. - at parseError (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:193:12) - at parseType (/Users/jorky/code/TexasPokerGame/server/node_modules/redis/node_modules/redis-parser/lib/parser.js:303:14) -command: "INFO" -code: "NOAUTH" -pid: 40064 -hostname: 192.168.0.104 - -2020-04-18 00:04:46,775 ERROR 40142 [-/127.0.0.1/-/6ms GET /] invalid token... UnauthorizedError: No authorization token was found - at middleware (/Users/jorky/code/TexasPokerGame/server/node_modules/koa-jwt2/lib/index.js:89:15) - at fn (/Users/jorky/code/TexasPokerGame/server/node_modules/egg-core/lib/loader/mixin/middleware.js:112:12) - at dispatch (/Users/jorky/code/TexasPokerGame/server/node_modules/koa-compose/index.js:42:32) - at /Users/jorky/code/TexasPokerGame/server/node_modules/egg-development/app/middleware/egg_loader_trace.js:9:56 - at dispatch (/Users/jorky/code/TexasPokerGame/server/node_modules/koa-compose/index.js:42:32) - at i18n (/Users/jorky/code/TexasPokerGame/server/node_modules/egg-i18n/app/middleware/i18n.js:13:12) - at dispatch (/Users/jorky/code/TexasPokerGame/server/node_modules/koa-compose/index.js:42:32) - at dispatch (/Users/jorky/code/TexasPokerGame/server/node_modules/koa-compose/index.js:42:32) - at dta (/Users/jorky/code/TexasPokerGame/server/node_modules/egg-security/lib/middlewares/dta.js:12:12) - at dispatch (/Users/jorky/code/TexasPokerGame/server/node_modules/koa-compose/index.js:42:32) { - name: 'UnauthorizedError', - message: 'No authorization token was found', - code: 'credentials_required', - status: 401, - inner: { message: 'No authorization token was found' } -} -2020-04-18 17:38:09,637 ERROR 44297 [-/127.0.0.1/-/10014ms POST /node/user/login] login service error: Error: connect ETIMEDOUT - at PoolConnection.Connection._handleConnectTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:409:13) - at Object.onceWrapper (events.js:417:28) - at Socket.emit (events.js:311:20) - at Socket._onTimeout (net.js:478:8) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - sql: SELECT * FROM `user` WHERE `account` = 'cai' LIMIT 0, 1 { - errorno: 'ETIMEDOUT', - code: 'ETIMEDOUT', - syscall: 'connect', - fatal: true -} -2020-04-18 17:38:09,643 ERROR 44297 [-/127.0.0.1/-/10021ms POST /node/user/login] login-----: Error: connect ETIMEDOUT - at PoolConnection.Connection._handleConnectTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:409:13) - at Object.onceWrapper (events.js:417:28) - at Socket.emit (events.js:311:20) - at Socket._onTimeout (net.js:478:8) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - sql: SELECT * FROM `user` WHERE `account` = 'cai' LIMIT 0, 1 { - errorno: 'ETIMEDOUT', - code: 'ETIMEDOUT', - syscall: 'connect', - fatal: true -} -2020-04-18 17:38:17,935 ERROR 44297 [-/undefined/-/20041ms POST /node/user/login] login service error: Error: Handshake inactivity timeout - at Handshake. (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:160:17) - at Handshake.emit (events.js:311:20) - at Handshake._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8) - at Timer._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Timer.js:32:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.releaseConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:157:10) - at Pool._removeConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:277:8) - sql: SELECT * FROM `user` WHERE `account` = 'cai' LIMIT 0, 1 { - code: 'PROTOCOL_SEQUENCE_TIMEOUT', - fatal: true, - timeout: 10000 -} -2020-04-18 17:38:17,937 ERROR 44297 [-/undefined/-/20044ms POST /node/user/login] login-----: Error: Handshake inactivity timeout - at Handshake. (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:160:17) - at Handshake.emit (events.js:311:20) - at Handshake._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8) - at Timer._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Timer.js:32:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.releaseConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:157:10) - at Pool._removeConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:277:8) - sql: SELECT * FROM `user` WHERE `account` = 'cai' LIMIT 0, 1 { - code: 'PROTOCOL_SEQUENCE_TIMEOUT', - fatal: true, - timeout: 10000 -} -2020-04-18 18:15:32,592 ERROR 44714 [-/127.0.0.1/-/45ms GET /socket.io/?room=929975&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MTM5OTczLCJleHAiOjE1ODcxNDM1NzN9.ylMZwcO3zJBv0cEiCzqUN5kbMlg0XZMC-x9x2Q_Oh14&EIO=3&transport=websocket] room service tick null -2020-04-18 18:17:04,321 ERROR 44714 [-/127.0.0.1/-/12ms GET /socket.io/?room=929975&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MTM5OTczLCJleHAiOjE1ODcxNDM1NzN9.ylMZwcO3zJBv0cEiCzqUN5kbMlg0XZMC-x9x2Q_Oh14&EIO=3&transport=websocket] room service tick null -2020-04-18 18:39:31,788 ERROR 44850 [-/127.0.0.1/-/24ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIn0sImlhdCI6MTU4NzIwMjc3MCwiZXhwIjoxNTg3MjA2MzcwfQ.8Pf5WDBNIU9FCPEJmOoOLzbFEYkM_FMg-Z0IeyRfssc&EIO=3&transport=websocket] room service tick null -2020-04-18 21:17:48,958 ERROR 45196 [-/127.0.0.1/-/1ms GET /] nodejs.ETIMEDOUTError: connect ETIMEDOUT - at PoolConnection.Connection._handleConnectTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:409:13) - at Object.onceWrapper (events.js:417:28) - at Socket.emit (events.js:311:20) - at Socket._onTimeout (net.js:478:8) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - sql: select now() as currentTime; -errorno: "ETIMEDOUT" -code: "ETIMEDOUT" -syscall: "connect" -fatal: true -name: "ETIMEDOUTError" -pid: 45196 -hostname: 192.168.0.104 - -2020-04-18 21:18:28,859 ERROR 45220 [-/127.0.0.1/-/1ms GET /] nodejs.ETIMEDOUTError: connect ETIMEDOUT - at PoolConnection.Connection._handleConnectTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:409:13) - at Object.onceWrapper (events.js:417:28) - at Socket.emit (events.js:311:20) - at Socket._onTimeout (net.js:478:8) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - sql: select now() as currentTime; -errorno: "ETIMEDOUT" -code: "ETIMEDOUT" -syscall: "connect" -fatal: true -name: "ETIMEDOUTError" -pid: 45220 -hostname: 192.168.0.104 - -2020-04-18 21:19:36,800 ERROR 45257 [-/127.0.0.1/-/34ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:36,814 ERROR 45257 [-/127.0.0.1/-/28ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:36,835 ERROR 45257 [-/127.0.0.1/-/19ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:36,850 ERROR 45257 [-/127.0.0.1/-/9ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:36,852 ERROR 45257 [-/127.0.0.1/-/6ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:36,857 ERROR 45257 [-/127.0.0.1/-/9ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:41,019 ERROR 45257 [-/127.0.0.1/-/7ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIn0sImlhdCI6MTU4NzIwNTA2OSwiZXhwIjoxNTg3MjA4NjY5fQ.utpvl1Ub8OtCOOibSffU1R_5ooYbyha-tS-ng-VYmpA&EIO=3&transport=websocket] room service tick null -2020-04-18 21:19:45,446 ERROR 45257 [-/127.0.0.1/-/4ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEifSwiaWF0IjoxNTg3MjA1MzgyLCJleHAiOjE1ODcyMDg5ODJ9.pzbNJypC05Ee8YWE0U35I11CJe_z8kiU2RYjNwiY3TM&EIO=3&transport=websocket] room service tick null -2020-04-18 21:20:17,560 ERROR 45257 [-/127.0.0.1/-/6ms GET /socket.io/?room=134216&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIn0sImlhdCI6MTU4NzIwNTA2OSwiZXhwIjoxNTg3MjA4NjY5fQ.utpvl1Ub8OtCOOibSffU1R_5ooYbyha-tS-ng-VYmpA&EIO=3&transport=websocket] room service tick null -2020-04-18 21:22:53,052 ERROR 45257 [-/127.0.0.1/-/2ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VyX2lkIjozfSwiaWF0IjoxNTg3MjE2MDI5LCJleHAiOjE1ODcyMTk2Mjl9.YMj4yujsyMGM1F-HSIxsToG7t_G8VTij51kuNk0qi1w&EIO=3&transport=websocket] room service tick null -2020-04-18 21:23:04,866 ERROR 45257 [-/127.0.0.1/-/1ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VyX2lkIjozfSwiaWF0IjoxNTg3MjE2MDI5LCJleHAiOjE1ODcyMTk2Mjl9.YMj4yujsyMGM1F-HSIxsToG7t_G8VTij51kuNk0qi1w&EIO=3&transport=websocket] room service tick null -2020-04-18 21:26:20,304 ERROR 45291 [-/127.0.0.1/-/4ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VyX2lkIjozfSwiaWF0IjoxNTg3MjE2MDI5LCJleHAiOjE1ODcyMTk2Mjl9.YMj4yujsyMGM1F-HSIxsToG7t_G8VTij51kuNk0qi1w&EIO=3&transport=websocket] room service tick null -2020-04-18 21:31:30,778 ERROR 45375 [-/127.0.0.1/-/6ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VyX2lkIjozfSwiaWF0IjoxNTg3MjE2MDI5LCJleHAiOjE1ODcyMTk2Mjl9.YMj4yujsyMGM1F-HSIxsToG7t_G8VTij51kuNk0qi1w&EIO=3&transport=websocket] room service tick null -2020-04-18 21:32:39,762 ERROR 45375 [-/127.0.0.1/-/2ms GET /socket.io/?room=804189&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VyX2lkIjozfSwiaWF0IjoxNTg3MjE2MDI5LCJleHAiOjE1ODcyMTk2Mjl9.YMj4yujsyMGM1F-HSIxsToG7t_G8VTij51kuNk0qi1w&EIO=3&transport=websocket] room service tick null -2020-04-18 21:32:55,118 ERROR 45375 nodejs.TypeError: Cannot read property 'call' of undefined (uncaughtException throw 1 times on pid:45375) - at Socket. (/Users/jorky/code/TexasPokerGame/server/node_modules/egg-socket.io/lib/io.js:104:23) - at Socket.emit (events.js:311:20) - at /Users/jorky/code/TexasPokerGame/server/node_modules/socket.io/lib/socket.js:528:12 - at processTicksAndRejections (internal/process/task_queues.js:79:11) - -pid: 45375 -hostname: 192.168.0.104 - -2020-04-18 21:34:56,733 ERROR 45395 nodejs.TypeError: Cannot read property 'call' of undefined (uncaughtException throw 1 times on pid:45395) - at Socket. (/Users/jorky/code/TexasPokerGame/server/node_modules/egg-socket.io/lib/io.js:104:23) - at Socket.emit (events.js:311:20) - at /Users/jorky/code/TexasPokerGame/server/node_modules/socket.io/lib/socket.js:528:12 - at processTicksAndRejections (internal/process/task_queues.js:79:11) - -pid: 45395 -hostname: 192.168.0.104 - -2020-04-18 22:22:58,078 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 74702ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - -2020-04-18 22:59:04,929 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 2126888ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - -2020-04-18 22:59:40,117 ERROR 45521 [-/127.0.0.1/-/21ms GET /socket.io/?room=508810&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6ImMiLCJhY2NvdW50IjoiY2FpIiwidXNlcklkIjoxfSwiaWF0IjoxNTg3MjE4MzMyLCJleHAiOjE1ODcyMjE5MzJ9.UsxrDW65P8IS8At_1Hr9VxU4F1ttjW4wGA_tWoqhGdk&EIO=3&transport=websocket] room service tick null -2020-04-18 23:00:07,878 ERROR 45521 [-/127.0.0.1/-/3ms GET /socket.io/?room=508810&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODcyMTgzNjAsImV4cCI6MTU4NzIyMTk2MH0.-RXsh2rGbQqknxH7Xm_JDoEAQNNW9NpsYIeJxgS9vdI&EIO=3&transport=websocket] room service tick null -2020-04-18 23:39:39,817 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 2354819ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - -2020-04-19 01:27:30,630 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 6450790ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - -2020-04-19 03:15:39,008 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 6428187ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - -2020-04-19 04:24:30,344 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 4091053ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - -2020-04-19 06:12:42,072 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 6451702ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - -2020-04-19 07:44:48,928 ERROR 45505 nodejs.ClusterClientNoResponseError: client no response in 5486822ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 45505 -hostname: 192.168.0.104 - diff --git a/server/logs/game-node-center/error.log.2020-04-20 b/server/logs/game-node-center/error.log.2020-04-20 deleted file mode 100644 index 05613ae..0000000 --- a/server/logs/game-node-center/error.log.2020-04-20 +++ /dev/null @@ -1,2 +0,0 @@ -2020-04-20 23:28:25,566 ERROR 47679 [-/127.0.0.1/-/15ms GET /socket.io/?room=394598&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-20 23:29:42,173 ERROR 47679 [-/127.0.0.1/-/3ms GET /socket.io/?room=394598&token=undefined&EIO=3&transport=websocket] room service tick null diff --git a/server/logs/game-node-center/error.log.2020-04-29 b/server/logs/game-node-center/error.log.2020-04-29 deleted file mode 100644 index c89ec11..0000000 --- a/server/logs/game-node-center/error.log.2020-04-29 +++ /dev/null @@ -1,721 +0,0 @@ -2020-04-21 00:28:45,512 ERROR 48633 [-/127.0.0.1/-/6ms GET /socket.io/?room=394598&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODczOTY2MDQsImV4cCI6MTU4NzQxODIwNH0.5eVb-sKMAuFF3x3t8wH3O8BeG3lhJUEwHWwYM64jgbE&EIO=3&transport=websocket] room service tick null -2020-04-21 00:29:37,029 ERROR 48633 nodejs.unhandledRejectionError: incorrect action: check - at MidwayApplication._unhandledRejectionHandler (/Users/jorky/code/TexasPokerGame/server/node_modules/egg/lib/egg.js:344:24) - at process.emit (events.js:311:20) - at process.emit (/Users/jorky/code/TexasPokerGame/server/node_modules/source-map-support/source-map-support.js:485:21) - at processPromiseRejections (internal/process/promises.js:209:33) - at processTicksAndRejections (internal/process/task_queues.js:98:32) -name: "unhandledRejectionError" -pid: 48633 -hostname: 192.168.0.105 - -2020-04-21 23:04:55,154 ERROR 49495 [-/192.168.0.101/-/13ms GET /socket.io/?room=751675&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoSIsImFjY291bnQiOiJjYWkxMTEiLCJ1c2VySWQiOjJ9LCJpYXQiOjE1ODczOTk4ODQsImV4cCI6MTU4NzQyMTQ4NH0.CVCe19KN0vg_4m1-axLTR6pz7DQPRQkcOWvBN5mn6PE&EIO=3&transport=websocket] room service tick null -2020-04-21 23:40:05,072 ERROR 49588 game already paling -2020-04-22 23:38:24,979 ERROR 51857 [-/127.0.0.1/-/1ms GET /] nodejs.PROTOCOL_SEQUENCE_TIMEOUTError: Handshake inactivity timeout - at Handshake. (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:160:17) - at Handshake.emit (events.js:311:20) - at Handshake._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8) - at Timer._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Timer.js:32:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - sql: select now() as currentTime; -code: "PROTOCOL_SEQUENCE_TIMEOUT" -fatal: true -timeout: 10000 -name: "PROTOCOL_SEQUENCE_TIMEOUTError" -pid: 51857 -hostname: 192.168.0.105 - -2020-04-22 23:39:39,501 ERROR 51873 [-/192.168.0.105/-/12ms GET /socket.io/?room=751675&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tfbmFtZSI6IuiUoTEiLCJhY2NvdW50IjoiY2FpMTEiLCJ1c2VySWQiOjN9LCJpYXQiOjE1ODc0ODEyOTUsImV4cCI6MTU4NzUwMjg5NX0.04tWzzIEspNyYmtY-EzyesrnpVwD7zx-0zG7K9Rdb2s&EIO=3&transport=websocket] room service tick null -2020-04-22 23:43:45,865 ERROR 51873 game already paling -2020-04-22 23:50:16,775 ERROR 51959 incorrect action: check -2020-04-23 21:24:57,588 ERROR 52898 [-/192.168.0.105/-/24ms GET /socket.io/?room=652114&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-23 21:25:02,486 ERROR 52898 [-/192.168.0.105/-/5ms GET /socket.io/?room=652114&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-23 21:25:04,225 ERROR 52898 [-/192.168.0.105/-/6ms GET /socket.io/?room=652114&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-23 22:40:56,833 ERROR 52895 nodejs.ClusterClientNoResponseError: client no response in 4284658ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 52895 -hostname: 192.168.0.101 - -2020-04-23 22:41:00,428 ERROR 52898 [-/192.168.0.101/-/2ms GET /socket.io/?room=652114&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4NzY0ODI1NSwiZXhwIjoxNTg3NjY5ODU1fQ.__TDymI59M3EkIQDEzsjRGaTiZme4EzcbOKvZRjWoQE&EIO=3&transport=websocket] room service tick null -2020-04-24 00:21:50,015 ERROR 52895 nodejs.ClusterClientNoResponseError: client no response in 6012576ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 52895 -hostname: 192.168.0.101 - -2020-04-24 00:22:26,166 ERROR 52898 incorrect action: check -2020-04-24 00:30:09,627 ERROR 52895 nodejs.ClusterClientNoResponseError: client no response in 459401ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 52895 -hostname: 192.168.0.101 - -2020-04-27 21:44:12,689 ERROR 56817 nodejs.TypeError: Cannot read property '0' of undefined (uncaughtException throw 1 times on pid:56817) - at /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts:85:69 - at processTicksAndRejections (internal/process/task_queues.js:79:11) - -pid: 56817 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,190 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:00,193 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,296 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:00,296 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,331 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,331 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,333 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,334 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,450 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:00,451 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,654 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:00,655 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,676 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,676 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,677 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,677 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:00,908 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:00,908 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:01,212 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:01,212 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:01,257 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:01,258 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:01,258 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:01,258 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:01,568 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:01,569 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:01,973 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:01,974 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:02,242 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:02,242 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:02,243 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:02,243 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:02,426 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:02,428 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:02,934 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:02,935 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:03,487 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:03,487 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:03,920 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:03,921 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:03,922 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:03,922 ERROR 56936 nodejs.ECONNREFUSEDError: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:04,090 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:04,090 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 21:55:04,743 ERROR 56936 [egg-redis] client error: Error: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) { - errno: 'ECONNREFUSED', - code: 'ECONNREFUSED', - syscall: 'connect', - address: '127.0.0.1', - port: 6379 -} -2020-04-27 21:55:04,743 ERROR 56936 nodejs.ECONNREFUSEDError: connect ECONNREFUSED 127.0.0.1:6379 - at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) -errno: "ECONNREFUSED" -code: "ECONNREFUSED" -syscall: "connect" -address: "127.0.0.1" -port: 6379 -name: "ECONNREFUSEDError" -pid: 56936 -hostname: 192.168.0.103 - -2020-04-27 22:23:31,587 ERROR 56936 [-/192.168.0.103/-/5ms GET /socket.io/?room=214310&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4Nzk5Mzc0MywiZXhwIjoxNTg4MDE1MzQzfQ.8jtO2T8z2unBTHshVLfUgX78sr_QxMu9Va2BmxgjxAc&EIO=3&transport=websocket] room service tick null -2020-04-27 22:23:31,613 ERROR 56936 [-/192.168.0.103/-/3ms GET /socket.io/?room=214310&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4Nzk5Mzc0MywiZXhwIjoxNTg4MDE1MzQzfQ.8jtO2T8z2unBTHshVLfUgX78sr_QxMu9Va2BmxgjxAc&EIO=3&transport=websocket] room service tick null -2020-04-27 22:23:31,614 ERROR 56936 [-/192.168.0.103/-/3ms GET /socket.io/?room=214310&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4Nzk5Mzc0MywiZXhwIjoxNTg4MDE1MzQzfQ.8jtO2T8z2unBTHshVLfUgX78sr_QxMu9Va2BmxgjxAc&EIO=3&transport=websocket] room service tick null -2020-04-27 22:23:31,614 ERROR 56936 [-/192.168.0.103/-/3ms GET /socket.io/?room=214310&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4Nzk5Mzc0MywiZXhwIjoxNTg4MDE1MzQzfQ.8jtO2T8z2unBTHshVLfUgX78sr_QxMu9Va2BmxgjxAc&EIO=3&transport=websocket] room service tick null -2020-04-27 23:17:33,753 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 2148076ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 00:30:11,622 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 4337854ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 00:40:06,750 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 595091ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 01:11:11,646 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 1843805ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 01:21:23,503 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 570776ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 03:09:41,957 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 6458033ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 03:24:44,828 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 882795ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 05:12:54,991 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 6470018ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 07:00:48,504 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 6473440ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 08:48:57,695 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 6489149ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 10:37:02,868 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 6485145ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 10:42:57,503 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 354600ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 18:09:13,910 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 26776386ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 19:21:07,186 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 4293200ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 23:23:43,768 ERROR 56935 nodejs.ClusterClientNoResponseError: client no response in 14556566ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 56935 -hostname: 192.168.0.103 - -2020-04-28 23:26:49,918 ERROR 57542 [-/127.0.0.1/-/1ms GET /] nodejs.PROTOCOL_SEQUENCE_TIMEOUTError: Handshake inactivity timeout - at Handshake. (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:160:17) - at Handshake.emit (events.js:311:20) - at Handshake._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8) - at Timer._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Timer.js:32:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) - -------------------- - at Protocol._enqueue (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:144:48) - at Protocol.handshake (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/protocol/Protocol.js:51:23) - at PoolConnection.connect (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Connection.js:116:18) - at Pool.getConnection (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:48:16) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - at new Promise () - at Pool. (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:12:10) - at Pool.ret [as getConnection] (/Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:56:34) - at Pool.query (/Users/jorky/code/TexasPokerGame/server/node_modules/mysql/lib/Pool.js:202:8) - at /Users/jorky/code/TexasPokerGame/server/node_modules/ali-rds/node_modules/pify/index.js:29:7 - sql: select now() as currentTime; -code: "PROTOCOL_SEQUENCE_TIMEOUT" -fatal: true -timeout: 10000 -name: "PROTOCOL_SEQUENCE_TIMEOUTError" -pid: 57542 -hostname: 192.168.0.101 - -2020-04-28 23:32:03,806 ERROR 57568 [-/192.168.0.103/-/25ms GET /socket.io/?room=652114&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-28 23:32:05,275 ERROR 57568 [-/192.168.0.103/-/4ms GET /socket.io/?room=652114&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-28 23:32:12,541 ERROR 57568 [-/192.168.0.103/-/7ms GET /socket.io/?room=652114&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-28 23:32:14,387 ERROR 57568 [-/192.168.0.103/-/4ms GET /socket.io/?room=473957&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-28 23:32:16,194 ERROR 57568 [-/192.168.0.103/-/4ms GET /socket.io/?room=473957&token=undefined&EIO=3&transport=websocket] room service tick null -2020-04-28 23:33:03,013 ERROR 57568 player not enough -2020-04-28 23:34:52,943 ERROR 59295 player not enough -2020-04-28 23:37:18,490 ERROR 59320 player not enough -2020-04-29 00:20:18,588 ERROR 59599 incorrect action: check -2020-04-29 00:30:16,543 ERROR 59664 [-/192.168.0.103/-/4ms GET /socket.io/?room=473957&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4ODA4Nzk1NSwiZXhwIjoxNTg4MTA5NTU1fQ.ImRv9G2O2c7i0Vj0GmazIt5nrfQ8XXmncVNbL1_YzyA&EIO=3&transport=websocket] room service tick null -2020-04-29 00:30:16,651 ERROR 59664 [-/192.168.0.103/-/4ms GET /socket.io/?room=473957&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4ODA4Nzk1NSwiZXhwIjoxNTg4MTA5NTU1fQ.ImRv9G2O2c7i0Vj0GmazIt5nrfQ8XXmncVNbL1_YzyA&EIO=3&transport=websocket] room service tick null -2020-04-29 01:02:27,268 ERROR 59663 nodejs.ClusterClientNoResponseError: client no response in 1833695ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side. - at Timeout._onTimeout (/Users/jorky/code/TexasPokerGame/server/node_modules/cluster-client/lib/leader.js:77:23) - at listOnTimeout (internal/timers.js:549:17) - at processTimers (internal/timers.js:492:7) -name: "ClusterClientNoResponseError" -pid: 59663 -hostname: 192.168.0.101 - -2020-04-29 01:02:54,081 ERROR 59664 incorrect action: check -2020-04-29 23:17:55,297 ERROR 60633 [-/192.168.0.101/-/40ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-29 23:18:03,853 ERROR 60633 [-/192.168.0.101/-/3ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-29 23:18:45,742 ERROR 60633 [-/192.168.0.101/-/2ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-29 23:20:25,926 ERROR 60633 [-/192.168.0.101/-/1ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-29 23:37:21,244 ERROR 60633 [-/192.168.0.101/-/22ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null -2020-04-29 23:45:40,080 ERROR 60633 [-/192.168.0.101/-/9ms GET /socket.io/?room=628754&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODgxNjk1MTYsImV4cCI6MTU4ODE5MTExNn0.V79TJ82uJ3ZQMk5prn5VXiBLkDjYyWFznatFHtxx4b0&EIO=3&transport=websocket] room service tick null diff --git a/server/package.json b/server/package.json index cd6bdcb..d0c6122 100644 --- a/server/package.json +++ b/server/package.json @@ -1,5 +1,5 @@ { - "name": "game-node-center", + "name": "poke-game-server", "version": "1.0.0", "description": "node服务中心", "private": true, @@ -33,7 +33,7 @@ "scripts": { "start": "egg-scripts start --daemon --title=midway-server-node-loan-center --framework=midway --ts", "stop": "egg-scripts stop --title=midway-server-node-loan-center", - "start_build": "npm run build && cross-env NODE_ENV=development midway-bin dev", + "start_build": "npm run build && cross-env NODE_ENV=production midway-bin dev", "clean": "midway-bin clean", "dev": "cross-env NODE_ENV=local midway-bin dev --ts", "debug": "cross-env NODE_ENV=local midway-bin debug --ts", diff --git a/server/src.zip b/server/src.zip new file mode 100644 index 0000000..a1c5211 Binary files /dev/null and b/server/src.zip differ diff --git a/server/src/app/controller/account.ts b/server/src/app/controller/account.ts index ddf6cc9..da24b3f 100644 --- a/server/src/app/controller/account.ts +++ b/server/src/app/controller/account.ts @@ -1,6 +1,6 @@ import BaseController from '../../lib/baseController'; import { controller, inject, post, provide } from 'midway'; -import { IAccountService } from '../../interface/IAccountService'; +import { IAccountService } from '../../interface/service/IAccountService'; import { IAccountInfo } from '../../interface/IAccountInfo'; @provide() @@ -30,6 +30,7 @@ export class Account extends BaseController { async register() { try { const { body } = this.getRequestBody(); + console.log(body); const { userAccount, password, nickName } = body; const accountInfo: IAccountInfo = { userAccount, password, nickName }; const result = await this.service.register(accountInfo); diff --git a/server/src/app/controller/gameRecord.ts b/server/src/app/controller/gameRecord.ts new file mode 100644 index 0000000..1f60ed2 --- /dev/null +++ b/server/src/app/controller/gameRecord.ts @@ -0,0 +1,82 @@ +import { Context, inject, controller, post, provide } from 'midway'; +import BaseController from '../../lib/baseController'; +import { IPlayerService } from '../../interface/IPlayer'; +import { + ICommandRecord, + ICommandRecordService, +} from '../../interface/ICommandRecord'; +import { IGameService } from '../../interface/IGame'; +import { EGameOverType } from '../core/PokerGame'; + +interface IFindGameRecord { + gameId: number; + winners: string; + commandList: ICommandRecord []; +} + +@provide() +@controller('/node/game/record') +export class GameRecordController extends BaseController { + + @inject() + ctx: Context; + + @inject('PlayerRecordService') + playerService: IPlayerService; + + @inject('GameService') + gameService: IGameService; + + @inject('CommandRecordService') + commandService: ICommandRecordService; + + @post('/find/commandRecord') + async find() { + try { + const { body } = this.getRequestBody(); + const state = this.ctx.state; + const commandList = await this.commandService.findByRoomNumber(body.gameId); + const gameList = await this.gameService.findByRoomNumber(body.roomNumber); + let result: IFindGameRecord; + console.log(state, 'user'); + gameList.forEach(g => { + if (g.status === EGameOverType.GAME_OVER) { + const winner = JSON.parse(g.winners || '')[0][0]; + delete winner.handCard; + g.winners = JSON.stringify([[ winner ]]); + } + }); + commandList.forEach(c => { + if (c.userId !== state.user.user.userId) { + c.handCard = ''; + } + }); + result = { + commandList, + winners: gameList.find(g => g.id === body.gameId)?.winners || '', + gameId: body.gameId, + }; + this.success({ + ...result, + }); + } catch (e) { + this.fail('invalid game record'); + console.log(e); + } + } + + @post('/find/gameRecord') + async index() { + try { + const { body } = this.getRequestBody(); + const gameList = await this.gameService.findByRoomNumber(body.roomNumber); + const result = gameList.map(g => Object.assign({}, {}, { gameId: g.id })); + this.success({ + ...result, + }); + } catch (e) { + this.fail('create room error'); + console.log(e); + } + } +} diff --git a/server/src/app/controller/room.ts b/server/src/app/controller/room.ts index a01e083..1e6d5ed 100644 --- a/server/src/app/controller/room.ts +++ b/server/src/app/controller/room.ts @@ -17,7 +17,8 @@ export class RoomController extends BaseController { @post('/') async index() { try { - const result = await this.roomService.add(); + const { body } = this.getRequestBody(); + const result = await this.roomService.add(body.isShort, body.smallBlind); this.success(result); } catch (e) { this.fail('create room error'); @@ -29,10 +30,10 @@ export class RoomController extends BaseController { async find() { try { const { body } = this.getRequestBody(); - const result = await this.roomService.findByRoomNumber(body.roomNumber); - this.success({ hasRoom: result }); + const result = await this.roomService.findRoomNumber(body.roomNumber); + this.success({ ...result }); } catch (e) { - this.fail('create room error'); + this.fail('invalid room'); console.log(e); } } diff --git a/server/src/app/controller/user.ts b/server/src/app/controller/user.ts index 3744bf9..c79f8af 100644 --- a/server/src/app/controller/user.ts +++ b/server/src/app/controller/user.ts @@ -1,6 +1,6 @@ import { Context, inject, controller, post, provide, plugin } from 'midway'; import BaseController from '../../lib/baseController'; -import { IUserService } from '../../interface/IUserService'; +import { IUserService } from '../../interface/service/IUserService'; @provide() @controller('/node/user') @@ -20,12 +20,10 @@ export class UserController extends BaseController { @post('/') async index() { try { - const token: string = this.ctx.get('Authorization') || ''; - const userInfo = await this.jwt.verify(token); - const user = this.user.findByAccount(userInfo.userAccount); - this.success(user); + const state = this.ctx.state; + console.log(state, 'state'); + this.success(state.user.user); } catch (e) { - console.log(e); this.fail('server error'); } } diff --git a/server/src/app/core/Player.ts b/server/src/app/core/Player.ts index 35bce7e..832b46b 100644 --- a/server/src/app/core/Player.ts +++ b/server/src/app/core/Player.ts @@ -6,13 +6,17 @@ export interface IPlayer { nickName: string; account: string; socketId: string; - sit?: boolean; + income?: number; + type: string; reBuy: number; + status: number; + actionSize: number; + actionCommand: string; } export enum ECommand { - SMALL_BLIND = 'small_blind', - BIG_BLIND = 'big_blind', + SMALL_BLIND = 'sb', + BIG_BLIND = 'bb', STRADDLE = 'straddle', CALL = 'call', ALL_IN = 'allin', @@ -22,7 +26,7 @@ export enum ECommand { } export enum EPlayerType { - DEFAULT = 'default', + DEFAULT = '', DEALER = 'd', BIG_BLIND = 'bb', SMALL_BLIND = 'sb', @@ -40,9 +44,9 @@ export class Player { type: string = EPlayerType.DEFAULT; evPot: number = Infinity; inPot: number = 0; - pokeStyle: string = ''; + income: number = 0; + pokerStyle: string = ''; - // commandRecord: Array = []; constructor(config: IPlayer) { this.counter = config.counter; this.position = config.position || 0; @@ -70,8 +74,8 @@ export class Player { /** * player action - * @param {string} commandString - * @param {number} prevSize + * @param {string} commandString - player action command string + * @param {number} prevSize - prev player action size * @example action('command:raise:10') */ action(commandString: string, prevSize: number = 0) { @@ -83,7 +87,7 @@ export class Player { && (prevSize > (this.counter + this.actionSize) || raiseSize > this.counter)) { throw 'player: error action, overflow action size'; } else { - this.actionCommand = command; + this.actionCommand = (command === ECommand.SMALL_BLIND || command === ECommand.BIG_BLIND) ? '' : command; } // BLIND @@ -104,8 +108,10 @@ export class Player { // player raise,get the raise size if (command === ECommand.RAISE) { // raise must double to prevSize - if ((raiseSize + this.actionSize) >= prevSize * 2) { - size = raiseSize; + if (raiseSize >= prevSize * 2) { + console.log('player: RAISE----------------', prevSize, this.actionSize); + const actionSize = this.actionSize >= 0 ? this.actionSize : 0; + size = raiseSize - actionSize; } else { throw 'player: error action: raise size too small'; } @@ -117,7 +123,8 @@ export class Player { if (command === ECommand.CALL) { console.log('player: call----------------', prevSize, this.actionSize); - size = prevSize - this.actionSize; + const actionSize = this.actionSize >= 0 ? this.actionSize : 0; + size = prevSize - actionSize; } if (command === ECommand.CHECK) { @@ -132,15 +139,24 @@ export class Player { this.inPot += size; } this.actionSize += size; + if (command === ECommand.RAISE) { + this.actionSize = raiseSize; + } else if (command === ECommand.CALL) { + this.actionSize = prevSize; + } return size; } clearActionSize() { this.actionSize = 0; + if (this.actionCommand !== 'fold') { + this.actionCommand = ''; + } } - income(size: number) { + setIncome(size: number) { console.log('size', size); + this.income = size; this.counter += size; } } diff --git a/server/src/app/core/Poker.ts b/server/src/app/core/Poker.ts index aaa1b3d..a9df406 100644 --- a/server/src/app/core/Poker.ts +++ b/server/src/app/core/Poker.ts @@ -11,13 +11,15 @@ export interface IPoker { */ export class Poker implements IPoker { private pokers: string [] = []; + private readonly isShort: boolean; - constructor() { + constructor(isShort = false) { + this.isShort = isShort; this.init(); } init(): void { - const size = [ + let size = [ 'a', 'b', 'c', @@ -31,6 +33,18 @@ export class Poker implements IPoker { 'k', 'l', 'm' ]; + if (this.isShort) { + size = [ + 'e', + 'f', + 'g', + 'h', + 'i', + 'j', + 'k', + 'l', + 'm' ]; + } const color = [ 1, 2, 3, 4 ]; for (const i of size) { for (const j of color) { diff --git a/server/src/app/core/PokerGame.ts b/server/src/app/core/PokerGame.ts index 93c6809..a98b53b 100644 --- a/server/src/app/core/PokerGame.ts +++ b/server/src/app/core/PokerGame.ts @@ -1,19 +1,35 @@ /** * Created by jorky on 2020/2/23. */ -import { Poker } from './Poker'; +import { IPoker, Poker } from './Poker'; import { ECommand, EPlayerType, IPlayer, Player } from './Player'; import { PokerStyle } from './PokerStyle'; import { ILinkNode, Link } from '../../utils/Link'; import Timeout = NodeJS.Timeout; +/** + * Poker game class interface + */ interface IPokerGame { users: IPlayer[]; smallBlind: number; - updateCommonCard: () => void; + isShort: boolean; + actionRoundComplete: () => void; gameOverCallBack: () => void; + autoActionCallBack: (actionType: string, userId: string) => void; } +/** + * Game over enum + */ +export enum EGameOverType { + GAME_SHOWDOWN = 1, + GAME_OVER = 2, +} + +/** + * Game state enum + */ export enum EGameStatus { GAME_READY, GAME_START, @@ -25,67 +41,81 @@ export enum EGameStatus { GAME_OVER, } -const ACTION_TIME = 60 * 1000; +/** + * Action time + * @type {number} + */ +const ACTION_TIME = 30 * 1000; +/** + * Class representing a poker game + */ export class PokerGame { - commonCard: string[] = []; - fireCards: string[] = []; - playerLink: Link; - allPlayer: Player[] = []; - poker = new Poker(); - pot: number; - status: EGameStatus; - currPlayer: ILinkNode; - smallBlind: number; - playerSize: number; - prevSize: number; - prevPot: number = 0; - actionTimeOut: Timeout; - allInPlayers: Player[] = []; - currActionAllinPlayer: Player[] = []; - updateCommonCard: () => void; - gameOverCallBack: () => void; - hasStraddle = false; - winner: Player[][] = []; + private playerLink: Link; + private poker: IPoker; + private prevPot: number = 0; + private actionTimeOut: Timeout; + private currActionAllinPlayer: Player[] = []; + // It's a short poker game + private readonly isShort: boolean; + private readonly smallBlind: number; + private readonly actionRoundComplete: () => void; + private readonly gameOverCallBack: () => void; + private readonly autoActionCallBack: (actionType: string, userId: string) => void; + // hasStraddle = false; + public slidePots: number [] = []; + public prevSize: number; + public currPlayer: ILinkNode; + public allInPlayers: Player[] = []; + public playerSize: number; + public pot: number; + public status: EGameStatus; + public commonCard: string[] = []; + public winner: Player[][] = []; + public allPlayer: Player[] = []; + public SBPlayer: Player; + public BBPlayer: Player; + public gameOverType: EGameOverType; constructor(config: IPokerGame) { this.smallBlind = config.smallBlind; - this.updateCommonCard = config.updateCommonCard; + this.actionRoundComplete = config.actionRoundComplete; this.gameOverCallBack = config.gameOverCallBack; + this.autoActionCallBack = config.autoActionCallBack; + console.log(config.isShort, 'poker--------------'); + this.isShort = config.isShort; + this.poker = new Poker(this.isShort); if (config.users.length < 2) { - throw 'player must be max than 2 '; + throw 'player Inadequate'; } this.init(config.users); } init(users: IPlayer[]) { - if (this.playerSize < 2) { - throw 'player Inadequate'; - } - this.status = EGameStatus.GAME_READY; // init playerLink this.playerLink = this.setPlayer(users); this.playerSize = users.length; // set SB, BB,Straddle - this.getBlind(); + this.setBlind(); // UTG this.currPlayer = this.playerLink.getNode(3); } - getBlind() { + /** + * game init blind (SB,BB) + */ + private setBlind() { // sb blind const SBPlayerNode = this.playerLink.getNode(1); - const SBPlayer = SBPlayerNode.node; + this.SBPlayer = SBPlayerNode.node; if (SBPlayerNode.next) { // big blind const BBPlayerNode: ILinkNode = SBPlayerNode.next; - const BBPlayer = BBPlayerNode.node; - SBPlayer.action(`sb:${this.smallBlind}`); - BBPlayer.action(`bb:${this.smallBlind * 2}`); + this.BBPlayer = BBPlayerNode.node; + this.SBPlayer.action(`sb:${this.smallBlind}`); + this.BBPlayer.action(`bb:${this.smallBlind * 2}`); this.prevSize = this.smallBlind * 2; - // add counter to pot - // this.pots.push(this.smallBlind * 3); this.pot = this.smallBlind * 3; // todo straddle } else { @@ -93,149 +123,155 @@ export class PokerGame { } } - play() { - this.status = EGameStatus.GAME_START; - this.sendCard(); - } - - startActionRound() { - this.actionTimeOut = setTimeout(async () => { - this.action('fold'); - }, ACTION_TIME); - } - - action(commandString: string) { - if (this.status === EGameStatus.GAME_ACTION && this.currPlayer.next) { - const commandArr = commandString.split(':'); - const command = commandArr[0]; - let size = Number(commandArr[1]); - if (command === ECommand.ALL_IN) { - size = this.currPlayer.node.counter > this.prevSize ? - this.currPlayer.node.counter : this.prevSize; - this.allIn(); - console.log('allin: -----------', this.currPlayer); - this.pot += this.currPlayer.node.counter; - // other pot - // only one player,or none player,game is over - } - if (command === ECommand.CALL) { - size = this.prevSize; - this.pot += size - this.currPlayer.node.actionSize; - } - if (command === ECommand.FOLD) { - size = this.prevSize; - this.removePlayer(this.currPlayer.node); - // only one player,or none player,game is over - } - if (command === ECommand.CHECK) { - console.log(this.currPlayer.node.type === EPlayerType.BIG_BLIND - && this.prevSize === this.smallBlind * 2, 'big blind', this.currPlayer); - size = -1; - // prev player must be check - if (!(this.prevSize <= 0 || - ((this.currPlayer.node.type === EPlayerType.BIG_BLIND - || this.playerSize === 2 && this.currPlayer.node.type === EPlayerType.DEALER) - && this.prevSize === this.smallBlind * 2))) { - throw 'incorrect action: check'; - } - } - if (command === ECommand.RAISE) { - this.pot += size; - // 3 bet - size += this.currPlayer.node.actionSize; - - if ((size + this.currPlayer.node.actionSize) < this.prevSize * 2) { - throw 'incorrect action: raise'; - } - } - try { - clearTimeout(this.actionTimeOut); - this.currPlayer.node.action(commandString, this.prevSize); - this.prevSize = size; - const nextPlayer = this.currPlayer.next.node; - // all check actionSize === -1 - // all player allin - // only 2 player, curr player fold, next player already action - // only one player ,one player fold,other player allin - // pre flop big blind check and other player call - console.log('this.currPlayer----------', this.currPlayer, nextPlayer, command); - if (this.playerSize === 0 - || (nextPlayer.actionSize === size) - || (this.commonCard.length === 0 - && (this.currPlayer.node.type === EPlayerType.BIG_BLIND - || this.playerSize === 2 && this.currPlayer.node.type === EPlayerType.DEALER) - && command === ECommand.CHECK)) { - // console.log('ccc------', this.currPlayer, nextPlayer, command, this.playerSize); - console.log('actionComplete'); - this.actionComplete(); - return; - } - this.currPlayer = this.currPlayer.next; - // action time is 60s - console.log('action auto'); - this.actionTimeOut = setTimeout(() => { - if (command === ECommand.CHECK || command === ECommand.FOLD) { - this.action('check'); - } else { - this.action('fold'); - } - }, ACTION_TIME); - } catch (e) { - throw 'action:' + e; - } - } else { - throw 'incorrect action flow'; - } - } - allIn() { - this.currActionAllinPlayer.push(this.currPlayer.node); - this.removePlayer(this.currPlayer.node); - } - - private actionComplete() { - // pre flop - if (this.commonCard.length === 0 - && this.currPlayer.node.actionSize === this.smallBlind * 2 - && this.currPlayer.node.type !== EPlayerType.BIG_BLIND) { - if (this.currPlayer.next) { - this.currPlayer = this.currPlayer.next; - } else { - throw 'currPlayer.next is null'; - } + /** + * Get game winner + */ + getWinner() { + // only one winner, other players fold + if (this.allInPlayers.length === 0 && this.playerSize === 1 + || this.allInPlayers.length === 1 && this.playerSize === 0) { + console.log('only one player'); + this.gameOverType = EGameOverType.GAME_OVER; + const winner = this.allInPlayers[0] || this.currPlayer.node; + this.status = EGameStatus.GAME_OVER; + this.winner.push([ winner ]); return; } - // action has allin, sum the allin player ev_pot - if (this.currActionAllinPlayer.length !== 0) { - let currAllinPlayerPot = 0; - this.currActionAllinPlayer.forEach(allinPlayer => { - this.allPlayer.forEach(p => { - if (p.actionSize < allinPlayer.actionSize) { - currAllinPlayerPot += p.actionSize; - } else { - currAllinPlayerPot += allinPlayer.actionSize; - } - }); - console.log('evPot--------------------', this.prevPot, currAllinPlayerPot); - allinPlayer.evPot = this.prevPot + currAllinPlayerPot; - currAllinPlayerPot = 0; - }); - console.log('currActionAllinPlayer--------------------', this.allInPlayers, this.currActionAllinPlayer); - this.allInPlayers = [ ...this.allInPlayers, ...this.currActionAllinPlayer ]; + // game show down + while (this.status !== EGameStatus.GAME_SHOWDOWN) { + this.sendCard(); + this.setSate(); } - // action complete clear player actionSize = 0 - this.clearPlayerAction(); - this.currActionAllinPlayer = []; - this.prevSize = 0; - this.prevPot = this.pot; - // new action ring first action is sb - this.currPlayer = this.playerLink.getNode(1); - this.setSate(); - console.log(this.playerSize, 'playerS-------3', this.playerLink); - if (this.status === EGameStatus.GAME_SHOWDOWN || this.playerSize <= 1) { - this.gameOver(); - } - this.updateCommonCard(); + + this.status = EGameStatus.GAME_OVER; + this.gameOverType = EGameOverType.GAME_SHOWDOWN; + + this.getPlayerPokerStyle(); + + /** + * The max player can't win all of pot, get the largest of the remaining players + * @param {Player[]} excludePlayers - exclude players + */ + const getOtherWinner = (excludePlayers: Player[]) => { + // all player allin, winner can't get all pot + const allPlayer = this.getPlayers('all', excludePlayers); + // all player are exclude + if (allPlayer.length === 0) { + return; + } + const maxLastPlayer = this.getMaxPlayers(allPlayer); + this.winner.push(maxLastPlayer); + if (this.getLeftoverPot() > 0) { + getOtherWinner([ ...excludePlayers, ...maxLastPlayer ]); + } + }; + getOtherWinner([]); } + + /** + * Set players + * @param {IPlayer[]} users + * @returns {Link} + */ + setPlayer(users: IPlayer[]) { + console.log('init player ======================================================', users); + users.forEach((u, position) => { + const player = new Player({ + ...u, + position, + }); + this.allPlayer.push(player); + }); + return new Link(this.allPlayer); + } + + /** + * Get in the game players + * @param {string} type - 'all': include allin players + * @param {Player[]} excludePlayers - exclude player + * @returns {any[]} + */ + getPlayers(type= 'all', excludePlayers?: Player[]) { + let players = []; + let nextPlayer: ILinkNode = this.playerLink.link; + let i = 0; + while (i < this.playerSize) { + players.push(nextPlayer.node); + if (nextPlayer.next) { + nextPlayer = nextPlayer.next; + } + i++; + } + players = type === 'all' ? [ ...players, ...this.allInPlayers ] : players; + return excludePlayers ? players.filter(p => { + const isNotPlayer = excludePlayers.filter(excludePlayer => excludePlayer.userId === p.userId + || excludePlayer.evPot >= p.evPot); + return isNotPlayer.length === 0; + }) : players; + } + + /** + * Get player poker max poker style + */ + getPlayerPokerStyle() { + this.allPlayer.map(p => { + p.pokerStyle = new PokerStyle([ ...p.getHandCard(), ...this.commonCard ], this.isShort).getPokerWeight(); + return p; + }); + } + + /** + * Counting allin player slide pot + * @returns {number} + */ + getLeftoverPot() { + if (this.winner.length === 0) { + return this.pot; + } + return this.pot - this.winner[this.winner.length - 1][0].evPot; + } + + /** + * Get max players with player poker style weight + * @param {Player[]} lastPlayers + * @returns {Player[]} + */ + getMaxPlayers(lastPlayers: Player[]) { + const _maxPlayers: Player[] = []; + const maxPlayer = lastPlayers.reduce((acc, cur) => { + return this.compareCard(acc, cur) === 1 ? acc : cur; + }); + // has many winner equal max player + lastPlayers.forEach(p => { + if (this.compareCard(p, maxPlayer) === 0) { + _maxPlayers.push(p); + } + }); + return _maxPlayers; + } + + /** + * Find next round first action player, + * if small blind is already fold, then next in the game player + * @returns {ILinkNode} + */ + getFirstActionPlayer() { + const player = this.allPlayer.filter(p => p.counter > 0 + && p.position !== 0 && p.actionCommand !== 'fold')[0]; + console.log('getFirstActionPlayer-------player', player); + let link: ILinkNode | null = this.playerLink.link; + for (let i = 0; i < this.playerSize; i++) { + if (link?.node.userId === player?.userId) { + return link; + } + link = link?.next as ILinkNode; + } + return link; + } + + /** + * Set game state + */ setSate() { if (this.status === EGameStatus.GAME_ACTION) { if (this.commonCard.length === 0) { @@ -255,6 +291,192 @@ export class PokerGame { } } + /** + * Set hand cards + */ + setHandCard() { + // send card start by small blind + let playerLink = this.playerLink.link; + let player: Player; + for (let i = 0; i < 2; i++) { + let j = 0; + while (j < this.playerSize) { + player = playerLink.node; + player.setHandCard(this.poker.getCard()); + if (playerLink.next) { + playerLink = playerLink.next; + } + j++; + } + } + } + + /** + * Play game + */ + play() { + this.status = EGameStatus.GAME_START; + this.sendCard(); + } + + /** + * Start next action round + */ + startActionRound() { + this.actionTimeOut = setTimeout(async () => { + const userId = this.currPlayer.node.userId || ''; + console.log('userId start', userId); + this.action('fold'); + this.autoActionCallBack('fold', userId); + }, ACTION_TIME); + } + + /** + * player action + * @param {string} commandString - player action command string, include 'call', 'fold', 'raise:xxx(size)', 'allin', 'check' + */ + action(commandString: string) { + if (this.status === EGameStatus.GAME_ACTION && this.currPlayer.next) { + const commands = commandString.split(':'); + const command = commands[0]; + let size = Number(commands[1]); + if (command === ECommand.ALL_IN) { + console.log('counter', this.currPlayer.node.counter); + // Counting player action size, if player's counter less than prevSize then use prevSize + size = this.currPlayer.node.counter > this.prevSize ? + this.currPlayer.node.counter : this.prevSize; + this.currActionAllinPlayer.push(this.currPlayer.node); + this.removePlayer(this.currPlayer.node); + this.pot += this.currPlayer.node.counter; + } + if (command === ECommand.CALL) { + size = this.prevSize; + const actionSize = this.currPlayer.node.actionSize >= 0 ? this.currPlayer.node.actionSize : 0; + console.log('call----------', actionSize); + this.pot += size - actionSize; + } + if (command === ECommand.FOLD) { + this.removePlayer(this.currPlayer.node); + } + if (command === ECommand.CHECK) { + // prev player must be check + if (!(this.prevSize <= 0 || + ((this.currPlayer.node.type === EPlayerType.BIG_BLIND + || this.playerSize === 2 && this.currPlayer.node.type === EPlayerType.DEALER) + && this.prevSize === this.smallBlind * 2))) { + throw 'incorrect action: check'; + } + console.log(this.currPlayer.node.type === EPlayerType.BIG_BLIND + && this.prevSize === this.smallBlind * 2, 'big blind', this.currPlayer); + size = -1; + } + if (command === ECommand.RAISE) { + // counter not enough raise + if (size < this.prevSize * 2) { + throw `incorrect action: raise ========= action size: ${this.currPlayer.node.actionSize}, prevSize: ${this.prevSize}`; + } + const prevActionSize = this.currPlayer.node.actionSize >= 0 ? this.currPlayer.node.actionSize : 0; + this.pot += (size - prevActionSize); + } + try { + clearTimeout(this.actionTimeOut); + this.currPlayer.node.action(commandString, this.prevSize); + const nextPlayer = this.currPlayer.next.node; + console.log(command, (nextPlayer.actionSize === this.prevSize + && (nextPlayer.actionSize === this.currPlayer.node.actionSize || command === ECommand.FOLD) + && this.prevSize !== this.smallBlind * 2 && this.prevSize !== 0), 'tst', size, nextPlayer.actionSize, this.prevSize); + // all check actionSize === -1 + // all player allin + // only 2 player, curr player fold, next player alrecommand add errorady action + // only one player ,one player fold,other player allin + // pre flop big blind check and other player call + // pre flop big blind fold and other player call + if (this.playerSize === 0 + || (this.playerSize === 1 && this.currActionAllinPlayer.length === 0) + || (this.commonCard.length !== 0 && nextPlayer.actionSize === this.smallBlind * 2 + && nextPlayer.actionSize === size && size === this.prevSize) + || (nextPlayer.actionSize === this.prevSize + && (this.prevSize === this.currPlayer.node.actionSize || command === ECommand.FOLD) + && this.prevSize !== this.smallBlind * 2 && this.prevSize !== 0) + || (this.commonCard.length === 0 + && (nextPlayer.actionSize === this.smallBlind * 2 && this.prevSize === nextPlayer.actionSize) + && (this.currPlayer.node.type === EPlayerType.BIG_BLIND + || (this.allPlayer.length === 2 && this.currPlayer.node.type === EPlayerType.DEALER)) + && (command === ECommand.CHECK || command === ECommand.FOLD))) { + console.log('actionComplete'); + this.actionComplete(); + return; + } + this.prevSize = command === ECommand.FOLD ? this.prevSize : size; + console.log('preSize', this.prevSize); + this.currPlayer = this.currPlayer.next; + // action time out, auto action fold + this.actionTimeOut = setTimeout(() => { + const actionType = 'fold'; + const userId = this.currPlayer.node.userId; + this.action(actionType); + this.autoActionCallBack(actionType, userId); + }, ACTION_TIME); + } catch (e) { + throw 'action:' + e; + } + } else { + throw 'incorrect action flow'; + } + } + + /** + * Action is complete, collet allin player, clear player action, enter the next round + */ + private actionComplete() { + // action has allin, sum the allin player ev_pot + if (this.currActionAllinPlayer.length !== 0) { + let currAllinPlayerPot = 0; + this.currActionAllinPlayer.forEach(allinPlayer => { + this.allPlayer.forEach(p => { + const actionSize = p.actionSize > 0 ? p.actionSize : 0; + if (actionSize < allinPlayer.actionSize) { + currAllinPlayerPot += actionSize; + } else { + currAllinPlayerPot += allinPlayer.actionSize; + } + }); + console.log('evPot--------------------', this.prevPot, currAllinPlayerPot); + allinPlayer.evPot = this.prevPot + currAllinPlayerPot; + currAllinPlayerPot = 0; + }); + this.allInPlayers = [ ...this.allInPlayers, ...this.currActionAllinPlayer ]; + this.allInPlayers.sort((prev, next) => prev.evPot - next.evPot); + console.log('currActionAllinPlayer--------------------', this.allInPlayers, this.currActionAllinPlayer); + // slide pot + this.allInPlayers.forEach((p, key) => { + if (key === 0) { + this.slidePots.push(p.evPot); + } else { + this.slidePots.push(p.evPot - this.allInPlayers[key - 1].evPot); + } + }); + } + // action complete clear player actionSize = 0 + this.clearPlayerAction(); + this.currActionAllinPlayer = []; + this.prevSize = 0; + this.prevPot = this.pot; + // new action ring first action is sb + this.currPlayer = this.getFirstActionPlayer(); + this.setSate(); + console.log(this.playerSize, 'playerS-------3', this.playerLink); + if (this.status === EGameStatus.GAME_SHOWDOWN || this.playerSize <= 1) { + setTimeout(() => { + this.gameOver(); + }, 300); + } + this.actionRoundComplete(); + } + + /** + * Send common card or hand card + */ sendCard() { if (this.status === EGameStatus.GAME_START) { this.setHandCard(); @@ -262,13 +484,17 @@ export class PokerGame { return; } if (this.status === EGameStatus.GAME_FLOP) { - this.fireCards.push(this.poker.getCard()); - this.flop(); + // fire card + this.poker.getCard(); + for (let i = 0; i < 3; i++) { + this.commonCard.push(this.poker.getCard()); + } this.setSate(); return; } if (this.status === EGameStatus.GAME_TURN || this.status === EGameStatus.GAME_RIVER) { - this.fireCards.push(this.poker.getCard()); + // fire card + this.poker.getCard(); this.commonCard.push(this.poker.getCard()); this.setSate(); return; @@ -276,15 +502,15 @@ export class PokerGame { throw 'error flow sendCard'; } - flop() { - for (let i = 0; i < 3; i++) { - this.commonCard.push(this.poker.getCard()); - } - } - - compareCard(player: Player, otherPlayer: Player) { - const firstWeight = player.pokeStyle; - const lastWeight = otherPlayer.pokeStyle; + /** + * Comparison player cards style, base on poker style weight + * @param {Player} player - first player + * @param {Player} targetPlayer - second player + * @returns {number} - target player, bigger: -1, equal: 0, less than: 1 + */ + compareCard(player: Player, targetPlayer: Player) { + const firstWeight = player.pokerStyle; + const lastWeight = targetPlayer.pokerStyle; let flag = -1; if (firstWeight > lastWeight) { flag = 1; @@ -298,42 +524,30 @@ export class PokerGame { return flag; } - setPlayer(users: IPlayer[]) { - users.forEach((u, position) => { - const player = new Player({ - ...u, - position, - }); - this.allPlayer.push(player); - }); - return new Link(this.allPlayer); - } - - getPlayers(type= 'all', withoutPlayers?: Player[]) { - let players = []; - let nextPlayer: ILinkNode = this.playerLink.link; - let i = 0; - while (i < this.playerSize) { - players.push(nextPlayer.node); - if (nextPlayer.next) { - nextPlayer = nextPlayer.next; - } - i++; - } - players = type === 'all' ? [ ...players, ...this.allInPlayers ] : players; - return withoutPlayers ? players.filter(p => { - const isNotPlayer = withoutPlayers.filter(withoutPlayer => withoutPlayer.userId === p.userId - || withoutPlayer.evPot >= p.evPot); - return isNotPlayer.length === 0; - }) : players; - } - + /** + * Clear all player action size and action command + */ private clearPlayerAction() { this.allPlayer.forEach(player => { player.clearActionSize(); }); } + /** + * Game over, init player + */ + public initPlayer() { + this.allPlayer.forEach(player => { + player.type = ''; + player.actionSize = 0; + player.actionCommand = ''; + }); + } + + /** + * remove player from player link + * @param {Player} currPlayer + */ removePlayer(currPlayer: Player) { let playerLink = this.playerLink.link; let player: ILinkNode; @@ -351,98 +565,38 @@ export class PokerGame { } } - getWinner() { - if (this.allInPlayers.length === 0 && this.playerSize === 1) { - console.log('only one player'); - this.status = EGameStatus.GAME_OVER; - this.winner.push([ this.currPlayer.node ]); - return; - } - while (this.status !== EGameStatus.GAME_SHOWDOWN) { - this.sendCard(); - this.setSate(); - } - this.status = EGameStatus.GAME_OVER; - - this.getPlayerPokeStyle(); - - const getOtherWinner = (withoutPlayers: Player[]) => { - // all player allin, winner can't get all pot - const allPlayer = this.getPlayers('all', withoutPlayers); - // withoutPlayer is allPlayer - if (allPlayer.length === 0) { - return; - } - const maxLastPlayer = this.getMaxPlayers(allPlayer); - this.winner.push(maxLastPlayer); - if (this.getLeftoverPot() > 0) { - getOtherWinner([ ...withoutPlayers, ...maxLastPlayer ]); - } - }; - getOtherWinner([]); - } - - getPlayerPokeStyle() { - this.allPlayer.map(p => { - p.pokeStyle = new PokerStyle([ ...p.getHandCard(), ...this.commonCard ]).getPokerWeight(); - return p; - }); - } - - getLeftoverPot() { - if (this.winner.length === 0) { - return this.pot; - } - return this.pot - this.winner[this.winner.length - 1][0].evPot; - } - - getMaxPlayers(lastPlayers: Player[]) { - const _maxPlayers: Player[] = []; - const maxPlayer = lastPlayers.reduce((acc, cur) => { - return this.compareCard(acc, cur) === 1 ? acc : cur; - }); - // has many winner ,equal max player - lastPlayers.forEach(p => { - if (this.compareCard(p, maxPlayer) === 0) { - _maxPlayers.push(p); - } - }); - return _maxPlayers; - } - - setHandCard() { - // send card start by small blind - let playerLink = this.playerLink.link; - let player: Player; - for (let i = 0; i < 2; i++) { - let j = 0; - while (j < this.playerSize) { - player = playerLink.node; - player.setHandCard(this.poker.getCard()); - if (playerLink.next) { - playerLink = playerLink.next; - } - j++; - } - } - } + /** + * Counting winner Pot + */ counting() { let prevEvPot = 0; this.winner.forEach((winnerList, key) => { if (key !== 0) { prevEvPot = this.winner[key - 1][0].evPot; } - winnerList.forEach(winner => { + winnerList.forEach((winner, index) => { const pot = winner.evPot === Infinity ? this.pot : winner.evPot; - winner.income((pot - prevEvPot) / winnerList.length); + const leftPot = pot - prevEvPot; + const isDivide = leftPot % winnerList.length; + let income = leftPot / winnerList.length; + if (index === 0 && winnerList.length > 1 && isDivide > 0) { + income = ((leftPot - isDivide) / winnerList.length) + isDivide; + } + winner.setIncome(income); }); }); } + + /** + * Game over + */ gameOver() { + console.log('game over------------------'); // only one player,other fold this.getWinner(); // todo counting this.counting(); + this.initPlayer(); this.gameOverCallBack(); } } diff --git a/server/src/app/core/PokerStyle.ts b/server/src/app/core/PokerStyle.ts index 1e0c98e..7c4be4e 100644 --- a/server/src/app/core/PokerStyle.ts +++ b/server/src/app/core/PokerStyle.ts @@ -28,13 +28,16 @@ export class PokerStyle implements IPokerStyle { 3: [] as string[], 4: [] as string[], }; + flushColor: string = ''; + isShort: boolean; straightArr: string[] = []; pokerStyle: string[] = [ '0', '0', '0', '0', '0', '0', '0', '0', '0', '0' ]; numObj: Map = new Map( POKER_STR.split('').map(m => [ m, 0 ])); - constructor(cards: string[]) { + constructor(cards: string[], isShort= false) { this.cards = sort(cards); + this.isShort = isShort; this.init(); } @@ -44,8 +47,8 @@ export class PokerStyle implements IPokerStyle { const isThree = []; let isFour = '0'; let isFullHouse = '0'; - let isStraightFlush = '0'; - let isFlush = []; + // const isStraightFlush = '0'; + let isFlush: string[] = []; let isRoyalFlush = '0'; let isThreeKind = ''; let isTowPair = ''; @@ -68,6 +71,7 @@ export class PokerStyle implements IPokerStyle { if (this.flushObj[f].length >= 5) { // flush is order,so flush[length - 1] is max flush card isFlush = this.flushObj[f]; + this.flushColor = f; } } @@ -92,13 +96,12 @@ export class PokerStyle implements IPokerStyle { } // straight flush if (isFlush.length !== 0 && this.isStraight(isFlush) !== '0') { - if (this.isStraight(isFlush) === 'i') { - isRoyalFlush = '1'; + if (this.isStraight(isFlush) === 'ijklm') { + isRoyalFlush = 'ijklm'; this.pokerStyle[0] = isRoyalFlush; return; } - isStraightFlush = this.isStraight(isFlush); - this.pokerStyle[1] = isStraightFlush; + this.pokerStyle[1] = this.isStraight(isFlush).split('').reverse().join(''); return; } @@ -114,32 +117,63 @@ export class PokerStyle implements IPokerStyle { const maxTwoCard = isThree.length === 2 ? isThree[1] : isThree[0] === isTwo[0] ? isTwo[1] : isTwo[0]; const maxThree = isThree[0]; isFullHouse = maxThree + maxTwoCard; - this.pokerStyle[3] = isFullHouse; + if (this.isShort) { + this.pokerStyle[4] = isFullHouse; + } else { + this.pokerStyle[3] = isFullHouse; + } return; } // flush if (isFlush.length !== 0) { - this.pokerStyle[4] = isFlush; + isFlush.reverse().length = 5; + if (this.isShort) { + this.pokerStyle[3] = isFlush.join(''); + } else { + this.pokerStyle[4] = isFlush.join(''); + } return; } - // straight - if (this.isStraight() !== '0') { - this.pokerStyle[5] = `${this.isStraight()}`; - return; + console.log('come in -------', isThree); + + if (this.isShort) { + // three of kind + if (isThree.length > 0) { + isThreeKind = isThree.join(''); + isThreeKind += highCard[0] + highCard[1]; + this.pokerStyle[5] = isThreeKind; + return; + } + + // straight + if (this.isStraight() !== '0') { + this.pokerStyle[6] = `${this.isStraight()}`; + return; + } + + } else { + // straight + if (this.isStraight() !== '0') { + this.pokerStyle[5] = `${this.isStraight()}`; + return; + } + + // three of kind + if (isThree.length > 0) { + isThreeKind = isThree.join(''); + isThreeKind += highCard[0] + highCard[1]; + this.pokerStyle[6] = isThreeKind; + return; + } } - // three of kind - if (isThree.length > 0) { - isThreeKind = isThree.join(''); - isThreeKind += highCard[0] + highCard[1]; - this.pokerStyle[6] = isThreeKind; - return; - } // tow pair if (isTwo.length >= 2) { - isTowPair = isTwo.join(''); + const towPair = isTwo; + towPair.length = 2; + isTowPair = towPair.join(''); // third tow pair card big then high card const highCardForTowPair = isTwo[3] && isTwo[3] > highCard[0] ? isTwo[3] : highCard[0]; isTowPair += highCardForTowPair; @@ -167,13 +201,14 @@ export class PokerStyle implements IPokerStyle { return POKER_STR.indexOf(str); } if (straightStr.length === 5 && indexOf(straightStr) > -1) { - return POKER_STR.charAt(indexOf(straightStr)); + return POKER_STR.slice(indexOf(straightStr), indexOf(straightStr) + 5); } if (straightStr.length === 6) { first = indexOf(straightStr.slice(0, 5)); second = indexOf(straightStr.slice(1, 6)); if (Math.max(first, second) > -1) { - return POKER_STR.charAt(Math.max(first, second)); + const max = Math.max(first, second); + return POKER_STR.slice(max, max + 5); } } if (straightStr.length === 7) { @@ -181,12 +216,17 @@ export class PokerStyle implements IPokerStyle { second = indexOf(straightStr.slice(1, 6)); three = indexOf(straightStr.slice(2, 7)); if (Math.max(first, second, three) > -1) { - return POKER_STR.charAt(Math.max(first, second, three)); + const max = Math.max(first, second, three); + return POKER_STR.slice(max, max + 5); } } // special straight "A2345",'m' -> A - if (straightStr.indexOf('m') > -1 && straightStr.indexOf('abcd') > -1) { - return POKER_STR.charAt(12); + if (!this.isShort && straightStr.indexOf('m') > -1 && straightStr.indexOf('abcd') > -1) { + return 'abcd'; + } + // special straight "A2345",'m' -> A + if (this.isShort && straightStr.indexOf('m') > -1 && straightStr.indexOf('efgh') > -1) { + return 'efgh'; } return '0'; } @@ -194,4 +234,23 @@ export class PokerStyle implements IPokerStyle { getPokerWeight() { return this.pokerStyle.join(''); } + + getPokerValueCard() { + let valueStyle = ''; + let isFlush = false; + this.pokerStyle.forEach((style, key) => { + if (style !== '0') { + isFlush = key === 1 || key === 4; + valueStyle = style; + } + }); + const cards = this.cards.filter(card => { + if (isFlush) { + return valueStyle.indexOf(card[0]) > -1 && card[1] === this.flushColor; + } + return valueStyle.indexOf(card[0]) > -1; + }); + cards.reverse().length = 5; + return cards; + } } diff --git a/server/src/app/extend/context.ts b/server/src/app/extend/context.ts index 5529bad..317f330 100644 --- a/server/src/app/extend/context.ts +++ b/server/src/app/extend/context.ts @@ -4,7 +4,7 @@ const LOG_COLLECTION = Symbol('Context#logCollection'); export default { context: this, /** - * 获取收集的日志信息 + * Get log * @returns {any} */ getLogs(this: Context) { @@ -15,7 +15,7 @@ export default { return result; }, /** - * 收集日志信息 + * Collect log info * @param {string} key * @param {string} value */ diff --git a/server/src/app/io/controller/game.ts b/server/src/app/io/controller/game.ts index d5ed89d..964dfc3 100644 --- a/server/src/app/io/controller/game.ts +++ b/server/src/app/io/controller/game.ts @@ -1,119 +1,226 @@ 'use strict'; import BaseSocketController from '../../../lib/baseSocketController'; -import { IRoomInfo } from '../../../interface/IGameRoom'; -import { PokerGame } from '../../core/PokerGame'; +import { IRoomInfo, ISit } from '../../../interface/IGameRoom'; +import { EGameStatus, PokerGame } from '../../core/PokerGame'; import { IPlayer } from '../../core/Player'; +import { ILinkNode, Link } from '../../../utils/Link'; +import { IGame } from '../../../interface/IGame'; +import { ICommandRecord } from '../../../interface/ICommandRecord'; +import { IPlayerDTO } from '../../../interface/IPlayer'; class GameController extends BaseSocketController { - async playGame() { - try { - // const gameRecord: IGameRecord = { - // game_id: 0, - // user_id: 0, - // buy_in: 200, - // hand_cards: '', - // room_number: room, - // }; - // await this.gameRecordService.add(gameRecord); - const roomInfo = await this.getRoomInfo(); - console.log('players', roomInfo.players); - const sitDownPlayer = roomInfo.players.filter(p => p.counter > 0 && !!p.sit); - + private async getSitDownPlayer(roomInfo: IRoomInfo): Promise { + let sitDownPlayer: IPlayer[] = []; + // first game sitLink is null + if (roomInfo.sitLink) { + let currNode: ILinkNode | null = roomInfo.sitLink; + const currPlayer = currNode.node; + sitDownPlayer.push(currNode.node); + while (currNode && currPlayer.userId !== currNode.next?.node.userId) { + const next: ILinkNode | null = currNode.next; + if (next) { + sitDownPlayer.push(next.node); + } + currNode = next; + } + } else { + sitDownPlayer = roomInfo.sit.filter( + s => s.player && s.player.counter > 0).map(sit => sit.player); if (sitDownPlayer.length < 2) { throw 'player not enough'; } + roomInfo.sitLink = new Link(sitDownPlayer).link; + } + if (sitDownPlayer.length < 2) { + throw 'player not enough'; + } + return sitDownPlayer; + } + private async sendHandCard(roomInfo: IRoomInfo) { + const playerRecordService = await this.app.applicationContext.getAsync('PlayerRecordService'); + for (const p of roomInfo.players) { + const player = roomInfo.game?.allPlayer.find( + player => player.userId === p.userId); + const msg = this.ctx.helper.parseMsg('handCard', { + handCard: player?.getHandCard(), + }, { client: p.socketId }); + this.nsp.emit(p.socketId, msg); + if (player) { + const playerRecord: IPlayerDTO = { + roomNumber: this.roomNumber, + gameId: roomInfo.gameId || 0, + userId: player.userId || '', + buyIn: p.buyIn, + counter: p.counter, + handCard: player.getHandCard().join(',') || '', + }; + await playerRecordService.add(playerRecord); + } + } + } + + /** + * Play game + * @returns {Promise} + */ + async playGame() { + try { + const roomInfo = await this.getRoomInfo(); + const gameService = await this.app.applicationContext.getAsync('GameService'); + const sitDownPlayer = await this.getSitDownPlayer(roomInfo); + console.log('roomConfig-------------------', roomInfo.config); if (!roomInfo.game) { + roomInfo.game = null; roomInfo.game = new PokerGame({ users: sitDownPlayer, + isShort: roomInfo.config.isShort, smallBlind: 1, - updateCommonCard: () => { + actionRoundComplete: async () => { + let slidePots: number [] = []; if (roomInfo.game) { console.log('come in', roomInfo.game.status); - if (roomInfo.game.status < 6) { + if (roomInfo.game.status < 6 && roomInfo.game.playerSize > 1) { roomInfo.game.sendCard(); roomInfo.game.startActionRound(); - } - this.nsp.adapter.clients([ this.roomNumber ], - (err: any, clients: any) => { - if (roomInfo.game) { - // 更新common card - this.nsp.to(this.roomNumber).emit('online', { - clients, - action: 'commonCard', - target: 'participator', - data: { - commonCard: roomInfo.game.commonCard, - }, - }); - } + // has allin,deal slide pot + if (roomInfo.game.allInPlayers.length > 0) { + slidePots = roomInfo.game.slidePots; + } + await this.adapter('online', 'actionComplete', { + slidePots, + commonCard: roomInfo.game.commonCard, }); + } } }, - gameOverCallBack: () => { + gameOverCallBack: async () => { if (roomInfo.game) { // game over roomInfo.game.allPlayer.forEach(gamePlayer => { + console.log('player =================== game over', gamePlayer); const player = roomInfo.players.find( - (p: IPlayer) => p.nickName === gamePlayer.nickName); - if (player) { + (p: IPlayer) => p.userId === gamePlayer.userId); + const sit = roomInfo.sit.find( + (s: ISit) => s.player?.userId === gamePlayer.userId); + if (player && sit) { player.counter = gamePlayer.counter; + player.actionCommand = ''; + player.actionSize = 0; + player.type = ''; + sit.player.counter = gamePlayer.counter; + sit.player.actionCommand = ''; + sit.player.actionSize = 0; + sit.player.type = ''; } }); - console.log('game over-------------'); - console.log(roomInfo.game.commonCard); - console.log(roomInfo.game.pot); - console.log(roomInfo.players, '=============players'); - console.log(roomInfo.game.getPlayers()); - console.log(roomInfo.game.winner); - // new game - setTimeout(() => { - this.reStart(); - }, 100000); + console.log('allPlayer =================== game over', roomInfo.game.allPlayer); + if (roomInfo.game.status === EGameStatus.GAME_OVER) { + let winner: any = [[{ + ...roomInfo.game.winner[0][0], + handCard: [], + }]]; + let allPlayers = winner[0]; + // only player, other fold + if (roomInfo.game.getPlayers().length !== 1) { + winner = roomInfo.game.winner; + allPlayers = roomInfo.game.getPlayers(); + } + await this.adapter('online', 'gameOver', { + winner, + allPlayers, + commonCard: roomInfo.game.commonCard, + }); + // new game + setTimeout(() => { + this.reStart(); + }, 5000); + } } - this.nsp.adapter.clients([ this.roomNumber ], - (err: any, clients: any) => { - if (roomInfo.game) { - // game over show winner - if (roomInfo.game.status === 7) { - let winner: any = [[{ ...roomInfo.game.winner[0][0], handCard: [] }]]; - let allPlayers = winner[0]; - // only player, other fold - if (roomInfo.game.getPlayers().length !== 1) { - winner = roomInfo.game.winner; - allPlayers = roomInfo.game.getPlayers(); - } - this.nsp.to(this.roomNumber).emit('online', { - clients, - action: 'gameOver', - target: 'participator', - data: { - winner, - allPlayers, - }, - }); - } + // update game info + const gameRecord: IGame = { + id: roomInfo.gameId, + pot: roomInfo.game?.pot || 0, + commonCard: roomInfo.game?.commonCard.join(',') || '', + winners: JSON.stringify(roomInfo.game?.winner).replace(' ', ''), + status: roomInfo.game?.gameOverType || 0, + }; + const result = await gameService.update(gameRecord); + if (!result.succeed) { + throw 'update game error'; + } + }, + autoActionCallBack: async (command, userId) => { + // fold change status: -1 + if (command === 'fold') { + roomInfo.players.forEach(p => { + if (p.userId === userId) { + p.status = -1; } }); + console.log('roomInfo', roomInfo.players); + roomInfo.sit.forEach((s: ISit) => { + if (s.player && s.player.userId === userId) { + delete s.player; + } + }); + } + await this.updateGameInfo(); + console.log('auto Action'); }, }); roomInfo.game.play(); roomInfo.game.startActionRound(); console.log('hand card', roomInfo.game.allPlayer); - // update counter, pot + // update counter, pot, status await this.updateGameInfo(); - roomInfo.players.forEach(p => { - // console.log('game msg---------1'); - const player = roomInfo.game?.allPlayer.find( - player => player.socketId === p.socketId); - // console.log(player, 'game msg---------1'); - const msg = this.ctx.helper.parseMsg('handCard', { - handCard: player?.getHandCard(), - }, { client: p.socketId }); - console.log(msg, 'game msg---------', p.socketId); - this.nsp.emit(p.socketId, msg); - }); + // add game record + const gameRecord: IGame = { + roomNumber: this.roomNumber, + pot: 0, + commonCard: '', + status: 0, + }; + const result = await gameService.add(gameRecord); + if (result.succeed) { + roomInfo.gameId = result.id; + } else { + throw 'game add error'; + } + await this.sendHandCard(roomInfo); + // add game BB SB action record + const BB = roomInfo.game.BBPlayer; + const SB = roomInfo.game.SBPlayer; + const BBCommandRecord: ICommandRecord = { + roomNumber: this.roomNumber, + userId: BB.userId, + type: BB.type, + gameStatus: 0, + pot: 3, + commonCard: '', + command: 'bb:2', + gameId: result.id, + counter: BB.counter, + }; + const SBCommandRecord: ICommandRecord = { + roomNumber: this.roomNumber, + userId: SB.userId, + type: SB.type, + gameStatus: 0, + pot: 1, + commonCard: '', + command: 'sb:1', + gameId: result.id, + counter: SB.counter, + }; + const commandRecordService = await this.app.applicationContext.getAsync('CommandRecordService'); + const sbRecordResult = await commandRecordService.add(SBCommandRecord); + const bbRecordResult = await commandRecordService.add(BBCommandRecord); + console.log(bbRecordResult, sbRecordResult); + if (!sbRecordResult.succeed || !bbRecordResult.succeed) { + throw 'command add error'; + } } else { throw 'game already paling'; } @@ -123,28 +230,67 @@ class GameController extends BaseSocketController { } async reStart() { - const roomInfo: IRoomInfo = await this.getRoomInfo(); - const player = roomInfo.players.shift(); - if (player) { - roomInfo.players.push(player); - } - roomInfo.game = null; - // update player counter - roomInfo.players.forEach(p => { - p.counter += p.reBuy; - p.reBuy = 0; - }) - // new game - this.nsp.adapter.clients([ this.roomNumber ], (err: any, clients: any) => { - // 广播信息 - this.nsp.to(this.roomNumber).emit('online', { - clients, - action: 'newGame', - target: 'participator', - data: {}, + try { + const roomInfo: IRoomInfo = await this.getRoomInfo(); + const dealer = roomInfo.game?.allPlayer.filter(gamePlayer => { + return !!roomInfo.sit.find(s => s.player?.userId === gamePlayer.userId + && s.player.counter > 0 && s.player?.userId !== roomInfo.sitLink?.node.userId); + })[0]; + console.log('dealer -------', dealer); + roomInfo.game = null; + // init player status + roomInfo.players.forEach(p => { + p.status = 0; }); - }); - await this.playGame(); + console.log('sit =======', roomInfo.sit); + // calculate re buy in + roomInfo.sit.forEach((s: ISit) => { + if (s.player) { + const player = roomInfo.players.find( + p => p.userId === s.player?.userId); + if (player) { + s.player.counter += Number(player.reBuy); + console.log('cal reBuy ===============================', s.player, + player.reBuy); + player.reBuy = 0; + s.player.reBuy = 0; + } + } + }); + + // clear counter not enough player + roomInfo.sit.forEach((s: ISit) => { + if (s.player && s.player.counter === 0) { + delete s.player; + } + }); + + const players = roomInfo.sit.filter(s => s.player && s.player.counter > 0) + .map(s => s.player) || []; + let link: ILinkNode | null = new Link(players).link; + if (players.length >= 2) { + // init sit link + console.log(players, 'players==========='); + while (link?.node.userId !== dealer?.userId) { + link = link?.next || null; + } + roomInfo.sitLink = link; + console.log('dealer ===================', dealer, link); + // new game + await this.adapter('online', 'newGame', {}); + await this.playGame(); + } else { + roomInfo.sitLink = null; + console.log('come in only one player'); + // player not enough + await this.adapter('online', 'pause', { + players: roomInfo.players, + sitList: roomInfo.sit, + }); + } + } catch (e) { + console.log(e + 'restart ex'); + } } async buyIn() { @@ -153,19 +299,28 @@ class GameController extends BaseSocketController { const roomInfo: IRoomInfo = await this.getRoomInfo(); const { payload } = this.ctx.args[0] || {}; const { buyInSize } = payload; + // find current player const player = roomInfo.players.find( - (p: IPlayer) => p.nickName === userInfo.nickName); - console.log(userInfo, 'userInfo------'); + (p: IPlayer) => p.userId === userInfo.userId); + console.log(userInfo, 'userInfo------', player); + const isGaming = !!roomInfo.game; if (player) { if (roomInfo.game) { - const inTheGame = roomInfo.game.allPlayer.find(p => p.userId === userInfo.userId); + const inTheGame = roomInfo.game.allPlayer.find( + p => p.userId === userInfo.userId); // player in the game, can't buy in if (inTheGame) { player.reBuy += Number(buyInSize); + player.buyIn += Number(buyInSize); + console.log('come in'); + } else { + player.buyIn += Number(buyInSize); + player.counter += Number(buyInSize); } + } else { + player.buyIn += Number(buyInSize); + player.counter += Number(buyInSize); } - player.buyIn += Number(buyInSize); - player.counter += Number(buyInSize); } else { const player: IPlayer = { counter: Number(buyInSize), @@ -174,17 +329,12 @@ class GameController extends BaseSocketController { }; roomInfo.players.push(player); } - this.nsp.adapter.clients([ this.roomNumber ], (err: any, clients: any) => { - // 广播信息 - this.nsp.to(this.roomNumber).emit('online', { - clients, - action: 'players', - target: 'participator', - data: { - players: roomInfo.players, - }, + console.log(player, 'buy in player', roomInfo.players); + if (!isGaming) { + await this.adapter('online', 'players', { + players: roomInfo.players, }); - }); + } } catch (e) { console.log(e); } @@ -215,6 +365,20 @@ class GameController extends BaseSocketController { } } + async sitDown() { + try { + const { payload } = this.message; + const sitList = payload.sitList; + const roomInfo = await this.getRoomInfo(); + roomInfo.sit = sitList; + await this.adapter('online', 'sitList', { + sitList, + }); + } catch (e) { + console.log(e); + } + } + async action() { try { const { payload } = this.message; @@ -225,10 +389,53 @@ class GameController extends BaseSocketController { userInfo); if (roomInfo.game && roomInfo.game.currPlayer.node.userId === userInfo.userId) { + const currPlayer = roomInfo.game.currPlayer.node; + const commonCard = roomInfo.game.commonCard; + let status = 0; + if (commonCard.length === 3) { + status = EGameStatus.GAME_FLOP; + } + if (commonCard.length === 4) { + status = EGameStatus.GAME_TURN; + } + if (commonCard.length === 5) { + status = EGameStatus.GAME_RIVER; + } + if (commonCard.length === 6) { + status = EGameStatus.GAME_SHOWDOWN; + } + const commandRecord: ICommandRecord = { + roomNumber: this.roomNumber, + userId: userInfo.userId, + type: currPlayer.type, + gameStatus: status, + pot: 0, + commonCard: roomInfo.game?.commonCard.join(',') || '', + command: payload.command, + gameId: roomInfo.gameId || 0, + counter: currPlayer.counter, + }; roomInfo.game.action(payload.command); + const commandArr = payload.command.split(':'); + const command = commandArr[0]; + // fold change status: -1 + if (command === 'fold') { + roomInfo.players.forEach(p => { + if (p.userId === userInfo.userId) { + p.status = -1; + } + }); + } + console.log('fold ===============', roomInfo.players, + roomInfo.game.allPlayer); // todo notice next player action await this.updateGameInfo(); console.log('curr player', roomInfo.game.currPlayer.node); + // add game record + commandRecord.pot = roomInfo.game?.pot || 0; + commandRecord.counter = currPlayer.counter; + const commandRecordService = await this.app.applicationContext.getAsync('CommandRecordService'); + await commandRecordService.add(commandRecord); } else { throw 'action flow incorrect'; } diff --git a/server/src/app/io/middleware/join.ts b/server/src/app/io/middleware/join.ts index 843d6a8..39599e5 100644 --- a/server/src/app/io/middleware/join.ts +++ b/server/src/app/io/middleware/join.ts @@ -23,8 +23,9 @@ export default function join(): any { const app = ctx.app as any; const nsp = app.io.of('/socket'); const query = socket.handshake.query; - const { room, token } = query; + const { room, token, roomConfig } = query; console.log('socket-----join', id); + console.log('roomConfig-----roomConfig', JSON.parse(roomConfig)); // room缓存信息是否存在 if (!nsp.gameRooms) { nsp.gameRooms = []; @@ -33,69 +34,95 @@ export default function join(): any { const hasRoom = nsp.gameRooms.find((r: IGameRoom) => r.number === room); const { user } = await app.jwt.verify(token); socket.join(room); - await socket.emit(id, ctx.helper.parseMsg('userInfo', user)); - const player = { + await socket.emit(id, ctx.helper.parseMsg('userInfo', { userInfo: user })); + const player: IPlayer = { ...user, socketId: id, counter: 0, buyIn: 0, reBuy: 0, - sit: true, }; let gameRoom: IGameRoom = { number: room, roomInfo: { + sit: [], players: [], game: null, + sitLink: null, + config: JSON.parse(roomConfig) || { + isShort: false, + smallBlind: 1, + }, }, }; if (!hasRoom) { + // not in the room nsp.gameRooms.push(gameRoom); gameRoom.roomInfo = { + sit: [], players: [ player ], game: null, + sitLink: null, + config: JSON.parse(roomConfig) || { + isShort: false, + smallBlind: 1, + }, }; updatePlayer(room, gameRoom.roomInfo.players, 'players', nsp); } else { + // in the room gameRoom = nsp.gameRooms.find((r: IGameRoom) => r.number === room); - const findPlayer = gameRoom.roomInfo.players.find((p: IPlayer) => p.account === user.account); + const findPlayer = gameRoom.roomInfo.players.find((p: IPlayer) => p.userId === user.userId); if (!findPlayer) { + // game ready gameRoom.roomInfo.players.push(player); updatePlayer(room, gameRoom.roomInfo.players, 'players', nsp); } else { + // gaming, update hand cards findPlayer.socketId = id; - // in the game, update hand cards const gamePlayer = gameRoom.roomInfo.game?.allPlayer.find(p => user.userId === p.userId); if (gamePlayer) { + // in the game, get hand card const msg = ctx.helper.parseMsg('handCard', { handCard: gamePlayer.getHandCard(), }, { client: id }); socket.emit(id, msg); - if (gameRoom.roomInfo && gameRoom.roomInfo.game) { - const roomInfo = gameRoom.roomInfo; - const gameInfo = { - players: gameRoom.roomInfo.game.allPlayer.map(p => Object.assign({}, { - counter: p.counter, - actionSize: p.actionSize, + } + if (gameRoom.roomInfo) { + const roomInfo = gameRoom.roomInfo; + const gameInfo = { + players: roomInfo.players.map(p => { + const currPlayer = roomInfo.game?.allPlayer.find(player => player.userId === p.userId); + console.log('currPlayer ========== ', currPlayer); + return Object.assign({}, { + counter: currPlayer?.counter || p.counter, + actionSize: currPlayer?.actionSize || 0, + actionCommand: currPlayer?.actionCommand || '', nickName: p.nickName, - type: p.type, + type: currPlayer?.type || '', userId: p.userId, - }, {})), - pot: roomInfo.game?.pot, - prevSize: roomInfo.game?.prevSize, - currPlayer: { - userId: roomInfo.game?.currPlayer.node.userId, - }, - }; - const game = ctx.helper.parseMsg('gameInfo', { - data: gameInfo, - }, { client: id }); - socket.emit(id, game); - } - } else { - updatePlayer(room, gameRoom.roomInfo.players, 'players', nsp); + status: p.status, + buyIn: p.buyIn || 0, + }, {}); + }), + commonCard: roomInfo.game?.commonCard || [], + pot: roomInfo.game?.pot || 0, + prevSize: roomInfo.game?.prevSize || 0, + currPlayer: { + userId: roomInfo.game?.currPlayer.node.userId, + }, + }; + const game = ctx.helper.parseMsg('gameInfo', { + data: gameInfo, + }, { client: id }); + socket.emit(id, game); } } + // get sitList + const msg = ctx.helper.parseMsg('sitList', { + sitList: gameRoom.roomInfo.sit, + }, { client: id }); + socket.emit(id, msg); } // console.log('players', JSON.stringify(gameRoom.roomInfo.players)); updatePlayer(room, `User(${user.nickName}) joined.`, 'join', nsp); diff --git a/server/src/app/middleware/elkLogger.ts b/server/src/app/middleware/elkLogger.ts index 00e1747..74a587d 100644 --- a/server/src/app/middleware/elkLogger.ts +++ b/server/src/app/middleware/elkLogger.ts @@ -1,16 +1,15 @@ import { Context, EggAppConfig } from 'egg'; /** - * elk 日志拦截中间件 - * @description 接口请求拦截,进行日志上报,根据config的环境配置,设置日志收集,prod默认开启 - * @param {EggAppConfig["elkLogger"]} options config 配置项 elkLogger + * elk + * @description request intercept,log report,prod default open + * @param {EggAppConfig["elkLogger"]} options config elkLogger * @returns {any} */ export default function elkLogger(options: EggAppConfig['elkLogger']): any { return async (ctx: Context, next: () => Promise) => { const { match, enable } = options; - console.log('jwt', ctx.jwt); - // 是否符合配置规则 + // match if (match(ctx) && enable) { ctx.setLogCollection('fetchStart', Date.now()); ctx.setLogCollection('url', ctx.url); diff --git a/server/src/app/middleware/notFound.ts b/server/src/app/middleware/notFound.ts index d7eb133..d79cf9d 100644 --- a/server/src/app/middleware/notFound.ts +++ b/server/src/app/middleware/notFound.ts @@ -1,7 +1,7 @@ import { Context } from 'egg'; /** - * 404状态处理 + * 404 * @returns {any} */ export default function notFound(): any { @@ -12,7 +12,7 @@ export default function notFound(): any { ctx.body = { code: '404', data: {}, - msg: '页面坐火箭去了', + msg: 'page not found', }; } else { ctx.body = '

Page Not Found

'; diff --git a/server/src/app/router.ts b/server/src/app/router.ts index a5f886e..74dc476 100644 --- a/server/src/app/router.ts +++ b/server/src/app/router.ts @@ -6,4 +6,5 @@ export default function (app: Application) { app.io.of('/socket').route('buyIn', app.io.controller.game.buyIn); app.io.of('/socket').route('playGame', app.io.controller.game.playGame); app.io.of('/socket').route('action', app.io.controller.game.action); + app.io.of('/socket').route('sitDown', app.io.controller.game.sitDown); } diff --git a/server/src/config/.gitignore b/server/src/config/.gitignore new file mode 100644 index 0000000..1be6999 --- /dev/null +++ b/server/src/config/.gitignore @@ -0,0 +1 @@ +*.prod.ts diff --git a/server/src/config/config.default.ts b/server/src/config/config.default.ts index 37e0763..37544fe 100644 --- a/server/src/config/config.default.ts +++ b/server/src/config/config.default.ts @@ -8,23 +8,21 @@ export default (appInfo: EggAppInfo) => { // use for cookie sign key, should change to your own and keep security config.keys = appInfo.name + '_{{keys}}'; - // elk日志中间件,404处理中间件 + // elk log,404 config.middleware = [ 'elkLogger', 'notFound' ]; - // 合成配置 const bizConfig = { sourceUrl: '', elkLogger: { - // 请求url匹配规则 + // request url match match(ctx: Context) { const reg = /.*/; return reg.test(ctx.url); }, - // 是否启用 enable: true, }, }; - // 安全处理 + // security config.security = { csrf: { enable: false, @@ -33,16 +31,16 @@ export default (appInfo: EggAppInfo) => { enable: false, }, }; - // CORS 跨域处理 + // CORS config.cors = { allowMethods: 'GET,HEAD,PUT,POST,DELETE,PATCH,OPTIONS', credentials: true, origin(ctx: Context) { const origin: string = ctx.get('origin'); - console.log(origin, 'orgin'); - // 允许*域名访问 + // console.log(origin, 'orgin'); + // access origin if (origin.indexOf('') > -1) { - console.log('come in'); + // console.log('come in'); return origin; } else { return '*'; @@ -50,7 +48,7 @@ export default (appInfo: EggAppInfo) => { }, }; - // 日志配置 + // logger config.logger = { outputJSON: false, appLogName: 'app.log', @@ -59,12 +57,10 @@ export default (appInfo: EggAppInfo) => { errorLogName: 'error.log', }; - // 业务接口domain - config.apiDomain = { - loanDomain: '*', - }; + // business domain + config.apiDomain = {}; - // jsonwebtoken 插件配置 + // jsonwebtoken config.jwt = { secret: '123456', enable: true, @@ -97,22 +93,19 @@ export default (appInfo: EggAppInfo) => { }, }; config.mysql = { - // 单数据库信息配置 client: { // host host: '47.104.172.100', - // 端口号 + // pot port: '3306', - // 用户名 + // userName user: 'root', - // 密码 - password: '123456', - // 数据库名 + // password + password: 'gameTest2020.', + // database name database: 'poker', }, - // 是否加载到 app 上,默认开启 app: true, - // 是否加载到 agent 上,默认关闭 agent: false, }; diff --git a/server/src/config/config.prod.ts b/server/src/config/config.prod.ts index 53cc416..74dfc26 100644 --- a/server/src/config/config.prod.ts +++ b/server/src/config/config.prod.ts @@ -3,23 +3,40 @@ import { Context } from 'midway'; export default () => { const config: PowerPartial = {}; - // 业务接口domain + // business domain config.apiDomain = { - loan: '', }; - // CORS 跨域处理 + // CORS config.cors = { allowMethods: 'GET,HEAD,PUT,POST,DELETE,PATCH,OPTIONS', credentials: true, origin(ctx: Context) { const origin: string = ctx.get('origin'); + console.log(origin, 'orgin'); // 允许*域名访问 - if (origin.indexOf('*') > -1) { + if (origin.indexOf('http://www.jojgame.com') > -1) { + console.log('come in'); return origin; } else { return '*'; } }, }; + config.mysql = { + client: { + // host + host: '47.104.172.100', + // pot + port: '3306', + // userName + user: 'root', + // password + password: 'gameTest2020.', + // database name + database: 'poker', + }, + app: true, + agent: false, + }; return config; }; diff --git a/server/src/config/config.test.ts b/server/src/config/config.test.ts index 3c321ce..1a2fb6b 100644 --- a/server/src/config/config.test.ts +++ b/server/src/config/config.test.ts @@ -2,9 +2,8 @@ import { EggAppConfig, PowerPartial } from 'egg'; export default () => { const config: PowerPartial = {}; - // 业务接口domain + // business domain config.apiDomain = { - loan: '', }; return config; }; diff --git a/server/src/interface/IAccountService.ts b/server/src/interface/IAccountService.ts deleted file mode 100644 index 2551ed7..0000000 --- a/server/src/interface/IAccountService.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IAccountInfo } from './IAccountInfo'; -import { ILoginResult } from './ILoginResult'; - -export interface IAccountService { - login(accountInfo: IAccountInfo): Promise; - authUser(userInfo: IAccountInfo): Promise; - register(accountInfo: IAccountInfo): Promise; -} diff --git a/server/src/interface/ICommandRecord.ts b/server/src/interface/ICommandRecord.ts index a7828d6..2a35543 100644 --- a/server/src/interface/ICommandRecord.ts +++ b/server/src/interface/ICommandRecord.ts @@ -1,7 +1,19 @@ + export interface ICommandRecord { - roomId: string; - gameId: string; + roomNumber: string; + gameId: number; userId: string; type: string; + pot: number; + commonCard: string; + handCard?: string; + gameStatus: number; command: string; + counter: number; +} + +export interface ICommandRecordService { + findById(gid: number): Promise; + findByRoomNumber(gameId: number): Promise; + add(commandRecord: ICommandRecord): Promise; } diff --git a/server/src/interface/IGame.ts b/server/src/interface/IGame.ts index a64aac8..6c40b5a 100644 --- a/server/src/interface/IGame.ts +++ b/server/src/interface/IGame.ts @@ -1,12 +1,16 @@ export interface IGame { - roomId: string; - pot: string; + id?: number; + roomNumber?: string; + pot: number; status: number; commonCard: string; + winners?: string; } export interface IGameService { findById(gid: number): Promise; + findByRoomNumber(roomNumber: number): Promise; add(game: IGame): Promise; + update(game: IGame): Promise; } diff --git a/server/src/interface/IGameRecord.ts b/server/src/interface/IGameRecord.ts deleted file mode 100644 index 94c8af9..0000000 --- a/server/src/interface/IGameRecord.ts +++ /dev/null @@ -1,13 +0,0 @@ -export interface IGameRecord { - room_number: number; - user_id: number; - game_id: number; - hand_cards: string; - buy_in: number; -} - -export interface IGameRecordService { - findById(gid: number): Promise; - - add(gameRecord: IGameRecord): Promise; -} diff --git a/server/src/interface/IGameRoom.ts b/server/src/interface/IGameRoom.ts index 6dbe111..bb0b365 100644 --- a/server/src/interface/IGameRoom.ts +++ b/server/src/interface/IGameRoom.ts @@ -1,11 +1,28 @@ import { PokerGame } from '../app/core/PokerGame'; import { IPlayer } from '../app/core/Player'; +import { ILinkNode } from '../utils/Link'; export interface IGameRoom { number: string; roomInfo: IRoomInfo; } + +export interface ISit { + player: IPlayer; + position: number; +} + +export interface IRoomConfig { + isShort: boolean; + smallBlind: number; + time?: number; +} + export interface IRoomInfo { players: IPlayer[]; + sit: ISit[]; game: PokerGame | null; + sitLink: ILinkNode | null; + gameId?: number; + config: IRoomConfig; } diff --git a/server/src/interface/IPlayer.ts b/server/src/interface/IPlayer.ts new file mode 100644 index 0000000..47805a9 --- /dev/null +++ b/server/src/interface/IPlayer.ts @@ -0,0 +1,14 @@ +export interface IPlayerDTO { + roomNumber: number; + userId: string; + counter: number; + gameId: number; + handCard: string; + buyIn: number; +} + +export interface IPlayerService { + findByRoomNumber(roomNumber: number): Promise; + + add(gameRecord: IPlayerDTO): Promise; +} diff --git a/server/src/interface/IResult.ts b/server/src/interface/IResult.ts index dedf810..0980010 100644 --- a/server/src/interface/IResult.ts +++ b/server/src/interface/IResult.ts @@ -1,7 +1,7 @@ export enum ResultCode { SUCCESS = '000000', - FAILD = '100000', - UNAUTH = '999999', + FAIL = '100000', + ONT_AUTH = '999999', } export interface IResult { diff --git a/server/src/interface/IRoom.ts b/server/src/interface/IRoom.ts index d58ae3d..af28a89 100644 --- a/server/src/interface/IRoom.ts +++ b/server/src/interface/IRoom.ts @@ -1,11 +1,15 @@ export interface IRoom { - roomNumber: string; + roomNumber?: string; + isShort: boolean; + time?: number; + smallBlind: number; } export interface IRoomService { findById(uid: string): Promise; - findByRoomNumber(roomNumber: number): Promise; - add(): Promise; + findRoomNumber(roomNumber: string): Promise; + findByRoomNumber(roomNumber: string): Promise; + add(isShort: boolean, smallBlind: number, time?: number): Promise; // join(roomNumber: string, userName: string): void; // leave(roomNumber: string, message: string): void; } diff --git a/server/src/interface/IUser.ts b/server/src/interface/IUser.ts index 5bcd583..ee8e13e 100644 --- a/server/src/interface/IUser.ts +++ b/server/src/interface/IUser.ts @@ -1,5 +1,5 @@ export interface IUser { - nick_name: string; + nickName: string; account: string; password?: string; id?: string; diff --git a/server/src/interface/service/IAccountService.ts b/server/src/interface/service/IAccountService.ts new file mode 100644 index 0000000..086f4a0 --- /dev/null +++ b/server/src/interface/service/IAccountService.ts @@ -0,0 +1,25 @@ +import { IAccountInfo } from '../IAccountInfo'; +import { ILoginResult } from '../ILoginResult'; + +export interface IAccountService { + /** + * User login + * @param {IAccountInfo} accountInfo - account information + * @returns {Promise} + */ + login(accountInfo: IAccountInfo): Promise; + + /** + * Check user exists + * @param {IAccountInfo} userInfo - user info + * @returns {Promise} + */ + authUser(userInfo: IAccountInfo): Promise; + + /** + * User register + * @param {IAccountInfo} accountInfo - account information + * @returns {Promise} + */ + register(accountInfo: IAccountInfo): Promise; +} diff --git a/server/src/interface/IUserService.ts b/server/src/interface/service/IUserService.ts similarity index 66% rename from server/src/interface/IUserService.ts rename to server/src/interface/service/IUserService.ts index 3f5b88b..6f4cc1b 100644 --- a/server/src/interface/IUserService.ts +++ b/server/src/interface/service/IUserService.ts @@ -1,5 +1,5 @@ -import { IAccountInfo } from './IAccountInfo'; -import { IUser } from './IUser'; +import { IAccountInfo } from '../IAccountInfo'; +import { IUser } from '../IUser'; export interface IUserService { findById(uid: string): Promise; diff --git a/server/src/lib/baseController.ts b/server/src/lib/baseController.ts index 88fea70..d053c08 100644 --- a/server/src/lib/baseController.ts +++ b/server/src/lib/baseController.ts @@ -1,5 +1,4 @@ import { inject, Context } from 'midway'; -// import { IRequestBody } from '../interface/IRequestBody'; import { IResult, ResultCode } from '../interface/IResult'; export default class BaseController { @@ -15,6 +14,7 @@ export default class BaseController { // let params: IRequestBody; // params = this.ctx.request.body.params && JSON.parse(this.ctx.request.body.params) || {}; // console.log(this.ctx.request.body, 'params'); + console.log(this.ctx.request, 'request'); return this.ctx.request; } @@ -36,7 +36,7 @@ export default class BaseController { */ public fail(message: string) { const result: IResult = { - code: ResultCode.FAILD, + code: ResultCode.FAIL, data: {}, message, }; diff --git a/server/src/lib/baseSocketController.ts b/server/src/lib/baseSocketController.ts index 488cb2c..2644ca9 100644 --- a/server/src/lib/baseSocketController.ts +++ b/server/src/lib/baseSocketController.ts @@ -13,54 +13,70 @@ export default class BaseSocketController extends Controller { public jwt: any = this.app.jwt; public message = this.ctx.args[0] || {}; - async getUserInfo() { + protected async getUserInfo() { const { token } = this.query; const user: IPlayer = this.jwt.verify(token) && this.jwt.verify(token).user; return user; } - async getRoomInfo(): Promise { + protected async getRoomInfo(): Promise { const { room } = this.query; const roomInfo = this.gameRooms.find((gr: IGameRoom) => gr.number === room); return roomInfo.roomInfo; } - async updateGameInfo() { - const roomInfo = await this.getRoomInfo(); - this.nsp.adapter.clients([ this.roomNumber ], (err: any, clients: any) => { - if (roomInfo.game && roomInfo.game.status < 6) { - roomInfo.players.forEach(p => { - const currPlayer = roomInfo.game && - roomInfo.game.allPlayer.find(player => player.userId === p.userId); - p.counter = currPlayer && currPlayer.counter || 0; - }); - const gameInfo = { - players: roomInfo.game.allPlayer.map(p => { - const currPlayer = roomInfo.players.find(player => player.userId === p.userId); - p.counter = Number(currPlayer?.buyIn) - p.inPot; - return Object.assign({}, { - counter: p.counter, - actionSize: p.actionSize, - nickName: p.nickName, - type: p.type, - userId: p.userId, - buyIn: currPlayer ? currPlayer.buyIn : 0, - }, {}); - }), - pot: roomInfo.game.pot, - prevSize: roomInfo.game.prevSize, - currPlayer: { - userId: roomInfo.game.currPlayer.node.userId, - }, - }; - // 广播信息 - this.nsp.to(this.roomNumber).emit('online', { + protected adapter(type: string, actionName: string, data: any) { + return new Promise(resolve => { + this.nsp.adapter.clients([ this.roomNumber ], (err: any, clients: any) => { + this.nsp.to(this.roomNumber).emit(type, { clients, - action: 'gameInfo', + action: actionName, target: 'participator', - data: gameInfo, + data, }); - } + resolve(); + }); }); } + + protected async updateGameInfo() { + const roomInfo = await this.getRoomInfo(); + console.log(roomInfo, 'roomInfo ==============================='); + if (roomInfo.game && roomInfo.game.status < 6 || (roomInfo.game?.status === 6 && roomInfo.game.playerSize === 1)) { + roomInfo.players.forEach(p => { + const currPlayer = roomInfo.game && + roomInfo.game.getPlayers().find(player => player.userId === p.userId); + p.counter = currPlayer?.counter || p.counter; + p.type = currPlayer?.type || ''; + p.status = currPlayer ? 1 : p.status === -1 ? -1 : 0; + p.actionCommand = currPlayer && currPlayer.actionCommand || ''; + p.actionSize = currPlayer && currPlayer.actionSize || 0; + }); + console.log(roomInfo.players, + 'roomInfo.players ===============================333'); + const gameInfo = { + players: roomInfo.players.map(p => { + const currPlayer = roomInfo.game?.allPlayer.find( + player => player.userId === p.userId); + return Object.assign({}, { + counter: currPlayer?.counter || p.counter, + actionSize: currPlayer?.actionSize || 0, + actionCommand: currPlayer?.actionCommand || '', + nickName: p.nickName, + type: currPlayer?.type || '', + status: p.status || 0, + userId: p.userId, + buyIn: p.buyIn || 0, + }, {}); + }), + pot: roomInfo.game.pot, + prevSize: roomInfo.game.prevSize, + sitList: roomInfo.sit, + currPlayer: { + userId: roomInfo.game.currPlayer.node.userId, + }, + }; + await this.adapter('online', 'gameInfo', gameInfo); + } + } } diff --git a/server/src/service/account.ts b/server/src/service/account.ts index b52478c..6ddaebc 100644 --- a/server/src/service/account.ts +++ b/server/src/service/account.ts @@ -1,9 +1,9 @@ import BaseService from '../lib/baseService'; import { Context, inject, provide, plugin, config } from 'midway'; import { IAccountInfo } from '../interface/IAccountInfo'; -import { IAccountService } from '../interface/IAccountService'; +import { IAccountService } from '../interface/service/IAccountService'; import { ILoginResult } from '../interface/ILoginResult'; -import { IUserService } from '../interface/IUserService'; +import { IUserService } from '../interface/service/IUserService'; import { IUser } from '../interface/IUser'; @provide('AccountService') @@ -43,9 +43,10 @@ export class AccountService extends BaseService implements IAccountService { return new Promise(async (resolve, reject) => { try { const hasUser = await this.checkHasUser(accountInfo.userAccount); + console.log('accountInfo', hasUser, accountInfo); if (!hasUser) { const result = await this.user.addUser(accountInfo); - if (result.affectedRow === 1) { + if (result.succeed) { resolve('user create successful'); } } else { @@ -72,10 +73,10 @@ export class AccountService extends BaseService implements IAccountService { } private async getToken(userAccount: string) { - const { nick_name, account, id } = await this.user.findByAccount(userAccount); + const { nickName, account, id } = await this.user.findByAccount(userAccount); const token = this.jwt.sign({ user: { - nickName: nick_name, + nickName, account, userId: id, }, diff --git a/server/src/service/commandRecord.ts b/server/src/service/commandRecord.ts new file mode 100644 index 0000000..9ea7757 --- /dev/null +++ b/server/src/service/commandRecord.ts @@ -0,0 +1,46 @@ +import { Context, inject, plugin, provide } from 'midway'; +import { + ICommandRecord, + ICommandRecordService, +} from '../interface/ICommandRecord'; + +@provide('CommandRecordService') +export class CommandRecord implements ICommandRecordService { + + @inject() + ctx: Context; + + @plugin() + mysql: any; + + async add(commandRecord: ICommandRecord) { + const result = await this.mysql.insert('command_record', { + ...commandRecord, + }); + return { succeed: result.affectedRows === 1 }; + } + + async findById(gid: number): Promise { + return await this.mysql.get('game_record', { id: gid }); + } + + async findByRoomNumber(gameId: number): Promise { + const result = await this.mysql.query('SELECT\n' + + '\tcommand_record.counter,\n' + + '\tcommand_record.gameStatus,\n' + + '\tcommand,\n' + + '\thandCard,\n' + + '\ttype,\n' + + '\tcommonCard,\n' + + '\tpot,\n' + + '\tcommand_record.userId,\n' + + '\t`user`.nickName\n' + + 'FROM\n' + + '\tcommand_record\n' + + 'INNER JOIN `user` ON `user`.id = command_record.userId\n' + + 'INNER JOIN player ON player.userId = command_record.userId\n' + + '\twhere command_record.gameId = ? and player.gameId = ?', [ gameId, gameId ]); + console.log(result, '=============command'); + return JSON.parse(JSON.stringify(result)); + } +} diff --git a/server/src/service/game.ts b/server/src/service/game.ts index 866d5ac..5066376 100644 --- a/server/src/service/game.ts +++ b/server/src/service/game.ts @@ -11,12 +11,31 @@ export class GameService implements IGameService { mysql: any; async add(game: IGame) { - return await this.mysql.insert('game', { + console.log('this.mysql', this.mysql); + const gameInfo = await this.mysql.insert('game', { ...game, }); + console.log(gameInfo); + return { succeed: gameInfo.affectedRows === 1, id: gameInfo.insertId }; + } + + async update(game: IGame) { + const gameInfo = await this.mysql.update('game', { + ...game, + }); + console.log(gameInfo); + return { succeed: gameInfo.affectedRows === 1 }; } async findById(gid: number): Promise { return await this.mysql.get('game', { id: gid }); } + + async findByRoomNumber(roomNumber: number): Promise { + const result = await this.mysql.select('game', { + where: { roomNumber }, + }); + console.log(result, 'game -======================'); + return JSON.parse(JSON.stringify(result)); + } } diff --git a/server/src/service/gameRecord.ts b/server/src/service/gameRecord.ts deleted file mode 100644 index 055a8c2..0000000 --- a/server/src/service/gameRecord.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { IGameRecord, IGameRecordService } from '../interface/IGameRecord'; -import { Context, inject, plugin, provide } from 'midway'; - -@provide('GameRecordService') -export class GameRecordService implements IGameRecordService { - - @inject() - ctx: Context; - - @plugin() - mysql: any; - - async add(gameRecord: IGameRecord) { - return await this.mysql.insert('game_record', { - ...gameRecord, - }); - } - - async findById(gid: number): Promise { - return await this.mysql.get('game_record', { id: gid }); - } -} diff --git a/server/src/service/player.ts b/server/src/service/player.ts new file mode 100644 index 0000000..303b108 --- /dev/null +++ b/server/src/service/player.ts @@ -0,0 +1,26 @@ +import { IPlayerDTO, IPlayerService } from '../interface/IPlayer'; +import { Context, inject, plugin, provide } from 'midway'; + +@provide('PlayerRecordService') +export class PlayerService implements IPlayerService { + + @inject() + ctx: Context; + + @plugin() + mysql: any; + + async add(gameRecord: IPlayerDTO) { + return await this.mysql.insert('player', { + ...gameRecord, + }); + } + + async findByRoomNumber(roomNumber: number): Promise { + const result = await this.mysql.select('player', { + where: { roomNumber }, + }); + console.log(result); + return result ? JSON.parse(JSON.stringify(result)) : []; + } +} diff --git a/server/src/service/room.ts b/server/src/service/room.ts index 1d003c9..8437a62 100644 --- a/server/src/service/room.ts +++ b/server/src/service/room.ts @@ -1,9 +1,8 @@ -import BaseService from '../lib/baseService'; import { Context, inject, provide, plugin } from 'midway'; -import { IRoom } from '../interface/IRoom'; +import { IRoom, IRoomService } from '../interface/IRoom'; @provide('RoomService') -export class RoomService extends BaseService { +export default class RoomService implements IRoomService { @inject() ctx: Context; @@ -18,14 +17,28 @@ export class RoomService extends BaseService { return await this.mysql.get('room', { id: uid }); } + async findRoomNumber(roomNumber: string): Promise { + const result = await this.mysql.get('room', { roomNumber }); + return { + isShort: !!result.isShort, + smallBlind: result.smallBlind, + time: result.time, + }; + } + async findByRoomNumber(number: string): Promise { const roomNumber = await this.redis.get(`room:${number}`); return !!roomNumber; } - async add(expires: number = 3600) { + async add(isShort: boolean, smallBlind: number, expires: number = 36000) { const number = Math.floor(Math.random() * (1000000 - 100000)) + 100000; - const result = await this.mysql.insert('room', { room_number: number }); + const result = await this.mysql.insert('room', { + roomNumber: number, + time: expires, + isShort, + smallBlind, + }); const roomRedis = await this.redis.set(`room:${number}`, `${number}`, 'ex', expires); if (result.affectedRows === 1 && roomRedis === 'OK') { return { roomNumber: number }; diff --git a/server/src/service/user.ts b/server/src/service/user.ts index 2aeee50..f011098 100644 --- a/server/src/service/user.ts +++ b/server/src/service/user.ts @@ -1,6 +1,6 @@ import { Context, inject, provide, plugin } from 'midway'; import { IUser } from '../interface/IUser'; -import { IUserService } from '../interface/IUserService'; +import { IUserService } from '../interface/service/IUserService'; import { IAccountInfo } from '../interface/IAccountInfo'; @provide('UserService') @@ -13,19 +13,22 @@ export class UserService implements IUserService { mysql: any; async findById(uid: string): Promise { - return await this.mysql.get('user', { id: uid }); + const user = await this.mysql.get('user', { id: uid }); + return user; } async findByAccount(account: string) { - return await this.mysql.get('user', { account }); + const user = await this.mysql.get('user', { account }); + return user; } async addUser(accountInfo: IAccountInfo): Promise { - return await this.mysql.insert('user', { + const user = await this.mysql.insert('user', { account: accountInfo.userAccount, password: accountInfo.password, - nick_name: accountInfo.nickName, + nickName: accountInfo.nickName, }); + return { succeed: user.affectedRows === 1 }; } } diff --git a/server/test/app/core/pokerGame.test.ts b/server/test/app/core/pokerGame.test.ts index 238e233..31aec87 100644 --- a/server/test/app/core/pokerGame.test.ts +++ b/server/test/app/core/pokerGame.test.ts @@ -1,4 +1,4 @@ -import { PokerGame, EGameStatus } from '../../../src/app/core/PokerGame'; +import { PokerGame } from '../../../src/app/core/PokerGame'; // @ts-ignore import { expect } from 'chai'; import { IPlayer } from '../../../src/app/core/Player'; @@ -7,265 +7,376 @@ describe('test/app/core/pokerGame.test.ts', () => { const users: IPlayer[] = [ { userId: '1', - counter: 200, + counter: 511, nickName: '1', account: '1', socketId: '1', buyIn: 0, reBuy: 0, + actionSize: 0, + actionCommand: '', + status: 0, + type: '', }, { userId: '2', - counter: 400, + counter: 427, nickName: '2', account: '2', socketId: '2', buyIn: 0, reBuy: 0, + actionSize: 0, + actionCommand: '', + status: 0, + type: '', + }, + { + userId: '3', + counter: 730, + nickName: '3', + account: '3', + socketId: '3', + buyIn: 0, + reBuy: 0, + actionSize: 0, + actionCommand: '', + status: 0, + type: '', + }, + { + userId: '4', + counter: 744, + nickName: '4', + account: '4', + socketId: '4', + buyIn: 0, + reBuy: 0, + actionSize: 0, + actionCommand: '', + status: 0, + type: '', }, // { - // userId: '3', - // counter: 50, - // nick_name: '3', - // account: '3', - // socketId: '3', + // userId: '5', + // counter: 802, + // nickName: '5', + // account: '5', + // socketId: '5', + // buyIn: 0, + // reBuy: 0, + // actionSize: 0, + // actionCommand: '', + // status: 0, + // type: '', // }, ]; /** * game ready */ - it('game init', async () => { - const game = new PokerGame({ - smallBlind: 1, - users, - updateCommonCard: () => {}, - gameOverCallBack: () => {}, - }); - game.play(); - expect(game.status).to.equal(EGameStatus.GAME_ACTION); - expect(game.pot).to.equal(3); - expect(game.pot).to.equal(3); - expect(game.playerLink.getNode(1).node.actionSize).to.equal(1); - }); + // it('game init', async () => { + // const game = new PokerGame({ + // smallBlind: 1, + // users, + // actionRoundComplete: () => {}, + // gameOverCallBack: () => {}, + // autoActionCallBack: () => {}, + // }); + // game.play(); + // expect(game.status).to.equal(EGameStatus.GAME_ACTION); + // expect(game.pot).to.equal(3); + // expect(game.pot).to.equal(3); + // // expect(game.playerLink.getNode(1).node.actionSize).to.equal(1); + // }); /** * game playing */ - it('game play', async () => { - const game = new PokerGame({ - smallBlind: 1, - users, - updateCommonCard: () => {}, - gameOverCallBack: () => {}, - }); - game.play(); - game.action('raise:9'); - game.action('call'); - // game.action('call'); - // game.action('call'); - // game.action('call'); - // game.action('check'); - // game.sendCard(); - // game.action('raise:10'); - // game.action('raise:20'); - // game.action('call'); - // game.action('call'); - // game.action('raise:40'); - // game.action('call'); - // game.action('call'); - // game.action('call'); - // game.action('call'); - // game.sendCard(); - // game.action('allin'); - // game.action('allin'); - // game.action('allin'); - // game.action('fold'); - // game.action('allin'); - console.log('cc'); - // game.action('raise:10'); - console.log(game.commonCard); - console.log(game.pot); - console.log(game.getPlayers()); - console.log(game.winner); - // console.log(game.winner[0][0], game.commonCard); - }); - - it('raise check ', async () => { - const game = new PokerGame({ - smallBlind: 1, - users, - updateCommonCard: () => { - if (game.status < 6) { - game.startActionRound(); - game.sendCard(); - } - }, - gameOverCallBack: () => {}, - }); - game.play(); - game.action('raise:9'); - game.action('call'); - game.action('check'); - game.action('check'); - // game.action('raise:10'); - console.log(game.commonCard); - console.log(game.pot); - console.log(game.getPlayers()); - console.log(game.winner); - // console.log(game.winner[0][0], game.commonCard); - }); - - it('raise call raise fold ', async () => { - const game = new PokerGame({ - smallBlind: 1, - users, - updateCommonCard: () => { - if (game.status < 6) { - game.startActionRound(); - game.sendCard(); - } - }, - gameOverCallBack: () => {}, - }); - game.play(); - game.action('raise:9'); - game.action('call'); - // game.action('check'); - // game.action('check'); - game.action('raise:90'); - game.action('fold'); - // game.action('raise:10'); - console.log(game.commonCard); - console.log(game.pot); - console.log(game.getPlayers()); - console.log(game.winner); - // console.log(game.winner[0][0], game.commonCard); - }); - - it('show down', async () => { - const game = new PokerGame({ - smallBlind: 1, - users, - updateCommonCard: () => { - if (game.status < 6) { - game.startActionRound(); - game.sendCard(); - } - }, - gameOverCallBack: () => {}, - }); - game.play(); - // pre flop - game.action('raise:9'); - game.action('call'); - // flop - game.action('raise:90'); - game.action('call'); - // turn - game.action('check'); - game.action('check'); - // river - game.action('raise:90'); - game.action('call'); - // show down - // game.action('raise:10'); - console.log(game.commonCard); - console.log(game.pot); - console.log(game.getPlayers()); - console.log(game.winner); - // console.log(game.winner[0][0], game.commonCard); - }); - - it('all player allin for pre flop', async () => { - const game = new PokerGame({ - smallBlind: 1, - users, - updateCommonCard: () => { - if (game.status < 6) { - game.startActionRound(); - game.sendCard(); - } - }, - gameOverCallBack: () => {}, - }); - game.play(); - // pre flop - game.action('raise:9'); - game.action('allin'); - game.action('allin'); - // game over - // game.action('raise:10'); - console.log(game.commonCard); - console.log(game.pot); - console.log(game.getPlayers()); - console.log(game.winner); - // console.log(game.winner[0][0], game.commonCard); - }); - + // it('game play', async () => { + // const game = new PokerGame({ + // smallBlind: 1, + // users, + // actionRoundComplete: () => {}, + // gameOverCallBack: () => {}, + // autoActionCallBack: () => {}, + // }); + // game.play(); + // game.action('fold'); + // }); + // + // it('raise check ', async () => { + // const game = new PokerGame({ + // smallBlind: 1, + // users, + // actionRoundComplete: () => { + // if (game.status < 6) { + // game.startActionRound(); + // game.sendCard(); + // } + // }, + // gameOverCallBack: () => {}, + // autoActionCallBack: () => {}, + // }); + // game.play(); + // game.action('raise:9'); + // game.action('call'); + // game.action('check'); + // game.action('check'); + // // game.action('raise:10'); + // // console.log(game.commonCard); + // // console.log(game.pot); + // // console.log(game.getPlayers()); + // // console.log(game.winner); + // // console.log(game.winner[0][0], game.commonCard); + // }); + // + // it('raise call raise fold ', async () => { + // const game = new PokerGame({ + // smallBlind: 1, + // users, + // actionRoundComplete: () => { + // if (game.status < 6) { + // game.startActionRound(); + // game.sendCard(); + // } + // }, + // gameOverCallBack: () => {}, + // autoActionCallBack: () => {}, + // }); + // game.play(); + // game.action('raise:9'); + // game.action('call'); + // // game.action('check'); + // // game.action('check'); + // game.action('raise:90'); + // game.action('fold'); + // // game.action('raise:10'); + // // console.log(game.commonCard); + // // console.log(game.pot); + // // console.log(game.getPlayers()); + // // console.log(game.winner); + // // console.log(game.winner[0][0], game.commonCard); + // }); + // + // it('show down', async () => { + // const game = new PokerGame({ + // smallBlind: 1, + // users, + // actionRoundComplete: () => { + // if (game.status < 6) { + // game.startActionRound(); + // game.sendCard(); + // } + // }, + // gameOverCallBack: () => {}, + // autoActionCallBack: () => {}, + // }); + // game.play(); + // // pre flop + // game.action('raise:9'); + // game.action('call'); + // // flop + // game.action('raise:90'); + // game.action('call'); + // // turn + // game.action('check'); + // game.action('check'); + // // river + // game.action('raise:90'); + // game.action('call'); + // // show down + // // game.action('raise:10'); + // // console.log(game.commonCard); + // // console.log(game.pot); + // // console.log(game.getPlayers()); + // // console.log(game.winner); + // // console.log(game.winner[0][0], game.commonCard); + // }); + // + // it('all player allin for pre flop', async () => { + // const game = new PokerGame({ + // smallBlind: 1, + // users, + // actionRoundComplete: () => { + // if (game.status < 6) { + // game.startActionRound(); + // game.sendCard(); + // } + // }, + // gameOverCallBack: () => {}, + // autoActionCallBack: () => {}, + // }); + // game.play(); + // // pre flop + // game.action('raise:9'); + // game.action('allin'); + // game.action('allin'); + // // game over + // // game.action('raise:10'); + // // console.log('all player ------commonCard', game.commonCard); + // // console.log('all player ------pot', game.pot); + // // console.log('all player ------getPlayers', game.getPlayers()); + // // console.log('all player ------winner', game.winner); + // // console.log(game.winner[0][0], game.commonCard); + // }); + // it('one player allin', async () => { const game = new PokerGame({ smallBlind: 1, + isShort: false, users, - updateCommonCard: () => { + actionRoundComplete: () => { if (game.status < 6) { game.startActionRound(); game.sendCard(); } }, gameOverCallBack: () => {}, + autoActionCallBack: () => {}, }); game.play(); // pre flop - game.action('raise:9'); - game.action('call'); - game.action('raise: 9'); - game.action('raise: 18'); - game.action('raise: 200'); - game.action('allin'); + console.log('curr----------------------------1', game.currPlayer); + // game.action('fold'); // utg + // console.log('curr----------------------------2', game.currPlayer); + game.action('raise:6'); // co + game.action('call'); // D + game.action('call'); // sb + game.action('call'); // sb + game.action('check'); // bb + game.action('raise:12'); // d + game.action('call'); // bb + game.action('call'); // bb + + // game.action('call'); // bb + game.action('fold'); // sb + game.action('check'); // bb + game.action('check'); // bb + game.action('raise:30'); // bb + game.action('raise:90'); // bb + game.action('fold'); // sb + game.action('raise:180'); // bb + game.action('raise:360'); // bb + game.action('allin'); // bb + game.action('allin'); // bb + // game.action('fold'); // bb + // console.log(game.pot, 'pot1'); + + // game.action('check'); // bb + // game.action('fold'); // sb + // game.action('fold'); // bb + // game.action('check'); // bb + // game.action('raise:30'); // bb + // console.log(game.pot, 'pot'); + // game.action('call'); // bb + // game.action('check'); // bb + // game.action('allin'); // bb + // game.action('allin'); // bb + // game.action('fold'); // bb + console.log(game.winner); + console.log(game.pot, 'pot2'); + // // console.log('curr----------------------------3', game.currPlayer); + // game.action('check'); // BB 200 + // game.action('check'); // utg + // game.action('raise:20'); // d + // game.action('call'); // sb + // game.action('fold'); // bb + // game.action('fold'); // utg + // game.action('allin'); // sb + + // console.log('curr----------------------------4', game.currPlayer); + // game.action('raise:20'); // bb 1000 + // console.log('curr----------------------------1', game.currPlayer); + // game.action('call'); // utg + // game.action('fold'); // sb + // game.action('call'); // bb // game over // game.action('raise:10'); console.log(game.commonCard); - console.log(game.pot); + console.log(game.slidePots, 'slidePots'); console.log(game.getPlayers()); console.log(game.winner); - // console.log(game.winner[0][0], game.commonCard); }); - - - // flop - // turn - // river - // chip in - // has Allin need separate pot - // many allin - - /** - * game over - */ - it('game over', async () => { - // only one player - // last player, other player fold - - // multiple player - // last player, has all in player - // all player all in - // one player all in - // many player all in - - // winner - // one winner - // multiple winner - // bisecting pot - // allin player winner and small pot, multiple second winner bisecting pot - // allin player winner and small pot, one second winner - // all player allin, winner can't win all pot, - }); - /** - * count - */ - it('count', async () => { - - }); - // has other pot + // + // it('player fold pre flop', async () => { + // const game = new PokerGame({ + // smallBlind: 1, + // users, + // actionRoundComplete: () => { + // if (game.status < 6) { + // game.startActionRound(); + // game.sendCard(); + // } + // }, + // gameOverCallBack: () => {}, + // autoActionCallBack: () => {}, + // }); + // game.play(); + // // pre flop + // game.action('fold'); + // // game over + // // game.action('raise:10'); + // // console.log(game.commonCard); + // // console.log(game.pot); + // // console.log(game.getPlayers()); + // // console.log(game.winner); + // // console.log(game.winner[0][0], game.commonCard); + // }); + // // flop + // // turn + // // river + // // chip in + // // has Allin need separate pot + // // many allin + // + // /** + // * game over + // */ + // it('game over', async () => { + // const game = new PokerGame({ + // smallBlind: 1, + // users, + // actionRoundComplete: () => { + // if (game.status < 6) { + // game.startActionRound(); + // game.sendCard(); + // } + // }, + // gameOverCallBack: () => {}, + // autoActionCallBack: () => {}, + // }); + // game.play(); + // game.action('raise:10'); + // game.action('allin'); + // game.action('fold'); + // + // // console.log('game over----------- common', game.commonCard); + // // console.log(game.pot); + // // console.log(game.getPlayers()); + // // console.log(game.winner); + // // only one player + // // last player, other player fold + // + // // multiple player + // // last player, has all in player + // // all player all in + // // one player all in + // // many player all in + // + // // winner + // // one winner + // // multiple winner + // // bisecting pot + // // allin player winner and small pot, multiple second winner bisecting pot + // // allin player winner and small pot, one second winner + // // all player allin, winner can't win all pot, + // }); + // /** + // * count + // */ + // it('count', async () => { + // + // }); + // // has other pot }); diff --git a/server/test/app/core/pokerStyle.test.ts b/server/test/app/core/pokerStyle.test.ts index a200d33..911c0cf 100644 --- a/server/test/app/core/pokerStyle.test.ts +++ b/server/test/app/core/pokerStyle.test.ts @@ -5,41 +5,65 @@ const assert = require('assert'); describe('test/app/core/pokerStyle.test.ts', () => { it('Royal Flush', async () => { let pokerStyle: PokerStyle = new PokerStyle(['i1','j1', 'k1', 'l1', 'm1', 'a2', 'a4']) - // console.log(pokerStyle) - assert.strictEqual(pokerStyle.getPokerWeight() , '1000000000') + console.log('getPokerValueCard', pokerStyle.getPokerValueCard()) + assert.strictEqual(pokerStyle.getPokerWeight() , 'ijklm000000000') }); it('straight flush', async () => { let pokerStyle: PokerStyle = new PokerStyle(['a1','b1', 'c1', 'd1', 'e1', 'a2', 'a4']) // console.log(pokerStyle) - assert.strictEqual(pokerStyle.getPokerWeight() , '0a00000000') + console.log('getPokerValueCard', pokerStyle.getPokerValueCard()) + assert.strictEqual(pokerStyle.getPokerWeight() , '0edcba00000000') }); it('four of kind', async () => { let pokerStyle: PokerStyle = new PokerStyle(['a1','b2', 'a3', 'b4', 'd1', 'a2', 'a4']) + console.log('getPokerValueCard', pokerStyle.getPokerValueCard()) assert.strictEqual(pokerStyle.getPokerWeight() , '00ad0000000') }); // it('full house', async () => { let pokerStyle: PokerStyle = new PokerStyle(['a1','b2', 'c3', 'b4', 'd1', 'a2', 'b3']) + console.log('getPokerValueCard', pokerStyle.getPokerValueCard()) assert.strictEqual(pokerStyle.getPokerWeight(), '000ba000000'); }); it('two full house', async () => { let pokerStyle: PokerStyle = new PokerStyle(['a1','b2', 'a3', 'b4', 'd1', 'a2', 'b3']) + console.log('getPokerValueCard', pokerStyle.getPokerValueCard()) assert.strictEqual(pokerStyle.getPokerWeight() , '000ba000000') }); + it('flush', async () => { + let pokerStyle: PokerStyle = new PokerStyle(['m1','b1', 'k2', 'e1', 'f1', 'i1', 'k1']) + console.log('getPokerValueCard', pokerStyle.getPokerValueCard()) + assert.strictEqual(pokerStyle.getPokerWeight() , '0000mkife00000') + }); it('straight', async () => { let pokerStyle: PokerStyle = new PokerStyle(['a1','c2', 'e3', 'b4', 'd1', 'g2', 'm3']) - assert.strictEqual(pokerStyle.getPokerWeight() , '00000a0000') + console.log('getPokerValueCard', pokerStyle.getPokerValueCard()) + assert.strictEqual(pokerStyle.getPokerWeight() , '00000abcde0000') }); it('tow pairs to tow full house', async () => { let pokerStyle: PokerStyle = new PokerStyle(['a1','b2', 'a3', 'b4', 'd1', 'd2', 'b3']) + console.log('getPokerValueCard', pokerStyle.getPokerValueCard()) assert.strictEqual(pokerStyle.getPokerWeight() , '000bd000000') }); it('tow pairs', async () => { let pokerStyle: PokerStyle = new PokerStyle(['a1','c2', 'd3', 'b4', 'f1', 'a2', 'c3']) + console.log('getPokerValueCard', pokerStyle.getPokerValueCard()) assert.strictEqual(pokerStyle.getPokerWeight() , '0000000caf00') }); + it('pairs', async () => { + let pokerStyle: PokerStyle = new PokerStyle(['k1','c2', 'd3', 'b4', 'f1', 'a2', 'c3']) + console.log('getPokerValueCard', pokerStyle.getPokerValueCard()) + assert.strictEqual(pokerStyle.getPokerWeight() , '00000000ckfd0') + }); it('high card', async () => { let pokerStyle: PokerStyle = new PokerStyle(['a1','i2', 'e3', 'b4', 'd1', 'g2', 'm3']) + console.log('getPokerValueCard', pokerStyle.getPokerValueCard()) assert.strictEqual(pokerStyle.getPokerWeight() , '000000000miged') }); + it('compare card', async () => { + let pokerStyle: PokerStyle = new PokerStyle(['e2','f3','g2','h4','k3', 'm1', 'l1'], true) + let pokerStyle2: PokerStyle = new PokerStyle(['e2','f3','g2','h4','k3','l1', 'i2'], true) + console.log('getPokerValueCard', pokerStyle.getPokerValueCard()) + assert.strictEqual(pokerStyle.getPokerWeight() , pokerStyle2.getPokerWeight()) + }); }); diff --git a/server/test/utils/link.test.ts b/server/test/utils/link.test.ts index b616b1a..9e7b003 100644 --- a/server/test/utils/link.test.ts +++ b/server/test/utils/link.test.ts @@ -1,23 +1,23 @@ -import { Link } from '../../src/utils/Link'; -import { Player } from '../../src/app/core/Player'; - -describe('test/utils/link.test.ts', () => { - it('link', async () => { - const person1 = new Player({ - buyIn: 0, - counter: 1, position: 1, userId: '1', socketId: '', account: '', nickName: '' }); - const person2 = new Player({ - buyIn: 0, - counter: 2, position: 2, userId: '2', socketId: '', account: '', nickName: '' }); - const person3 = new Player({ - buyIn: 0, - counter: 2, position: 3, userId: '3', socketId: '', account: '', nickName: '' }); - const person4 = new Player({ - buyIn: 0, - counter: 2, position: 4, userId: '4', socketId: '', account: '', nickName: '' }); - // const person5 = new Player({ counter: 2, position: 5, userId: '5' }); - const link = new Link([ person1, person2, person3, person4 ], false); - console.log(link.removeNode(0)); - }); - -}); +// import { Link } from '../../src/utils/Link'; +// import { Player } from '../../src/app/core/Player'; +// +// describe('test/utils/link.test.ts', () => { +// it('link', async () => { +// const person1 = new Player({ +// buyIn: 0, +// counter: 1, position: 1, userId: '1', socketId: '', account: '', nickName: '' }); +// const person2 = new Player({ +// buyIn: 0, +// counter: 2, position: 2, userId: '2', socketId: '', account: '', nickName: '' }); +// const person3 = new Player({ +// buyIn: 0, +// counter: 2, position: 3, userId: '3', socketId: '', account: '', nickName: '' }); +// const person4 = new Player({ +// buyIn: 0, +// counter: 2, position: 4, userId: '4', socketId: '', account: '', nickName: '' }); +// // const person5 = new Player({ counter: 2, position: 5, userId: '5' }); +// const link = new Link([ person1, person2, person3, person4 ], false); +// console.log(link.removeNode(0)); +// }); +// +// });