client ui
This commit is contained in:
+2
-2
@@ -35,8 +35,8 @@ export default class App extends Vue {}
|
||||
margin: 10px;
|
||||
.input-name{
|
||||
display: inline-block;
|
||||
width: 100px;
|
||||
text-align: right;
|
||||
width: 150px;
|
||||
text-align: center;
|
||||
}
|
||||
.input-text{
|
||||
display: inline-block;
|
||||
|
||||
@@ -1,76 +1,76 @@
|
||||
<template>
|
||||
<div class="buy-in" v-show="showBuyIn">
|
||||
<div class="shadow" @click="closeBuyIn"></div>
|
||||
<div class="buy-in-body">
|
||||
<div class="input-bd">
|
||||
<div class="input-name">buy in: {{buyInSize}}</div>
|
||||
<range :max="1000" :min="200" @change="getBuyInSize"></range>
|
||||
</div>
|
||||
<div class="btn"><span @click="buyIn">buy in</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import {Component, Prop, Vue} from 'vue-property-decorator';
|
||||
import range from '../components/range.vue';
|
||||
|
||||
@Component({
|
||||
components: {
|
||||
range,
|
||||
},
|
||||
})
|
||||
export default class BuyIn extends Vue {
|
||||
@Prop() private showBuyIn!: boolean;
|
||||
private buyInSize: number = 0;
|
||||
|
||||
private getBuyInSize(val: string) {
|
||||
this.buyInSize = Number(val);
|
||||
}
|
||||
private closeBuyIn() {
|
||||
this.$emit('update:showBuyIn', false);
|
||||
}
|
||||
private async buyIn() {
|
||||
this.closeBuyIn();
|
||||
this.$emit('buyIn', this.buyInSize)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped lang="less">
|
||||
.buy-in {
|
||||
position: fixed;
|
||||
z-index: 99;
|
||||
.shadow {
|
||||
position: fixed;
|
||||
z-index: 9;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.buy-in-body {
|
||||
z-index: 99;
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
margin: -100px -150px;
|
||||
width: 300px;
|
||||
height: 150px;
|
||||
border-radius: 12px;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.input-text {
|
||||
input {
|
||||
width: 100px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
<template>
|
||||
<div class="buy-in" v-show="showBuyIn">
|
||||
<div class="shadow" @click="closeBuyIn"></div>
|
||||
<div class="buy-in-body">
|
||||
<div class="input-bd">
|
||||
<div class="input-name">buy in: {{buyInSize}}</div>
|
||||
<range :max="1000" :min="200" @change="getBuyInSize"></range>
|
||||
</div>
|
||||
<div class="btn"><span @click="buyIn">buy in</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import {Component, Prop, Vue} from 'vue-property-decorator';
|
||||
import range from '../components/range.vue';
|
||||
|
||||
@Component({
|
||||
components: {
|
||||
range,
|
||||
},
|
||||
})
|
||||
export default class BuyIn extends Vue {
|
||||
@Prop() private showBuyIn!: boolean;
|
||||
private buyInSize: number = 0;
|
||||
|
||||
private getBuyInSize(val: string) {
|
||||
this.buyInSize = Number(val);
|
||||
}
|
||||
private closeBuyIn() {
|
||||
this.$emit('update:showBuyIn', false);
|
||||
}
|
||||
private async buyIn() {
|
||||
this.closeBuyIn();
|
||||
this.$emit('buyIn', this.buyInSize)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped lang="less">
|
||||
.buy-in {
|
||||
position: fixed;
|
||||
z-index: 99;
|
||||
.shadow {
|
||||
position: fixed;
|
||||
z-index: 9;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.buy-in-body {
|
||||
z-index: 99;
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
margin: -100px -150px;
|
||||
width: 300px;
|
||||
height: 150px;
|
||||
border-radius: 12px;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.input-text {
|
||||
input {
|
||||
width: 100px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
@@ -28,8 +28,10 @@
|
||||
<div class="type" v-show="sit.player.type">
|
||||
{{ sit.player.type }}
|
||||
</div>
|
||||
<div class="hand-card" v-show="sit.player.handCard">
|
||||
{{ sit.player.handCard }}
|
||||
<div class="hand-card" v-show="sit.player.userId !== currPlayer.userId
|
||||
&& sit.player.handCard
|
||||
&& sit.player.handCard.length !== 0">
|
||||
<cardList :cardList="mapCard(sit.player.handCard)"></cardList>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cards" v-show="showHandCard(sit)">
|
||||
@@ -39,10 +41,14 @@
|
||||
<div class="ready" v-show="handCard.length === 0">ready</div>
|
||||
<div class="card-style"></div>
|
||||
</div>
|
||||
<div class="win" v-show="sit.player.income">
|
||||
<!-- <span>win!</span>-->
|
||||
<span>{{`+${sit.player.income}`}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<BuyIn :show-buy-in.sync="showBuyIn" @buyIn = 'buyIn'></BuyIn>
|
||||
<BuyIn :showBuyIn.sync="showBuyIn" @buyIn = 'buyIn'></BuyIn>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -53,6 +59,9 @@ import {ILinkNode} from '@/utils/Link';
|
||||
import ISit from '@/interface/ISit';
|
||||
import cardList from './cardList.vue';
|
||||
import BuyIn from '@/components/BuyIn.vue';
|
||||
import { PokerStyle } from '../utils/PokerStyle'
|
||||
import map from '../utils/map'
|
||||
|
||||
|
||||
@Component({
|
||||
components: {
|
||||
@@ -65,6 +74,7 @@ export default class SitList extends Vue {
|
||||
@Prop() private currPlayer!: IPlayer;
|
||||
@Prop() private sitLink!: ILinkNode<ISit>;
|
||||
@Prop() private handCard!: string[];
|
||||
@Prop() private winner!: IPlayer[][];
|
||||
@Prop() private isPlay!:boolean;
|
||||
private sitLinkNode: any = '';
|
||||
private showBuyIn = false;
|
||||
@@ -85,9 +95,39 @@ export default class SitList extends Vue {
|
||||
return sit.player?.userId === this.currPlayer?.userId;
|
||||
}
|
||||
|
||||
private getPokeStyle() {
|
||||
|
||||
}
|
||||
|
||||
private mapCard(cards: string[]) {
|
||||
return map(cards)
|
||||
}
|
||||
|
||||
// private showWinner(sit:ISit) {
|
||||
// let isWinner = false;
|
||||
// for(let i = 0; i < this.winner.length; i++) {
|
||||
// if(!!this.winner[i].find((w:IPlayer) => w.userId === sit.player?.userId)) {
|
||||
// isWinner = true;
|
||||
// return isWinner;
|
||||
// }
|
||||
// }
|
||||
// return isWinner
|
||||
// }
|
||||
//
|
||||
// private getIncome(sit:ISit) {
|
||||
// let income: number = 0;
|
||||
// for(let i = 0; i < this.winner.length; i++) {
|
||||
// const win = this.winner[i].find((w:IPlayer) => w.userId === sit.player?.userId);
|
||||
// if(!!win) {
|
||||
// income = Number(win.income);
|
||||
// }
|
||||
// }
|
||||
// return income
|
||||
// }
|
||||
|
||||
private sitDown(sit: ISit) {
|
||||
if (!sit.player && !this.isPlay) {
|
||||
console.log('ccc', sit.position);
|
||||
console.log('ccc2', this.currPlayer);
|
||||
if (this.currPlayer.counter <= 0) {
|
||||
this.showBuyIn = true;
|
||||
this.currSit = sit;
|
||||
@@ -346,6 +386,28 @@ export default class SitList extends Vue {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
.win{
|
||||
position: absolute;
|
||||
z-index: 8;
|
||||
left: 0;
|
||||
top: 4vh;
|
||||
font-size: 20px;
|
||||
color: #ffd100;
|
||||
font-family: fantasy;
|
||||
font-weight: 600;
|
||||
animation: fadeOut 2s forwards;
|
||||
background-image: linear-gradient(to top, rgba(0,0,0,0.1), rgba(0,0,0,0));
|
||||
}
|
||||
}
|
||||
}
|
||||
@-webkit-keyframes fadeOut /* Safari 与 Chrome */ {
|
||||
from {
|
||||
transform: translate3d(2px,0,0);
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
transform: translate3d(10px,0,0);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+161
-161
@@ -1,161 +1,161 @@
|
||||
<template>
|
||||
<div class="card-container">
|
||||
<div
|
||||
class="card"
|
||||
v-for="(card, key) in cardList"
|
||||
v-bind:class="{ show: show, turn: show && card.length !== 0 }"
|
||||
>
|
||||
<i></i>
|
||||
<span class="card-bg" :class="[isBlack(card[1]) ? 'black' : 'red']">
|
||||
<b class="number">{{ card[0] }}</b>
|
||||
<b class="color">{{ card[1] }}</b>
|
||||
<b class="color big">{{ card[1] }}</b>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import {Component, Prop, Vue} from 'vue-property-decorator';
|
||||
|
||||
@Component
|
||||
export default class Card extends Vue {
|
||||
@Prop() private cardList: any;
|
||||
|
||||
get show() {
|
||||
return this.cardList[0].length !== 0;
|
||||
}
|
||||
|
||||
private isBlack(type: string) {
|
||||
return type === '♠' || type === '♣';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped lang="less">
|
||||
.card-container {
|
||||
.card {
|
||||
height: 60px;
|
||||
width: 40px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
transform-style: preserve-3d;
|
||||
opacity: 0;
|
||||
border-radius: 5px;
|
||||
z-index: 8;
|
||||
i {
|
||||
background: url("../assets/poke.png");
|
||||
height: 60px;
|
||||
width: 40px;
|
||||
background-size: 100% 100%;
|
||||
transform: rotateY(0deg) translate3d(0px, 0px, 0px);
|
||||
backface-visibility: hidden;
|
||||
position: absolute;
|
||||
border-radius: 5px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.card-bg {
|
||||
/*background: url("../assets/poke-icon.png");*/
|
||||
background-size: 100% 100%;
|
||||
height: 60px;
|
||||
width: 40px;
|
||||
border-radius: 5px;
|
||||
background-color: #fff;
|
||||
transform: rotateY(180deg) translate3d(0px, 0px, 0px);
|
||||
backface-visibility: hidden;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
z-index: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
transform-style: preserve-3d;
|
||||
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
|
||||
|
||||
&.red {
|
||||
color: #e8050a;
|
||||
}
|
||||
|
||||
&.black {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.number {
|
||||
text-align: left;
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
font-size: 16px;
|
||||
line-height: 25px;
|
||||
font-family: initial;
|
||||
}
|
||||
|
||||
.color {
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
top: -2px;
|
||||
font-size: 20px;
|
||||
line-height: 60px;
|
||||
&.big{
|
||||
left: 15px;
|
||||
font-size: 35px;
|
||||
top:12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.show {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
transition: left 1s;
|
||||
}
|
||||
|
||||
&.turn {
|
||||
animation: turnA 1s forwards;
|
||||
animation-delay: 1s;
|
||||
}
|
||||
|
||||
&:nth-child(1) {
|
||||
&.show {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(2) {
|
||||
&.show {
|
||||
left: 44px;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(3) {
|
||||
&.show {
|
||||
left: 44 * 2px;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(4) {
|
||||
&.show {
|
||||
left: 44 * 3px;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(5) {
|
||||
&.show {
|
||||
left: 44 * 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes turnA /* Safari 与 Chrome */ {
|
||||
from {
|
||||
transform: rotateY(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotateY(-180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<div class="card-container">
|
||||
<div
|
||||
class="card"
|
||||
v-for="(card, key) in cardList"
|
||||
v-bind:class="{ show: show, turn: show && card.length !== 0 }"
|
||||
>
|
||||
<i></i>
|
||||
<span class="card-bg" :class="[isBlack(card[1]) ? 'black' : 'red']">
|
||||
<b class="number">{{ card[0] }}</b>
|
||||
<b class="color">{{ card[1] }}</b>
|
||||
<b class="color big">{{ card[1] }}</b>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import {Component, Prop, Vue} from 'vue-property-decorator';
|
||||
|
||||
@Component
|
||||
export default class Card extends Vue {
|
||||
@Prop() private cardList: any;
|
||||
|
||||
get show() {
|
||||
return this.cardList[0].length !== 0;
|
||||
}
|
||||
|
||||
private isBlack(type: string) {
|
||||
return type === '♠' || type === '♣';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped lang="less">
|
||||
.card-container {
|
||||
.card {
|
||||
height: 60px;
|
||||
width: 40px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
transform-style: preserve-3d;
|
||||
opacity: 0;
|
||||
border-radius: 5px;
|
||||
z-index: 8;
|
||||
i {
|
||||
background: url("../assets/poke.png");
|
||||
height: 60px;
|
||||
width: 40px;
|
||||
background-size: 100% 100%;
|
||||
transform: rotateY(0deg) translate3d(0px, 0px, 0px);
|
||||
backface-visibility: hidden;
|
||||
position: absolute;
|
||||
border-radius: 5px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.card-bg {
|
||||
/*background: url("../assets/poke-icon.png");*/
|
||||
background-size: 100% 100%;
|
||||
height: 60px;
|
||||
width: 40px;
|
||||
border-radius: 5px;
|
||||
background-color: #fff;
|
||||
transform: rotateY(180deg) translate3d(0px, 0px, 0px);
|
||||
backface-visibility: hidden;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
z-index: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
transform-style: preserve-3d;
|
||||
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
|
||||
|
||||
&.red {
|
||||
color: #e8050a;
|
||||
}
|
||||
|
||||
&.black {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.number {
|
||||
text-align: left;
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
font-size: 16px;
|
||||
line-height: 25px;
|
||||
font-family: initial;
|
||||
}
|
||||
|
||||
.color {
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
top: -2px;
|
||||
font-size: 20px;
|
||||
line-height: 60px;
|
||||
&.big{
|
||||
left: 15px;
|
||||
font-size: 35px;
|
||||
top:12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.show {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
transition: left 1s;
|
||||
}
|
||||
|
||||
&.turn {
|
||||
animation: turnA 1s forwards;
|
||||
animation-delay: 1s;
|
||||
}
|
||||
|
||||
&:nth-child(1) {
|
||||
&.show {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(2) {
|
||||
&.show {
|
||||
left: 44px;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(3) {
|
||||
&.show {
|
||||
left: 44 * 2px;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(4) {
|
||||
&.show {
|
||||
left: 44 * 3px;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(5) {
|
||||
&.show {
|
||||
left: 44 * 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes turnA /* Safari 与 Chrome */ {
|
||||
from {
|
||||
transform: rotateY(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotateY(-180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -1,71 +1,71 @@
|
||||
<template>
|
||||
<div class="slide-bar-container">
|
||||
<!-- <div class="value">{{raiseSize}}</div>-->
|
||||
<div class="range-body">
|
||||
<input type="range" v-model="range":class="{horizontal: !!isHorizontal}">
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import {Component, Prop, Vue, Watch} from 'vue-property-decorator';
|
||||
|
||||
@Component
|
||||
export default class Range extends Vue {
|
||||
@Prop({ type: Number, default: 1000 }) private max!: number;
|
||||
@Prop({ type: Number, default: 100 }) private min!: number;
|
||||
@Prop({ type: Boolean, default: false }) private isHorizontal!: boolean;
|
||||
private range = 0;
|
||||
|
||||
@Watch('range')
|
||||
private raiseSize(val:string) {
|
||||
const valNum = Number(val);
|
||||
const size = Number(val) === 0 ?
|
||||
this.min : Math.floor(valNum / 100 * (this.max - this.min)) + this.min;
|
||||
console.log('size', size)
|
||||
this.$emit('change', size)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped lang="less">
|
||||
.slide-bar-container {
|
||||
background-color: #fff;
|
||||
.range-body{
|
||||
line-height: 10px;
|
||||
}
|
||||
.value{
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
input[type=range] {
|
||||
-webkit-appearance: none;
|
||||
width: 200px;
|
||||
border-radius: 10px; /*这个属性设置使填充进度条时的图形为圆角*/
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
&.horizontal{
|
||||
transform: rotateZ(-90deg) translate3d(-50%,0,0);
|
||||
transform-origin: center;
|
||||
}
|
||||
}
|
||||
input[type=range]:focus {
|
||||
outline: none;
|
||||
}
|
||||
input[type=range]::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
margin-top: -12px; /*使滑块超出轨道部分的偏移量相等*/
|
||||
background: #ffffff;
|
||||
border-radius: 50%; /*外观设置为圆形*/
|
||||
border: solid 0.125em rgba(205, 224, 230, 0.5); /*设置边框*/
|
||||
box-shadow: 0 .125em .125em #3b4547; /*添加底部阴影*/
|
||||
}
|
||||
input[type=range]::-webkit-slider-runnable-track {
|
||||
height: 6px;
|
||||
border-radius: 10px; /*将轨道设为圆角的*/
|
||||
box-shadow: 0 1px 1px #def3f8, inset 0 .125em .125em #0d1112; /*轨道内置阴影效果*/
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<div class="slide-bar-container">
|
||||
<!-- <div class="value">{{raiseSize}}</div>-->
|
||||
<div class="range-body">
|
||||
<input type="range" v-model="range":class="{horizontal: !!isHorizontal}">
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import {Component, Prop, Vue, Watch} from 'vue-property-decorator';
|
||||
|
||||
@Component
|
||||
export default class Range extends Vue {
|
||||
@Prop({ type: Number, default: 1000 }) private max!: number;
|
||||
@Prop({ type: Number, default: 100 }) private min!: number;
|
||||
@Prop({ type: Boolean, default: false }) private isHorizontal!: boolean;
|
||||
private range = 0;
|
||||
|
||||
@Watch('range')
|
||||
private raiseSize(val:string) {
|
||||
const valNum = Number(val);
|
||||
const size = Number(val) === 0 ?
|
||||
this.min : Math.floor(valNum / 100 * (this.max - this.min)) + this.min;
|
||||
console.log('size', size)
|
||||
this.$emit('change', size)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped lang="less">
|
||||
.slide-bar-container {
|
||||
.range-body{
|
||||
line-height: 10px;
|
||||
}
|
||||
.value{
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
input[type=range] {
|
||||
-webkit-appearance: none;
|
||||
width: 200px;
|
||||
border-radius: 10px; /*这个属性设置使填充进度条时的图形为圆角*/
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
&.horizontal{
|
||||
transform: rotateZ(-90deg) translate3d(-50%,0,0);
|
||||
transform-origin: center;
|
||||
margin-left: -8px;
|
||||
}
|
||||
}
|
||||
input[type=range]:focus {
|
||||
outline: none;
|
||||
}
|
||||
input[type=range]::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
margin-top: -12px; /*使滑块超出轨道部分的偏移量相等*/
|
||||
background: #ffffff;
|
||||
border-radius: 50%; /*外观设置为圆形*/
|
||||
border: solid 0.125em rgba(205, 224, 230, 0.5); /*设置边框*/
|
||||
box-shadow: 0 .125em .125em #3b4547; /*添加底部阴影*/
|
||||
}
|
||||
input[type=range]::-webkit-slider-runnable-track {
|
||||
height: 6px;
|
||||
border-radius: 10px; /*将轨道设为圆角的*/
|
||||
box-shadow: 0 1px 1px #def3f8, inset 0 .125em .125em #0d1112; /*轨道内置阴影效果*/
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -14,4 +14,5 @@ export interface IPlayer {
|
||||
handCard?: string[];
|
||||
buyIn: number;
|
||||
status: number;
|
||||
income?: number;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IPlayer } from '@/interface/IPlayer';
|
||||
|
||||
export default interface ISit {
|
||||
player: IPlayer | null;
|
||||
position: number;
|
||||
}
|
||||
import { IPlayer } from '@/interface/IPlayer';
|
||||
|
||||
export default interface ISit {
|
||||
player: IPlayer | null;
|
||||
position: number;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export interface IUser {
|
||||
nickName: string;
|
||||
counter: number;
|
||||
userId?: number;
|
||||
buyIn: number;
|
||||
account: string;
|
||||
}
|
||||
export interface IUser {
|
||||
nickName: string;
|
||||
counter: number;
|
||||
userId?: number;
|
||||
buyIn: number;
|
||||
account: string;
|
||||
}
|
||||
|
||||
+17
-17
@@ -1,17 +1,17 @@
|
||||
import Vue from 'vue';
|
||||
import App from './App.vue';
|
||||
import router from './router';
|
||||
import store from './store';
|
||||
import VConsole from 'vconsole';
|
||||
import './utils/init';
|
||||
|
||||
Vue.config.productionTip = false;
|
||||
|
||||
// tslint:disable-next-line:no-unused-expression
|
||||
new VConsole();
|
||||
|
||||
new Vue({
|
||||
router,
|
||||
store,
|
||||
render: (h) => h(App),
|
||||
}).$mount('#app');
|
||||
import Vue from 'vue';
|
||||
import App from './App.vue';
|
||||
import router from './router';
|
||||
import store from './store';
|
||||
import VConsole from 'vconsole';
|
||||
import './utils/init';
|
||||
|
||||
Vue.config.productionTip = false;
|
||||
|
||||
// tslint:disable-next-line:no-unused-expression
|
||||
new VConsole();
|
||||
|
||||
new Vue({
|
||||
router,
|
||||
store,
|
||||
render: (h) => h(App),
|
||||
}).$mount('#app');
|
||||
|
||||
@@ -0,0 +1,192 @@
|
||||
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;
|
||||
}
|
||||
|
||||
export class PokerStyle implements IPokerStyle {
|
||||
private readonly cards: string[] = [];
|
||||
private flushObj: string [][] = [[], [], [], []];
|
||||
private straightArr: string[] = [];
|
||||
private pokerStyle: string[] = [ '0', '0', '0', '0', '0', '0', '0', '0', '0', '0' ];
|
||||
private numObj: Map<string, number> = new Map(
|
||||
POKER_STR.split('').map((m) => [ m, 0 ]));
|
||||
|
||||
constructor(cards: string[]) {
|
||||
this.cards = sort(cards);
|
||||
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(str: string): number {
|
||||
return POKER_STR.indexOf(str);
|
||||
}
|
||||
if (straightStr.length === 5 && indexOf(straightStr) > -1) {
|
||||
return POKER_STR.charAt(indexOf(straightStr));
|
||||
}
|
||||
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));
|
||||
}
|
||||
}
|
||||
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) {
|
||||
return POKER_STR.charAt(Math.max(first, second, three));
|
||||
}
|
||||
}
|
||||
// special straight "A2345",'m' -> A
|
||||
if (straightStr.indexOf('m') > -1 && straightStr.indexOf('abcd') > -1) {
|
||||
return POKER_STR.charAt(12);
|
||||
}
|
||||
return '0';
|
||||
}
|
||||
|
||||
public getPokerWeight() {
|
||||
return this.pokerStyle.join('');
|
||||
}
|
||||
|
||||
public init() {
|
||||
let i = 0;
|
||||
const isTwo = [];
|
||||
const isThree = [];
|
||||
let isFour = '0';
|
||||
let isFullHouse = '0';
|
||||
let 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[Number(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];
|
||||
}
|
||||
}
|
||||
|
||||
// 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) === 'i') {
|
||||
isRoyalFlush = '1';
|
||||
this.pokerStyle[0] = isRoyalFlush;
|
||||
return;
|
||||
}
|
||||
isStraightFlush = this.isStraight(isFlush);
|
||||
this.pokerStyle[1] = isStraightFlush;
|
||||
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;
|
||||
this.pokerStyle[3] = isFullHouse;
|
||||
return;
|
||||
}
|
||||
|
||||
// flush
|
||||
if (isFlush.length !== 0) {
|
||||
this.pokerStyle[4] = isFlush.join('');
|
||||
return;
|
||||
}
|
||||
|
||||
// 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) {
|
||||
isTowPair = isTwo.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('');
|
||||
}
|
||||
}
|
||||
+13
-13
@@ -1,13 +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();
|
||||
});
|
||||
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();
|
||||
});
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
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]}`];
|
||||
});
|
||||
}
|
||||
+96
-16
@@ -5,6 +5,7 @@
|
||||
@sit="sitDown"
|
||||
@buyIn="buyIn"
|
||||
:isPlay = 'isPlay'
|
||||
:winner="winner"
|
||||
:hand-card="handCardString"></sitList>
|
||||
<common-card :cardListString="commonCardString"></common-card>
|
||||
<div class="game-body">
|
||||
@@ -34,18 +35,33 @@
|
||||
<span @click="action('fold')">fold</span>
|
||||
<span @click="action('call')"
|
||||
v-show="showActionBtn('call')">call</span>
|
||||
<span @click="isRaise = true" v-show="showActionBtn('raise')">raise</span>
|
||||
<span @click="isRaise = true" v-show="showActionBtn('raise')">more</span>
|
||||
<span @click="action('allin')" v-show="!showActionBtn('raise')">allin</span>
|
||||
</div>
|
||||
<div class="raise-size">
|
||||
<div class="not-allin"
|
||||
v-show="showActionBtn('raise')">
|
||||
<i @click="raise(Math.floor(pot / 3))">{{Math.floor(pot / 3)}}</i>
|
||||
<i @click="raise(Math.floor(pot / 2))">{{Math.floor(pot / 2)}}</i>
|
||||
<span v-show="prevSize > 0">
|
||||
<i @click="raise(Math.floor(prevSize * 2))">{{Math.floor(prevSize * 2)}}</i>
|
||||
<i @click="raise(Math.floor(prevSize * 3))">{{Math.floor(prevSize * 3)}}</i>
|
||||
</span>
|
||||
<span v-show="prevSize <= 0">
|
||||
<i @click="raise(Math.floor(pot / 3))">{{Math.floor(pot / 3)}}</i>
|
||||
<i @click="raise(Math.floor(pot / 2))">{{Math.floor(pot / 2)}}</i>
|
||||
</span>
|
||||
<i @click="raise(pot)">{{pot}}</i>
|
||||
<i @click="raise(pot * 2)">{{2*pot}}</i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="action-other-size" v-show="isRaise">
|
||||
<div class="action-other-size-body">
|
||||
<div class="size" v-show="currPlayer && raiseSize < currPlayer.counter">{{raiseSize}}</div>
|
||||
<div class="size" v-show="currPlayer && raiseSize === currPlayer.counter">Allin</div>
|
||||
<range :max="currPlayer && currPlayer.counter" :min="prevSize * 2" :is-horizontal="true" @change="getBuyInSize"></range>
|
||||
<div class="btn" @click="addSize">ok</div>
|
||||
</div>
|
||||
<div class="shadow"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="setting">
|
||||
<div class="iconfont icon-setting setting-btn" @click="showSetting = true"></div>
|
||||
@@ -68,6 +84,8 @@
|
||||
import {ILinkNode, Link} from '@/utils/Link';
|
||||
import ISit from '../interface/ISit';
|
||||
import BuyIn from '../components/BuyIn.vue';
|
||||
import range from '../components/range.vue';
|
||||
import map from '../utils/map'
|
||||
|
||||
export enum ECommand {
|
||||
CALL = 'call',
|
||||
@@ -88,7 +106,8 @@
|
||||
components: {
|
||||
sitList,
|
||||
commonCard,
|
||||
BuyIn
|
||||
BuyIn,
|
||||
range,
|
||||
},
|
||||
})
|
||||
export default class Game extends Vue {
|
||||
@@ -108,10 +127,12 @@
|
||||
private showBuyIn = false;
|
||||
private showSetting = false;
|
||||
private sitLink: any = '';
|
||||
private raiseSize:number = 0;
|
||||
private sitList: ISit[] = [];
|
||||
|
||||
@Watch('players')
|
||||
private playerChange(players: IPlayer[]) {
|
||||
console.log('player change-------')
|
||||
this.sitList = this.sitList.map((sit: ISit) => {
|
||||
const player = players.find(p => p.userId === sit.player?.userId);
|
||||
return Object.assign({}, {}, {player, position: sit.position}) as ISit;
|
||||
@@ -149,7 +170,7 @@
|
||||
|
||||
get commonCardString() {
|
||||
const commonCardFlag: string[][] = [[], [], [], [], []];
|
||||
const commonCardMap = this.mapCard(this.commonCard);
|
||||
const commonCardMap = map(this.commonCard);
|
||||
commonCardMap.forEach((card, key) => {
|
||||
commonCardFlag[key] = card;
|
||||
});
|
||||
@@ -157,11 +178,11 @@
|
||||
}
|
||||
|
||||
get handCardString() {
|
||||
return this.mapCard(this.handCard);
|
||||
return map(this.handCard);
|
||||
}
|
||||
|
||||
private init() {
|
||||
this.userInfo = {};
|
||||
this.raiseSize = 0;
|
||||
this.joinMsg = '';
|
||||
this.handCard = [];
|
||||
this.commonCard = [];
|
||||
@@ -182,6 +203,14 @@
|
||||
this.showBuyIn = false;
|
||||
}
|
||||
|
||||
private addSize() {
|
||||
if (this.raiseSize === this.currPlayer?.counter) {
|
||||
this.action('allin');
|
||||
} else {
|
||||
this.action(`raise:${this.raiseSize}`);
|
||||
}
|
||||
}
|
||||
|
||||
private sitListMap() {
|
||||
let node = this.sitLink;
|
||||
const sit = [];
|
||||
@@ -197,15 +226,15 @@
|
||||
this.emit('sitDown', {sitList: this.sitListMap()});
|
||||
}
|
||||
|
||||
private mapCard(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]}`];
|
||||
});
|
||||
}
|
||||
// private mapCard(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]}`];
|
||||
// });
|
||||
// }
|
||||
|
||||
private showActionBtn(type: string) {
|
||||
// check
|
||||
@@ -236,6 +265,10 @@
|
||||
this.action(`raise:${size}`);
|
||||
}
|
||||
|
||||
private getBuyInSize(size:number) {
|
||||
this.raiseSize = size;
|
||||
}
|
||||
|
||||
private action(command: string) {
|
||||
this.emit('action', {command});
|
||||
this.isAction = false;
|
||||
@@ -265,7 +298,9 @@
|
||||
log('#receive,', msg);
|
||||
const data = msg.data;
|
||||
if (data.action === 'handCard') {
|
||||
console.log('come in handCard =========', data)
|
||||
this.handCard = data.payload.handCard;
|
||||
console.log('come in handCard =========', this.handCard)
|
||||
}
|
||||
if (data.action === 'userInfo') {
|
||||
this.userInfo = data.payload.userInfo;
|
||||
@@ -311,6 +346,7 @@
|
||||
this.prevSize = msg.data.prevSize;
|
||||
this.isAction = !!(this.userInfo && this.userInfo.userId === msg.data.currPlayer.userId);
|
||||
console.log('gameInfo', msg.data);
|
||||
console.log('handCard', this.handCard)
|
||||
}
|
||||
|
||||
if (msg.action === 'gameOver') {
|
||||
@@ -321,6 +357,8 @@
|
||||
this.players.forEach((p) => {
|
||||
if (winner.userId === p.userId) {
|
||||
p.handCard = winner.handCard;
|
||||
p.counter = winner.counter;
|
||||
p.income = winner.income;
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -347,6 +385,9 @@
|
||||
|
||||
private async buyIn(size: number) {
|
||||
try {
|
||||
if (this.currPlayer) {
|
||||
this.currPlayer.counter += size;
|
||||
}
|
||||
this.emit('buyIn', {
|
||||
buyInSize: size,
|
||||
});
|
||||
@@ -469,6 +510,45 @@
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.action-other-size{
|
||||
background-color: rgba(0,0,0,0);
|
||||
position: fixed;
|
||||
width: 50vw;
|
||||
height: 30vh;
|
||||
right: -16px;
|
||||
top: -35vh;
|
||||
z-index: 9;
|
||||
.shadow{
|
||||
position: absolute;
|
||||
top: -3vh;
|
||||
width: 0;
|
||||
height: 49vh;
|
||||
left: 24vw;
|
||||
z-index: 8;
|
||||
overflow: hidden;
|
||||
box-shadow: 0px 55px 104px 176px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
.action-other-size-body{
|
||||
z-index: 9;
|
||||
position: absolute;
|
||||
width: 50vw;
|
||||
height: 30vh;
|
||||
.btn{
|
||||
position: absolute;
|
||||
top: 34vh;
|
||||
left: 20vw;
|
||||
border: 1px solid #fff;
|
||||
border-radius: 50%;
|
||||
background-color: rgba(0,0,0,0.4);
|
||||
padding: 5px;
|
||||
font-size: 12px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.setting {
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
{"pid":9858,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:13:49","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"connect ETIMEDOUT","requestTime":"2020-05-13 00:13:49","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 (<anonymous>)\n at Pool.<anonymous> (/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":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:25:09","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:25:09","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:55:18","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:55:18","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:55:24","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:55:24","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:55:27","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:55:27","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:37","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:57:37","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:58:07","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:58:07","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":16050,"nodeVersion":"v12.16.1","launchTime":"2020-05-14 00:26:16","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-14 00:26:16","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":16050,"nodeVersion":"v12.16.1","launchTime":"2020-05-14 00:26:21","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-14 00:26:21","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":17239,"nodeVersion":"v12.16.1","launchTime":"2020-05-14 00:49:43","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"player not enough","requestTime":"2020-05-14 00:49:43","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":18183,"nodeVersion":"v12.16.1","launchTime":"2020-05-14 01:19:19","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-14 01:19:19","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
{"pid":9858,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:13:49","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"connect ETIMEDOUT","requestTime":"2020-05-13 00:13:49","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 (<anonymous>)\n at Pool.<anonymous> (/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":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:25:09","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:25:09","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:55:18","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:55:18","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:55:24","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:55:24","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:55:27","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:55:27","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:37","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:57:37","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:58:07","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:58:07","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 04:05:32","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 04:05:32","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 20:15:13","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 20:15:13","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 20:15:14","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 20:15:14","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":11973,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 21:19:36","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 21:19:36","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":12178,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 22:24:18","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 22:24:18","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":12178,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 22:24:26","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 22:24:26","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":14600,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 23:24:58","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 23:24:58","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":14709,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 23:25:06","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 23:25:06","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":14709,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 23:25:13","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 23:25:13","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
+10
-20
@@ -1,20 +1,10 @@
|
||||
{"pid":9858,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:13:49","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"connect ETIMEDOUT","requestTime":"2020-05-13 00:13:49","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 (<anonymous>)\n at Pool.<anonymous> (/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":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:25:09","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:25:09","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:25:47","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMDc0NywiZXhwIjoxNTg5MzIyMzQ3fQ.hcWYMt2rI-yHcUAZgXfEDl2HMxPxl8WgkJ468AGMNlg","requestTime":"2020-05-13 00:25:47","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:25:47","osUser":"root","osUid":0,"fetchConsumeTime":200,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-05-13 00:25:47","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:26:57","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTMwMDgxNywiZXhwIjoxNTg5MzIyNDE3fQ.yL0K89W1xPF6MnGDpv35IsM8FzxvG4R4d_pwgK0KLDs","requestTime":"2020-05-13 00:26:57","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:26:57","osUser":"root","osUid":0,"fetchConsumeTime":194,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-05-13 00:26:57","status":200,"total":null,"requestBody":{"userAccount":"cai111","password":"123"},"url":"/node/user/login"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:55:18","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:55:18","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:55:24","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:55:24","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:55:27","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:55:27","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:18","osUser":"root","osUid":0,"fetchConsumeTime":10249,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-05-13 00:57:18","status":200,"total":null,"requestBody":{},"url":"/node/game/room"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:26","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzMDI2NDYsImV4cCI6MTU4OTMyNDI0Nn0.t01MJ-AhyISF29qJwJ633fKJhwtjpYRAH2-kWf4RFgk","requestTime":"2020-05-13 00:57:26","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:26","osUser":"root","osUid":0,"fetchConsumeTime":202,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-05-13 00:57:26","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:27","osUser":"root","osUid":0,"fetchConsumeTime":101,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-05-13 00:57:27","status":200,"total":null,"requestBody":{},"url":"/node/game/room"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:37","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:57:37","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:47","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjY2NywiZXhwIjoxNTg5MzI0MjY3fQ.rwlDPpbPM7t8UXBt8blI_wlibyBxqTxWrhoz9DhQYzg","requestTime":"2020-05-13 00:57:47","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:47","osUser":"root","osUid":0,"fetchConsumeTime":196,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-05-13 00:57:47","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:49","osUser":"root","osUid":0,"fetchConsumeTime":100,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-05-13 00:57:49","status":200,"total":null,"requestBody":{},"url":"/node/game/room"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:58:07","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:58:07","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:58:31","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjcxMSwiZXhwIjoxNTg5MzI0MzExfQ.0gxUdm6HoGeCvqWgmOQS9Y7BLnPByxWsLC8ABR_-ePM","requestTime":"2020-05-13 00:58:31","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:58:31","osUser":"root","osUid":0,"fetchConsumeTime":198,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-05-13 00:58:31","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"}
|
||||
{"pid":16050,"nodeVersion":"v12.16.1","launchTime":"2020-05-14 00:26:16","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-14 00:26:16","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":16050,"nodeVersion":"v12.16.1","launchTime":"2020-05-14 00:26:21","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-14 00:26:21","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":16050,"nodeVersion":"v12.16.1","launchTime":"2020-05-14 00:26:34","osUser":"root","osUid":0,"fetchConsumeTime":226,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-05-14 00:26:34","status":200,"total":null,"requestBody":{},"url":"/node/game/room"}
|
||||
{"pid":16050,"nodeVersion":"v12.16.1","launchTime":"2020-05-14 00:26:43","osUser":"root","osUid":0,"fetchConsumeTime":9384,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-05-14 00:26:43","status":200,"total":null,"requestBody":{},"url":"/node/game/room"}
|
||||
{"pid":17239,"nodeVersion":"v12.16.1","launchTime":"2020-05-14 00:49:43","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"player not enough","requestTime":"2020-05-14 00:49:43","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":18183,"nodeVersion":"v12.16.1","launchTime":"2020-05-14 01:19:19","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-14 01:19:19","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":18183,"nodeVersion":"v12.16.1","launchTime":"2020-05-14 01:19:34","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTM5MDM3NCwiZXhwIjoxNTg5NDExOTc0fQ.ruk46TFXuhvTiJpb4X3yakp4IIDzCAUNhA8mo0rufw8","requestTime":"2020-05-14 01:19:34","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":18183,"nodeVersion":"v12.16.1","launchTime":"2020-05-14 01:19:34","osUser":"root","osUid":0,"fetchConsumeTime":207,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-05-14 01:19:34","status":200,"total":null,"requestBody":{"userAccount":"cai111","password":"123"},"url":"/node/user/login"}
|
||||
{"pid":18342,"nodeVersion":"v12.16.1","launchTime":"2020-05-14 01:22:26","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTM5MDU0NiwiZXhwIjoxNTg5NDEyMTQ2fQ.ESfFJWSmasxyaxcZ_bMRGjMkqN1a6YArIZFCsIGMVM4","requestTime":"2020-05-14 01:22:26","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":18342,"nodeVersion":"v12.16.1","launchTime":"2020-05-14 01:22:26","osUser":"root","osUid":0,"fetchConsumeTime":193,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-05-14 01:22:26","status":200,"total":null,"requestBody":{"userAccount":"cai111","password":"123"},"url":"/node/user/login"}
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
{"pid":9858,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:13:49","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"connect ETIMEDOUT","requestTime":"2020-05-13 00:13:49","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 (<anonymous>)\n at Pool.<anonymous> (/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":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:25:09","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:25:09","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:25:47","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMDc0NywiZXhwIjoxNTg5MzIyMzQ3fQ.hcWYMt2rI-yHcUAZgXfEDl2HMxPxl8WgkJ468AGMNlg","requestTime":"2020-05-13 00:25:47","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:25:47","osUser":"root","osUid":0,"fetchConsumeTime":200,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-05-13 00:25:47","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:26:57","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTMwMDgxNywiZXhwIjoxNTg5MzIyNDE3fQ.yL0K89W1xPF6MnGDpv35IsM8FzxvG4R4d_pwgK0KLDs","requestTime":"2020-05-13 00:26:57","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:26:57","osUser":"root","osUid":0,"fetchConsumeTime":194,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-05-13 00:26:57","status":200,"total":null,"requestBody":{"userAccount":"cai111","password":"123"},"url":"/node/user/login"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:55:18","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:55:18","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:55:24","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:55:24","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:55:27","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:55:27","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:18","osUser":"root","osUid":0,"fetchConsumeTime":10249,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-05-13 00:57:18","status":200,"total":null,"requestBody":{},"url":"/node/game/room"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:26","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzMDI2NDYsImV4cCI6MTU4OTMyNDI0Nn0.t01MJ-AhyISF29qJwJ633fKJhwtjpYRAH2-kWf4RFgk","requestTime":"2020-05-13 00:57:26","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:26","osUser":"root","osUid":0,"fetchConsumeTime":202,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-05-13 00:57:26","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:27","osUser":"root","osUid":0,"fetchConsumeTime":101,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-05-13 00:57:27","status":200,"total":null,"requestBody":{},"url":"/node/game/room"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:37","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:57:37","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:47","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjY2NywiZXhwIjoxNTg5MzI0MjY3fQ.rwlDPpbPM7t8UXBt8blI_wlibyBxqTxWrhoz9DhQYzg","requestTime":"2020-05-13 00:57:47","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:47","osUser":"root","osUid":0,"fetchConsumeTime":196,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-05-13 00:57:47","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:57:49","osUser":"root","osUid":0,"fetchConsumeTime":100,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-05-13 00:57:49","status":200,"total":null,"requestBody":{},"url":"/node/game/room"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:58:07","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 00:58:07","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:58:31","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjcxMSwiZXhwIjoxNTg5MzI0MzExfQ.0gxUdm6HoGeCvqWgmOQS9Y7BLnPByxWsLC8ABR_-ePM","requestTime":"2020-05-13 00:58:31","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 00:58:31","osUser":"root","osUid":0,"fetchConsumeTime":198,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-05-13 00:58:31","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 04:05:32","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 04:05:32","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 20:15:13","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 20:15:13","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":10142,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 20:15:14","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 20:15:14","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":11973,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 21:19:16","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzNzU5NTYsImV4cCI6MTU4OTM5NzU1Nn0.rjTkkfVRAvFwxkutLExEO1SDOBnymyDKnnte2sgQQgw","requestTime":"2020-05-13 21:19:16","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":11973,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 21:19:16","osUser":"root","osUid":0,"fetchConsumeTime":252,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-05-13 21:19:16","status":200,"total":null,"requestBody":{"userAccount":"cai","password":"123"},"url":"/node/user/login"}
|
||||
{"pid":11973,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 21:19:17","osUser":"root","osUid":0,"fetchConsumeTime":125,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-05-13 21:19:17","status":200,"total":null,"requestBody":{},"url":"/node/game/room"}
|
||||
{"pid":11973,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 21:19:36","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 21:19:36","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":11973,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 21:19:48","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"INFO","message":"AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTM3NTk4OCwiZXhwIjoxNTg5Mzk3NTg4fQ.HgTT61q2AYW_PbRajx4fSelOdGUtOH2GEsWhPi1IHAA","requestTime":"2020-05-13 21:19:48","stack":"","status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":11973,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 21:19:48","osUser":"root","osUid":0,"fetchConsumeTime":219,"level":"INFO","message":"POST /node/user/login info","requestTime":"2020-05-13 21:19:48","status":200,"total":null,"requestBody":{"userAccount":"cai11","password":"123"},"url":"/node/user/login"}
|
||||
{"pid":11973,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 21:19:50","osUser":"root","osUid":0,"fetchConsumeTime":113,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-05-13 21:19:50","status":200,"total":null,"requestBody":{},"url":"/node/game/room"}
|
||||
{"pid":12178,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 22:24:18","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 22:24:18","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":12178,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 22:24:26","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 22:24:26","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":12178,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 22:24:33","osUser":"root","osUid":0,"fetchConsumeTime":207,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-05-13 22:24:33","status":200,"total":null,"requestBody":{},"url":"/node/game/room"}
|
||||
{"pid":12178,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 22:24:39","osUser":"root","osUid":0,"fetchConsumeTime":6421,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-05-13 22:24:39","status":200,"total":null,"requestBody":{},"url":"/node/game/room"}
|
||||
{"pid":14600,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 23:24:58","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 23:24:58","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":14709,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 23:25:06","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 23:25:06","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
{"pid":14709,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 23:25:10","osUser":"root","osUid":0,"fetchConsumeTime":118,"level":"INFO","message":"POST /node/game/room info","requestTime":"2020-05-13 23:25:10","status":200,"total":null,"requestBody":{},"url":"/node/game/room"}
|
||||
{"pid":14709,"nodeVersion":"v12.16.1","launchTime":"2020-05-13 23:25:13","osUser":"root","osUid":0,"fetchConsumeTime":0,"level":"ERROR","message":"room service tick","requestTime":"2020-05-13 23:25:13","stack":null,"status":"","timestamp":"","total":0,"requestBody":{},"method":"","url":""}
|
||||
@@ -1,14 +1,41 @@
|
||||
2020-05-13 00:00:01,068 INFO 9389 [egg-logrotator] agent logger reload: got log-reload message
|
||||
2020-05-13 00:07:12,867 WARN 9389 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/join.ts change
|
||||
2020-05-13 00:07:12,655 INFO 9389 [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":8594286550,"size":2385,"blocks":8,"atimeMs":1589288336153.1736,"mtimeMs":1589299632577.6882,"ctimeMs":1589299632577.6882,"birthtimeMs":1588143730987.0205,"atime":"2020-05-12T12:58:56.153Z","mtime":"2020-05-12T16:07:12.578Z","ctime":"2020-05-12T16:07:12.578Z","birthtime":"2020-04-29T07:02:10.987Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 00:07:12,662 INFO 9389 [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":8594286525,"size":4132,"blocks":16,"atimeMs":1589288336132.9854,"mtimeMs":1589299632583.7476,"ctimeMs":1589299632583.7476,"birthtimeMs":1589270182180.2673,"atime":"2020-05-12T12:58:56.133Z","mtime":"2020-05-12T16:07:12.584Z","ctime":"2020-05-12T16:07:12.584Z","birthtime":"2020-05-12T07:56:22.180Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 00:13:19,240 INFO 9389 [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":8594286519,"size":3499,"blocks":8,"atimeMs":1589288336124.0312,"mtimeMs":1589299999177.4907,"ctimeMs":1589299999177.4907,"birthtimeMs":1589251510332.9773,"atime":"2020-05-12T12:58:56.124Z","mtime":"2020-05-12T16:13:19.177Z","ctime":"2020-05-12T16:13:19.177Z","birthtime":"2020-05-12T02:45:10.333Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 00:13:19,443 WARN 9389 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/Player.ts change
|
||||
2020-05-13 00:13:35,265 WARN 9389 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts change
|
||||
2020-05-13 00:13:35,061 INFO 9389 [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":8594286517,"size":13790,"blocks":32,"atimeMs":1589288336125.2605,"mtimeMs":1589300015000.0015,"ctimeMs":1589300015000.0015,"birthtimeMs":1589245006585.3977,"atime":"2020-05-12T12:58:56.125Z","mtime":"2020-05-12T16:13:35.000Z","ctime":"2020-05-12T16:13:35.000Z","birthtime":"2020-05-12T00:56:46.585Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 00:14:10,831 WARN 9389 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts change
|
||||
2020-05-13 00:14:10,627 INFO 9389 [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":8594286517,"size":13794,"blocks":32,"atimeMs":1589300048406.6274,"mtimeMs":1589300050565.8604,"ctimeMs":1589300050565.8604,"birthtimeMs":1589245006585.3977,"atime":"2020-05-12T16:14:08.407Z","mtime":"2020-05-12T16:14:10.566Z","ctime":"2020-05-12T16:14:10.566Z","birthtime":"2020-05-12T00:56:46.585Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 00:15:07,511 INFO 9389 [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":8594286519,"size":3545,"blocks":8,"atimeMs":1589300015706.5508,"mtimeMs":1589300107450.3125,"ctimeMs":1589300107450.3125,"birthtimeMs":1589251510332.9773,"atime":"2020-05-12T16:13:35.707Z","mtime":"2020-05-12T16:15:07.450Z","ctime":"2020-05-12T16:15:07.450Z","birthtime":"2020-05-12T02:45:10.333Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 00:15:07,714 WARN 9389 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/Player.ts change
|
||||
2020-05-13 00:22:39,836 INFO 9389 [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":8594286519,"size":3545,"blocks":8,"atimeMs":1589300331723.9802,"mtimeMs":1589300559773.3347,"ctimeMs":1589300559773.3347,"birthtimeMs":1589251510332.9773,"atime":"2020-05-12T16:18:51.724Z","mtime":"2020-05-12T16:22:39.773Z","ctime":"2020-05-12T16:22:39.773Z","birthtime":"2020-05-12T02:45:10.333Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 00:22:40,066 WARN 9389 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/Player.ts change
|
||||
2020-05-14 00:00:01,031 INFO 15218 [egg-logrotator] agent logger reload: got log-reload message
|
||||
2020-05-14 00:04:52,861 WARN 15218 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change
|
||||
2020-05-14 00:04:52,650 INFO 15218 [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":8594298506,"size":9014,"blocks":24,"atimeMs":1589385323350.9658,"mtimeMs":1589385892585.214,"ctimeMs":1589385892585.214,"birthtimeMs":1589365589311.529,"atime":"2020-05-13T15:55:23.351Z","mtime":"2020-05-13T16:04:52.585Z","ctime":"2020-05-13T16:04:52.585Z","birthtime":"2020-05-13T10:26:29.312Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-14 00:09:02,843 WARN 15218 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change
|
||||
2020-05-14 00:09:02,630 INFO 15218 [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":8594298506,"size":9016,"blocks":24,"atimeMs":1589385896807.2515,"mtimeMs":1589386142566.157,"ctimeMs":1589386142566.157,"birthtimeMs":1589365589311.529,"atime":"2020-05-13T16:04:56.807Z","mtime":"2020-05-13T16:09:02.566Z","ctime":"2020-05-13T16:09:02.566Z","birthtime":"2020-05-13T10:26:29.312Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-14 00:44:44,033 WARN 15218 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change
|
||||
2020-05-14 00:44:43,828 INFO 15218 [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":8594298506,"size":9034,"blocks":24,"atimeMs":1589386146929.7285,"mtimeMs":1589388283765.6348,"ctimeMs":1589388283765.6348,"birthtimeMs":1589365589311.529,"atime":"2020-05-13T16:09:06.930Z","mtime":"2020-05-13T16:44:43.766Z","ctime":"2020-05-13T16:44:43.766Z","birthtime":"2020-05-13T10:26:29.312Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-14 00:49:09,470 WARN 15218 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change
|
||||
2020-05-14 00:49:09,259 INFO 15218 [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":8594298506,"size":9017,"blocks":24,"atimeMs":1589388290439.3677,"mtimeMs":1589388549186.6367,"ctimeMs":1589388549186.6367,"birthtimeMs":1589365589311.529,"atime":"2020-05-13T16:44:50.439Z","mtime":"2020-05-13T16:49:09.187Z","ctime":"2020-05-13T16:49:09.187Z","birthtime":"2020-05-13T10:26:29.312Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-14 00:53:18,535 WARN 15218 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts change
|
||||
2020-05-14 00:53:18,331 INFO 15218 [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":8594298495,"size":13915,"blocks":32,"atimeMs":1589383495815.7,"mtimeMs":1589388798267.1897,"ctimeMs":1589388798267.1897,"birthtimeMs":1589360448396.4233,"atime":"2020-05-13T15:24:55.816Z","mtime":"2020-05-13T16:53:18.267Z","ctime":"2020-05-13T16:53:18.267Z","birthtime":"2020-05-13T09:00:48.396Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-14 00:56:31,855 WARN 15218 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts change
|
||||
2020-05-14 00:56:31,651 INFO 15218 [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":8594298495,"size":13961,"blocks":32,"atimeMs":1589388863152.0332,"mtimeMs":1589388991588.8662,"ctimeMs":1589388991588.8662,"birthtimeMs":1589360448396.4233,"atime":"2020-05-13T16:54:23.152Z","mtime":"2020-05-13T16:56:31.589Z","ctime":"2020-05-13T16:56:31.589Z","birthtime":"2020-05-13T09:00:48.396Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-14 01:17:08,202 INFO 18100 [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-05-14 01:17:08,210 INFO 18100 [egg:core] dump config after load, 4ms
|
||||
2020-05-14 01:17:08,267 INFO 18100 [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-05-14 01:17:08,267 INFO 18100 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app"
|
||||
2020-05-14 01:17:08,267 INFO 18100 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib"
|
||||
2020-05-14 01:17:08,267 INFO 18100 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service"
|
||||
2020-05-14 01:17:08,267 INFO 18100 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config"
|
||||
2020-05-14 01:17:08,267 INFO 18100 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts"
|
||||
2020-05-14 01:17:08,268 INFO 18100 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts"
|
||||
2020-05-14 01:17:08,268 INFO 18100 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts"
|
||||
2020-05-14 01:17:08,268 INFO 18100 [egg-watcher:agent] watcher start success
|
||||
2020-05-14 01:17:08,402 INFO 18100 [egg:core] dump config after ready, 106ms
|
||||
2020-05-14 01:18:14,022 WARN 18100 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change
|
||||
2020-05-14 01:18:13,807 INFO 18100 [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":8594298506,"size":9456,"blocks":24,"atimeMs":1589390293801.7292,"mtimeMs":1589390293333.1062,"ctimeMs":1589390293333.1062,"birthtimeMs":1589365589311.529,"atime":"2020-05-13T17:18:13.802Z","mtime":"2020-05-13T17:18:13.333Z","ctime":"2020-05-13T17:18:13.333Z","birthtime":"2020-05-13T10:26:29.312Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-14 01:18:24,981 WARN 18100 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change
|
||||
2020-05-14 01:18:24,779 INFO 18100 [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":8594298506,"size":9455,"blocks":24,"atimeMs":1589390293801.7292,"mtimeMs":1589390304768.3613,"ctimeMs":1589390304768.3613,"birthtimeMs":1589365589311.529,"atime":"2020-05-13T17:18:13.802Z","mtime":"2020-05-13T17:18:24.768Z","ctime":"2020-05-13T17:18:24.768Z","birthtime":"2020-05-13T10:26:29.312Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-14 01:22:13,238 INFO 18341 [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-05-14 01:22:13,247 INFO 18341 [egg:core] dump config after load, 5ms
|
||||
2020-05-14 01:22:13,293 INFO 18341 [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-05-14 01:22:13,293 INFO 18341 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app"
|
||||
2020-05-14 01:22:13,293 INFO 18341 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib"
|
||||
2020-05-14 01:22:13,293 INFO 18341 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service"
|
||||
2020-05-14 01:22:13,293 INFO 18341 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config"
|
||||
2020-05-14 01:22:13,294 INFO 18341 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts"
|
||||
2020-05-14 01:22:13,294 INFO 18341 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts"
|
||||
2020-05-14 01:22:13,294 INFO 18341 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts"
|
||||
2020-05-14 01:22:13,294 INFO 18341 [egg-watcher:agent] watcher start success
|
||||
2020-05-14 01:22:13,306 INFO 18341 [egg:core] dump config after ready, 5ms
|
||||
|
||||
@@ -0,0 +1,241 @@
|
||||
2020-05-13 00:00:01,068 INFO 9389 [egg-logrotator] agent logger reload: got log-reload message
|
||||
2020-05-13 00:07:12,867 WARN 9389 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/join.ts change
|
||||
2020-05-13 00:07:12,655 INFO 9389 [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":8594286550,"size":2385,"blocks":8,"atimeMs":1589288336153.1736,"mtimeMs":1589299632577.6882,"ctimeMs":1589299632577.6882,"birthtimeMs":1588143730987.0205,"atime":"2020-05-12T12:58:56.153Z","mtime":"2020-05-12T16:07:12.578Z","ctime":"2020-05-12T16:07:12.578Z","birthtime":"2020-04-29T07:02:10.987Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 00:07:12,662 INFO 9389 [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":8594286525,"size":4132,"blocks":16,"atimeMs":1589288336132.9854,"mtimeMs":1589299632583.7476,"ctimeMs":1589299632583.7476,"birthtimeMs":1589270182180.2673,"atime":"2020-05-12T12:58:56.133Z","mtime":"2020-05-12T16:07:12.584Z","ctime":"2020-05-12T16:07:12.584Z","birthtime":"2020-05-12T07:56:22.180Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 00:13:19,240 INFO 9389 [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":8594286519,"size":3499,"blocks":8,"atimeMs":1589288336124.0312,"mtimeMs":1589299999177.4907,"ctimeMs":1589299999177.4907,"birthtimeMs":1589251510332.9773,"atime":"2020-05-12T12:58:56.124Z","mtime":"2020-05-12T16:13:19.177Z","ctime":"2020-05-12T16:13:19.177Z","birthtime":"2020-05-12T02:45:10.333Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 00:13:19,443 WARN 9389 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/Player.ts change
|
||||
2020-05-13 00:13:35,265 WARN 9389 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts change
|
||||
2020-05-13 00:13:35,061 INFO 9389 [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":8594286517,"size":13790,"blocks":32,"atimeMs":1589288336125.2605,"mtimeMs":1589300015000.0015,"ctimeMs":1589300015000.0015,"birthtimeMs":1589245006585.3977,"atime":"2020-05-12T12:58:56.125Z","mtime":"2020-05-12T16:13:35.000Z","ctime":"2020-05-12T16:13:35.000Z","birthtime":"2020-05-12T00:56:46.585Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 00:14:10,831 WARN 9389 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts change
|
||||
2020-05-13 00:14:10,627 INFO 9389 [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":8594286517,"size":13794,"blocks":32,"atimeMs":1589300048406.6274,"mtimeMs":1589300050565.8604,"ctimeMs":1589300050565.8604,"birthtimeMs":1589245006585.3977,"atime":"2020-05-12T16:14:08.407Z","mtime":"2020-05-12T16:14:10.566Z","ctime":"2020-05-12T16:14:10.566Z","birthtime":"2020-05-12T00:56:46.585Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 00:15:07,511 INFO 9389 [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":8594286519,"size":3545,"blocks":8,"atimeMs":1589300015706.5508,"mtimeMs":1589300107450.3125,"ctimeMs":1589300107450.3125,"birthtimeMs":1589251510332.9773,"atime":"2020-05-12T16:13:35.707Z","mtime":"2020-05-12T16:15:07.450Z","ctime":"2020-05-12T16:15:07.450Z","birthtime":"2020-05-12T02:45:10.333Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 00:15:07,714 WARN 9389 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/Player.ts change
|
||||
2020-05-13 00:22:39,836 INFO 9389 [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":8594286519,"size":3545,"blocks":8,"atimeMs":1589300331723.9802,"mtimeMs":1589300559773.3347,"ctimeMs":1589300559773.3347,"birthtimeMs":1589251510332.9773,"atime":"2020-05-12T16:18:51.724Z","mtime":"2020-05-12T16:22:39.773Z","ctime":"2020-05-12T16:22:39.773Z","birthtime":"2020-05-12T02:45:10.333Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 00:22:40,066 WARN 9389 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/Player.ts change
|
||||
2020-05-13 02:05:18,860 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 3612385ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 04:05:27,838 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 7208681ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 06:05:47,984 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 7219167ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 08:06:26,306 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 7216708ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 10:06:43,870 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 7217444ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 12:07:01,700 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 7217818ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 13:06:12,447 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 3550726ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 20:15:12,163 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 25739682ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 21:16:04,054 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 3631874ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 21:16:48,914 ERROR 9389 nodejs.unhandledExceptionError: ENOENT: no such file or directory, stat '/Users/jorky/code/TexasPokerGame/server/src/app.ts'
|
||||
at Object.statSync (fs.js:932:3)
|
||||
at DevelopmentEventSource._onFsWatchChange (/Users/jorky/code/TexasPokerGame/server/node_modules/egg-watcher/lib/event-sources/development.js:82:16)
|
||||
at FSWatcher.emit (events.js:311:20)
|
||||
at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:135:12)
|
||||
errno: -2
|
||||
syscall: "stat"
|
||||
code: "ENOENT"
|
||||
path: "/Users/jorky/code/TexasPokerGame/server/src/app.ts"
|
||||
name: "unhandledExceptionError"
|
||||
pid: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 21:16:48,930 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/middleware","stat":null,"remove":true,"isDirectory":true,"isFile":false}
|
||||
2020-05-13 21:16:48,961 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app","stat":null,"remove":true,"isDirectory":true,"isFile":false}
|
||||
2020-05-13 21:16:48,963 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/extend","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,963 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/core","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,963 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/router.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,964 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,965 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/controller","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,965 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/public","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,966 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/helper","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,967 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/config/config.local.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,971 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/config","stat":null,"remove":true,"isDirectory":true,"isFile":false}
|
||||
2020-05-13 21:16:48,972 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/config/plugin.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,972 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/join.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,973 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/auth.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,973 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,986 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller/nsp.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,992 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/middleware/leave.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,992 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/public/README.md","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,993 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/middleware/elkLogger.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,993 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/middleware/notFound.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,993 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/middleware","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,994 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/io/controller","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,994 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/helper/logTransport.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,994 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/helper/parseMsg.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,995 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/extend/helper.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,995 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/extend/context.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,995 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,995 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/core/PokerStyle.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,996 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/core/Player.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,996 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/core/Poker.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,996 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/controller/account.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,996 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/controller/room.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,996 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/app/controller/user.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,997 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/lib/baseService.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:48,999 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/lib","stat":null,"remove":true,"isDirectory":true,"isFile":false}
|
||||
2020-05-13 21:16:49,000 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/lib/baseSocketController.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:49,001 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/lib/baseController.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:49,001 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/service/account.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:49,004 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/service","stat":null,"remove":true,"isDirectory":true,"isFile":false}
|
||||
2020-05-13 21:16:49,005 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/service/room.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:49,005 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/service/game.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:49,006 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/service/gameRecord.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:49,006 INFO 9389 [egg-watcher] Recieved a change event from eventSource: {"event":"rename","path":"/Users/jorky/code/TexasPokerGame/server/src/service/user.ts","stat":null,"remove":true,"isDirectory":false,"isFile":false}
|
||||
2020-05-13 21:16:49,211 WARN 9389 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/service/user.ts rename
|
||||
2020-05-13 21:17:43,482 INFO 11972 [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-05-13 21:17:43,492 INFO 11972 [egg:core] dump config after load, 4ms
|
||||
2020-05-13 21:17:43,542 INFO 11972 [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-05-13 21:17:43,542 INFO 11972 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app"
|
||||
2020-05-13 21:17:43,542 INFO 11972 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib"
|
||||
2020-05-13 21:17:43,542 INFO 11972 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service"
|
||||
2020-05-13 21:17:43,542 INFO 11972 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config"
|
||||
2020-05-13 21:17:43,542 INFO 11972 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts"
|
||||
2020-05-13 21:17:43,543 INFO 11972 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts"
|
||||
2020-05-13 21:17:43,543 INFO 11972 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts"
|
||||
2020-05-13 21:17:43,543 INFO 11972 [egg-watcher:agent] watcher start success
|
||||
2020-05-13 21:17:43,571 INFO 11972 [egg:core] dump config after ready, 15ms
|
||||
2020-05-13 21:23:08,341 INFO 12177 [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-05-13 21:23:08,349 INFO 12177 [egg:core] dump config after load, 4ms
|
||||
2020-05-13 21:23:08,400 INFO 12177 [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-05-13 21:23:08,401 INFO 12177 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app"
|
||||
2020-05-13 21:23:08,401 INFO 12177 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib"
|
||||
2020-05-13 21:23:08,401 INFO 12177 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service"
|
||||
2020-05-13 21:23:08,401 INFO 12177 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config"
|
||||
2020-05-13 21:23:08,401 INFO 12177 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts"
|
||||
2020-05-13 21:23:08,402 INFO 12177 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts"
|
||||
2020-05-13 21:23:08,402 INFO 12177 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts"
|
||||
2020-05-13 21:23:08,403 INFO 12177 [egg-watcher:agent] watcher start success
|
||||
2020-05-13 21:23:08,428 INFO 12177 [egg:core] dump config after ready, 19ms
|
||||
2020-05-13 21:58:58,417 ERROR 12177 nodejs.ClusterClientNoResponseError: client no response in 1907292ms 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: 12177
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 22:02:27,918 ERROR 12177 nodejs.ClusterClientNoResponseError: client no response in 168906ms 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: 12177
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 22:26:33,863 INFO 13106 [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-05-13 22:26:33,871 INFO 13106 [egg:core] dump config after load, 4ms
|
||||
2020-05-13 22:26:33,920 INFO 13106 [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-05-13 22:26:33,920 INFO 13106 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app"
|
||||
2020-05-13 22:26:33,920 INFO 13106 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib"
|
||||
2020-05-13 22:26:33,920 INFO 13106 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service"
|
||||
2020-05-13 22:26:33,920 INFO 13106 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config"
|
||||
2020-05-13 22:26:33,920 INFO 13106 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts"
|
||||
2020-05-13 22:26:33,921 INFO 13106 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts"
|
||||
2020-05-13 22:26:33,921 INFO 13106 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts"
|
||||
2020-05-13 22:26:33,921 INFO 13106 [egg-watcher:agent] watcher start success
|
||||
2020-05-13 22:26:33,932 INFO 13106 [egg:core] dump config after ready, 5ms
|
||||
2020-05-13 22:43:42,487 ERROR 13106 nodejs.ClusterClientNoResponseError: client no response in 186038ms 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: 13106
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 22:54:34,313 ERROR 13106 nodejs.ClusterClientNoResponseError: client no response in 631798ms 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: 13106
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 23:20:42,038 INFO 14596 [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-05-13 23:20:42,049 INFO 14596 [egg:core] dump config after load, 5ms
|
||||
2020-05-13 23:20:42,097 INFO 14596 [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-05-13 23:20:42,097 INFO 14596 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app"
|
||||
2020-05-13 23:20:42,097 INFO 14596 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib"
|
||||
2020-05-13 23:20:42,097 INFO 14596 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service"
|
||||
2020-05-13 23:20:42,097 INFO 14596 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config"
|
||||
2020-05-13 23:20:42,098 INFO 14596 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts"
|
||||
2020-05-13 23:20:42,098 INFO 14596 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts"
|
||||
2020-05-13 23:20:42,098 INFO 14596 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts"
|
||||
2020-05-13 23:20:42,099 INFO 14596 [egg-watcher:agent] watcher start success
|
||||
2020-05-13 23:20:42,174 INFO 14596 [egg:core] dump config after ready, 56ms
|
||||
2020-05-13 23:24:51,610 WARN 14596 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/core/PokerGame.ts change
|
||||
2020-05-13 23:24:51,402 INFO 14596 [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":8594298495,"size":13867,"blocks":32,"atimeMs":1589375796416.783,"mtimeMs":1589383491335.0884,"ctimeMs":1589383491335.0884,"birthtimeMs":1589360448396.4233,"atime":"2020-05-13T13:16:36.417Z","mtime":"2020-05-13T15:24:51.335Z","ctime":"2020-05-13T15:24:51.335Z","birthtime":"2020-05-13T09:00:48.396Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 23:41:44,157 INFO 15218 [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-05-13 23:41:44,165 INFO 15218 [egg:core] dump config after load, 4ms
|
||||
2020-05-13 23:41:44,203 INFO 15218 [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-05-13 23:41:44,203 INFO 15218 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app"
|
||||
2020-05-13 23:41:44,204 INFO 15218 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/lib"
|
||||
2020-05-13 23:41:44,204 INFO 15218 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/service"
|
||||
2020-05-13 23:41:44,204 INFO 15218 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/config"
|
||||
2020-05-13 23:41:44,204 INFO 15218 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/app.ts"
|
||||
2020-05-13 23:41:44,204 INFO 15218 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/agent.ts"
|
||||
2020-05-13 23:41:44,204 INFO 15218 [egg-watcher] Start watching: "/Users/jorky/code/TexasPokerGame/server/src/interface.ts"
|
||||
2020-05-13 23:41:44,205 INFO 15218 [egg-watcher:agent] watcher start success
|
||||
2020-05-13 23:41:44,214 INFO 15218 [egg:core] dump config after ready, 4ms
|
||||
2020-05-13 23:44:23,388 WARN 15218 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change
|
||||
2020-05-13 23:44:23,183 INFO 15218 [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":8594298506,"size":9012,"blocks":24,"atimeMs":1589383004812.1897,"mtimeMs":1589384663117.7275,"ctimeMs":1589384663117.7275,"birthtimeMs":1589365589311.529,"atime":"2020-05-13T15:16:44.812Z","mtime":"2020-05-13T15:44:23.118Z","ctime":"2020-05-13T15:44:23.118Z","birthtime":"2020-05-13T10:26:29.312Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
2020-05-13 23:55:18,980 WARN 15218 [agent:development] reload worker because /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts change
|
||||
2020-05-13 23:55:18,776 INFO 15218 [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":8594298506,"size":9008,"blocks":24,"atimeMs":1589384668784.5906,"mtimeMs":1589385318714.3442,"ctimeMs":1589385318714.3442,"birthtimeMs":1589365589311.529,"atime":"2020-05-13T15:44:28.785Z","mtime":"2020-05-13T15:55:18.714Z","ctime":"2020-05-13T15:55:18.714Z","birthtime":"2020-05-13T10:26:29.312Z"},"remove":false,"isDirectory":false,"isFile":true}
|
||||
@@ -1,110 +1,42 @@
|
||||
2020-05-13 00:13:49,822 ERROR 9858 [-/127.0.0.1/-/0ms 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 (<anonymous>)
|
||||
at Pool.<anonymous> (/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: 9858
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 00:25:09,314 ERROR 10142 [-/192.168.0.102/-/22ms GET /socket.io/?room=194379&token=undefined&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:25:47,866 INFO 10142 [-/192.168.0.102/-/205ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMDc0NywiZXhwIjoxNTg5MzIyMzQ3fQ.hcWYMt2rI-yHcUAZgXfEDl2HMxPxl8WgkJ468AGMNlg
|
||||
2020-05-13 00:25:47,868 INFO 10142 [-/192.168.0.102/-/206ms POST /node/user/login] {
|
||||
fetchStart: 1589300747667,
|
||||
url: '/node/user/login',
|
||||
requestBody: { userAccount: 'cai11', password: '123' },
|
||||
message: 'POST /node/user/login info',
|
||||
2020-05-14 00:26:16,001 ERROR 16050 [-/192.168.0.110/-/29ms GET /socket.io/?room=806582&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzNzU5NTYsImV4cCI6MTU4OTM5NzU1Nn0.rjTkkfVRAvFwxkutLExEO1SDOBnymyDKnnte2sgQQgw&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-14 00:26:21,257 ERROR 16050 [-/192.168.0.110/-/2ms GET /socket.io/?room=806582&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzNzU5NTYsImV4cCI6MTU4OTM5NzU1Nn0.rjTkkfVRAvFwxkutLExEO1SDOBnymyDKnnte2sgQQgw&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-14 00:26:34,011 INFO 16050 [-/192.168.0.110/-/226ms POST /node/game/room] {
|
||||
fetchStart: 1589387193784,
|
||||
url: '/node/game/room',
|
||||
requestBody: {},
|
||||
message: 'POST /node/game/room info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589300747867
|
||||
fetchEnd: 1589387194010
|
||||
}
|
||||
2020-05-13 00:26:57,690 INFO 10142 [-/192.168.0.102/-/194ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTMwMDgxNywiZXhwIjoxNTg5MzIyNDE3fQ.yL0K89W1xPF6MnGDpv35IsM8FzxvG4R4d_pwgK0KLDs
|
||||
2020-05-13 00:26:57,692 INFO 10142 [-/192.168.0.102/-/196ms POST /node/user/login] {
|
||||
fetchStart: 1589300817498,
|
||||
2020-05-14 00:26:43,168 INFO 16050 [-/undefined/-/10148ms POST /node/game/room] {
|
||||
fetchStart: 1589387193784,
|
||||
url: '/node/game/room',
|
||||
requestBody: {},
|
||||
message: 'POST /node/game/room info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589387203168
|
||||
}
|
||||
2020-05-14 00:49:43,570 ERROR 17239 player not enough
|
||||
2020-05-14 01:19:19,795 ERROR 18183 [-/192.168.0.102/-/12ms GET /socket.io/?room=940515&token=undefined&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-14 01:19:34,671 INFO 18183 [-/192.168.0.102/-/210ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTM5MDM3NCwiZXhwIjoxNTg5NDExOTc0fQ.ruk46TFXuhvTiJpb4X3yakp4IIDzCAUNhA8mo0rufw8
|
||||
2020-05-14 01:19:34,673 INFO 18183 [-/192.168.0.102/-/212ms POST /node/user/login] {
|
||||
fetchStart: 1589390374466,
|
||||
url: '/node/user/login',
|
||||
requestBody: { userAccount: 'cai111', password: '123' },
|
||||
message: 'POST /node/user/login info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589300817692
|
||||
fetchEnd: 1589390374673
|
||||
}
|
||||
2020-05-13 00:55:18,647 ERROR 10142 [-/192.168.0.110/-/17ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkyODg0OTMsImV4cCI6MTU4OTMxMDA5M30.PXUIHiGCM4BQICZ_BymL0EMaBcsBdXkphPdb93K93Ks&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:55:24,222 ERROR 10142 [-/192.168.0.110/-/3ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkyODg0OTMsImV4cCI6MTU4OTMxMDA5M30.PXUIHiGCM4BQICZ_BymL0EMaBcsBdXkphPdb93K93Ks&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:55:27,523 ERROR 10142 [-/192.168.0.102/-/5ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTMwMDgxNywiZXhwIjoxNTg5MzIyNDE3fQ.yL0K89W1xPF6MnGDpv35IsM8FzxvG4R4d_pwgK0KLDs&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:57:18,725 INFO 10142 [-/undefined/-/10271ms POST /node/game/room] {
|
||||
fetchStart: 1589302628475,
|
||||
url: '/node/game/room',
|
||||
requestBody: {},
|
||||
message: 'POST /node/game/room info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589302638724
|
||||
}
|
||||
2020-05-13 00:57:26,519 INFO 10142 [-/192.168.0.110/-/202ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzMDI2NDYsImV4cCI6MTU4OTMyNDI0Nn0.t01MJ-AhyISF29qJwJ633fKJhwtjpYRAH2-kWf4RFgk
|
||||
2020-05-13 00:57:26,519 INFO 10142 [-/192.168.0.110/-/203ms POST /node/user/login] {
|
||||
fetchStart: 1589302646317,
|
||||
2020-05-14 01:22:26,064 INFO 18342 [-/192.168.0.102/-/208ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTM5MDU0NiwiZXhwIjoxNTg5NDEyMTQ2fQ.ESfFJWSmasxyaxcZ_bMRGjMkqN1a6YArIZFCsIGMVM4
|
||||
2020-05-14 01:22:26,067 INFO 18342 [-/192.168.0.102/-/211ms POST /node/user/login] {
|
||||
fetchStart: 1589390545874,
|
||||
url: '/node/user/login',
|
||||
requestBody: { userAccount: 'cai', password: '123' },
|
||||
requestBody: { userAccount: 'cai111', password: '123' },
|
||||
message: 'POST /node/user/login info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589302646519
|
||||
}
|
||||
2020-05-13 00:57:27,380 INFO 10142 [-/192.168.0.110/-/102ms POST /node/game/room] {
|
||||
fetchStart: 1589302647279,
|
||||
url: '/node/game/room',
|
||||
requestBody: {},
|
||||
message: 'POST /node/game/room info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589302647380
|
||||
}
|
||||
2020-05-13 00:57:37,592 ERROR 10142 [-/192.168.0.110/-/6ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTI5Mzg4MCwiZXhwIjoxNTg5MzE1NDgwfQ.NDb5EoN-mhLXTPM74_d6rVek5mWAYFVV2QBX6qisuH0&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:57:47,078 INFO 10142 [-/192.168.0.110/-/197ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjY2NywiZXhwIjoxNTg5MzI0MjY3fQ.rwlDPpbPM7t8UXBt8blI_wlibyBxqTxWrhoz9DhQYzg
|
||||
2020-05-13 00:57:47,079 INFO 10142 [-/192.168.0.110/-/198ms POST /node/user/login] {
|
||||
fetchStart: 1589302666883,
|
||||
url: '/node/user/login',
|
||||
requestBody: { userAccount: 'cai11', password: '123' },
|
||||
message: 'POST /node/user/login info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589302667079
|
||||
}
|
||||
2020-05-13 00:57:49,301 INFO 10142 [-/192.168.0.110/-/106ms POST /node/game/room] {
|
||||
fetchStart: 1589302669201,
|
||||
url: '/node/game/room',
|
||||
requestBody: {},
|
||||
message: 'POST /node/game/room info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589302669301
|
||||
}
|
||||
2020-05-13 00:58:07,733 ERROR 10142 [-/192.168.0.102/-/3ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTMwMDgxNywiZXhwIjoxNTg5MzIyNDE3fQ.yL0K89W1xPF6MnGDpv35IsM8FzxvG4R4d_pwgK0KLDs&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:58:31,699 INFO 10142 [-/192.168.0.102/-/199ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjcxMSwiZXhwIjoxNTg5MzI0MzExfQ.0gxUdm6HoGeCvqWgmOQS9Y7BLnPByxWsLC8ABR_-ePM
|
||||
2020-05-13 00:58:31,699 INFO 10142 [-/192.168.0.102/-/199ms POST /node/user/login] {
|
||||
fetchStart: 1589302711501,
|
||||
url: '/node/user/login',
|
||||
requestBody: { userAccount: 'cai11', password: '123' },
|
||||
message: 'POST /node/user/login info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589302711699
|
||||
fetchEnd: 1589390546067
|
||||
}
|
||||
|
||||
@@ -0,0 +1,185 @@
|
||||
2020-05-13 00:13:49,822 ERROR 9858 [-/127.0.0.1/-/0ms 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 (<anonymous>)
|
||||
at Pool.<anonymous> (/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: 9858
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 00:25:09,314 ERROR 10142 [-/192.168.0.102/-/22ms GET /socket.io/?room=194379&token=undefined&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:25:47,866 INFO 10142 [-/192.168.0.102/-/205ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMDc0NywiZXhwIjoxNTg5MzIyMzQ3fQ.hcWYMt2rI-yHcUAZgXfEDl2HMxPxl8WgkJ468AGMNlg
|
||||
2020-05-13 00:25:47,868 INFO 10142 [-/192.168.0.102/-/206ms POST /node/user/login] {
|
||||
fetchStart: 1589300747667,
|
||||
url: '/node/user/login',
|
||||
requestBody: { userAccount: 'cai11', password: '123' },
|
||||
message: 'POST /node/user/login info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589300747867
|
||||
}
|
||||
2020-05-13 00:26:57,690 INFO 10142 [-/192.168.0.102/-/194ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTMwMDgxNywiZXhwIjoxNTg5MzIyNDE3fQ.yL0K89W1xPF6MnGDpv35IsM8FzxvG4R4d_pwgK0KLDs
|
||||
2020-05-13 00:26:57,692 INFO 10142 [-/192.168.0.102/-/196ms POST /node/user/login] {
|
||||
fetchStart: 1589300817498,
|
||||
url: '/node/user/login',
|
||||
requestBody: { userAccount: 'cai111', password: '123' },
|
||||
message: 'POST /node/user/login info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589300817692
|
||||
}
|
||||
2020-05-13 00:55:18,647 ERROR 10142 [-/192.168.0.110/-/17ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkyODg0OTMsImV4cCI6MTU4OTMxMDA5M30.PXUIHiGCM4BQICZ_BymL0EMaBcsBdXkphPdb93K93Ks&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:55:24,222 ERROR 10142 [-/192.168.0.110/-/3ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkyODg0OTMsImV4cCI6MTU4OTMxMDA5M30.PXUIHiGCM4BQICZ_BymL0EMaBcsBdXkphPdb93K93Ks&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:55:27,523 ERROR 10142 [-/192.168.0.102/-/5ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTMwMDgxNywiZXhwIjoxNTg5MzIyNDE3fQ.yL0K89W1xPF6MnGDpv35IsM8FzxvG4R4d_pwgK0KLDs&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:57:18,725 INFO 10142 [-/undefined/-/10271ms POST /node/game/room] {
|
||||
fetchStart: 1589302628475,
|
||||
url: '/node/game/room',
|
||||
requestBody: {},
|
||||
message: 'POST /node/game/room info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589302638724
|
||||
}
|
||||
2020-05-13 00:57:26,519 INFO 10142 [-/192.168.0.110/-/202ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzMDI2NDYsImV4cCI6MTU4OTMyNDI0Nn0.t01MJ-AhyISF29qJwJ633fKJhwtjpYRAH2-kWf4RFgk
|
||||
2020-05-13 00:57:26,519 INFO 10142 [-/192.168.0.110/-/203ms POST /node/user/login] {
|
||||
fetchStart: 1589302646317,
|
||||
url: '/node/user/login',
|
||||
requestBody: { userAccount: 'cai', password: '123' },
|
||||
message: 'POST /node/user/login info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589302646519
|
||||
}
|
||||
2020-05-13 00:57:27,380 INFO 10142 [-/192.168.0.110/-/102ms POST /node/game/room] {
|
||||
fetchStart: 1589302647279,
|
||||
url: '/node/game/room',
|
||||
requestBody: {},
|
||||
message: 'POST /node/game/room info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589302647380
|
||||
}
|
||||
2020-05-13 00:57:37,592 ERROR 10142 [-/192.168.0.110/-/6ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTI5Mzg4MCwiZXhwIjoxNTg5MzE1NDgwfQ.NDb5EoN-mhLXTPM74_d6rVek5mWAYFVV2QBX6qisuH0&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:57:47,078 INFO 10142 [-/192.168.0.110/-/197ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjY2NywiZXhwIjoxNTg5MzI0MjY3fQ.rwlDPpbPM7t8UXBt8blI_wlibyBxqTxWrhoz9DhQYzg
|
||||
2020-05-13 00:57:47,079 INFO 10142 [-/192.168.0.110/-/198ms POST /node/user/login] {
|
||||
fetchStart: 1589302666883,
|
||||
url: '/node/user/login',
|
||||
requestBody: { userAccount: 'cai11', password: '123' },
|
||||
message: 'POST /node/user/login info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589302667079
|
||||
}
|
||||
2020-05-13 00:57:49,301 INFO 10142 [-/192.168.0.110/-/106ms POST /node/game/room] {
|
||||
fetchStart: 1589302669201,
|
||||
url: '/node/game/room',
|
||||
requestBody: {},
|
||||
message: 'POST /node/game/room info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589302669301
|
||||
}
|
||||
2020-05-13 00:58:07,733 ERROR 10142 [-/192.168.0.102/-/3ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTMwMDgxNywiZXhwIjoxNTg5MzIyNDE3fQ.yL0K89W1xPF6MnGDpv35IsM8FzxvG4R4d_pwgK0KLDs&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:58:31,699 INFO 10142 [-/192.168.0.102/-/199ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjcxMSwiZXhwIjoxNTg5MzI0MzExfQ.0gxUdm6HoGeCvqWgmOQS9Y7BLnPByxWsLC8ABR_-ePM
|
||||
2020-05-13 00:58:31,699 INFO 10142 [-/192.168.0.102/-/199ms POST /node/user/login] {
|
||||
fetchStart: 1589302711501,
|
||||
url: '/node/user/login',
|
||||
requestBody: { userAccount: 'cai11', password: '123' },
|
||||
message: 'POST /node/user/login info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589302711699
|
||||
}
|
||||
2020-05-13 04:05:32,292 ERROR 10142 [-/192.168.0.110/-/20ms GET /socket.io/?room=121127&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjY2NywiZXhwIjoxNTg5MzI0MjY3fQ.rwlDPpbPM7t8UXBt8blI_wlibyBxqTxWrhoz9DhQYzg&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 20:15:13,242 ERROR 10142 [-/192.168.0.110/-/34ms GET /socket.io/?room=700435&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzMDI2NDYsImV4cCI6MTU4OTMyNDI0Nn0.t01MJ-AhyISF29qJwJ633fKJhwtjpYRAH2-kWf4RFgk&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 20:15:14,770 ERROR 10142 [-/192.168.0.110/-/6ms GET /socket.io/?room=121127&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjY2NywiZXhwIjoxNTg5MzI0MjY3fQ.rwlDPpbPM7t8UXBt8blI_wlibyBxqTxWrhoz9DhQYzg&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 21:17:27,064 ERROR 11881 [-/192.168.0.110/-/123ms GET /socket.io/?room=121127&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjY2NywiZXhwIjoxNTg5MzI0MjY3fQ.rwlDPpbPM7t8UXBt8blI_wlibyBxqTxWrhoz9DhQYzg&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 21:19:16,045 INFO 11973 [-/192.168.0.110/-/275ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzNzU5NTYsImV4cCI6MTU4OTM5NzU1Nn0.rjTkkfVRAvFwxkutLExEO1SDOBnymyDKnnte2sgQQgw
|
||||
2020-05-13 21:19:16,050 INFO 11973 [-/192.168.0.110/-/281ms POST /node/user/login] {
|
||||
fetchStart: 1589375955798,
|
||||
url: '/node/user/login',
|
||||
requestBody: { userAccount: 'cai', password: '123' },
|
||||
message: 'POST /node/user/login info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589375956050
|
||||
}
|
||||
2020-05-13 21:19:17,428 INFO 11973 [-/192.168.0.110/-/128ms POST /node/game/room] {
|
||||
fetchStart: 1589375957303,
|
||||
url: '/node/game/room',
|
||||
requestBody: {},
|
||||
message: 'POST /node/game/room info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589375957428
|
||||
}
|
||||
2020-05-13 21:19:36,297 ERROR 11973 [-/192.168.0.110/-/31ms GET /socket.io/?room=121127&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjY2NywiZXhwIjoxNTg5MzI0MjY3fQ.rwlDPpbPM7t8UXBt8blI_wlibyBxqTxWrhoz9DhQYzg&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 21:19:48,281 INFO 11973 [-/192.168.0.110/-/219ms POST /node/user/login] AccountService getToken token--eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTM3NTk4OCwiZXhwIjoxNTg5Mzk3NTg4fQ.HgTT61q2AYW_PbRajx4fSelOdGUtOH2GEsWhPi1IHAA
|
||||
2020-05-13 21:19:48,282 INFO 11973 [-/192.168.0.110/-/220ms POST /node/user/login] {
|
||||
fetchStart: 1589375988063,
|
||||
url: '/node/user/login',
|
||||
requestBody: { userAccount: 'cai11', password: '123' },
|
||||
message: 'POST /node/user/login info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589375988282
|
||||
}
|
||||
2020-05-13 21:19:50,630 INFO 11973 [-/192.168.0.110/-/114ms POST /node/game/room] {
|
||||
fetchStart: 1589375990517,
|
||||
url: '/node/game/room',
|
||||
requestBody: {},
|
||||
message: 'POST /node/game/room info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589375990630
|
||||
}
|
||||
2020-05-13 22:24:18,590 ERROR 12178 [-/192.168.0.110/-/10ms GET /socket.io/?room=879571&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzNzU5NTYsImV4cCI6MTU4OTM5NzU1Nn0.rjTkkfVRAvFwxkutLExEO1SDOBnymyDKnnte2sgQQgw&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 22:24:26,247 ERROR 12178 [-/192.168.0.110/-/2ms GET /socket.io/?room=879571&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzNzU5NTYsImV4cCI6MTU4OTM5NzU1Nn0.rjTkkfVRAvFwxkutLExEO1SDOBnymyDKnnte2sgQQgw&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 22:24:33,586 INFO 12178 [-/192.168.0.110/-/208ms POST /node/game/room] {
|
||||
fetchStart: 1589379873379,
|
||||
url: '/node/game/room',
|
||||
requestBody: {},
|
||||
message: 'POST /node/game/room info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589379873586
|
||||
}
|
||||
2020-05-13 22:24:39,801 INFO 12178 [-/undefined/-/10133ms POST /node/game/room] {
|
||||
fetchStart: 1589379873379,
|
||||
url: '/node/game/room',
|
||||
requestBody: {},
|
||||
message: 'POST /node/game/room info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589379879800
|
||||
}
|
||||
2020-05-13 23:24:58,774 ERROR 14600 [-/192.168.0.110/-/5ms GET /socket.io/?room=467504&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzNzU5NTYsImV4cCI6MTU4OTM5NzU1Nn0.rjTkkfVRAvFwxkutLExEO1SDOBnymyDKnnte2sgQQgw&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 23:25:06,186 ERROR 14709 [-/192.168.0.110/-/8ms GET /socket.io/?room=467504&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTM3NTk4OCwiZXhwIjoxNTg5Mzk3NTg4fQ.HgTT61q2AYW_PbRajx4fSelOdGUtOH2GEsWhPi1IHAA&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 23:25:10,033 INFO 14709 [-/192.168.0.110/-/122ms POST /node/game/room] {
|
||||
fetchStart: 1589383509914,
|
||||
url: '/node/game/room',
|
||||
requestBody: {},
|
||||
message: 'POST /node/game/room info',
|
||||
level: 'INFO',
|
||||
status: 200,
|
||||
fetchEnd: 1589383510032
|
||||
}
|
||||
2020-05-13 23:25:13,031 ERROR 14709 [-/192.168.0.110/-/2ms GET /socket.io/?room=467504&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTM3NTk4OCwiZXhwIjoxNTg5Mzk3NTg4fQ.HgTT61q2AYW_PbRajx4fSelOdGUtOH2GEsWhPi1IHAA&EIO=3&transport=websocket] room service tick null
|
||||
@@ -1,102 +1,171 @@
|
||||
2020-05-13 00:00:01,066 INFO 9393 [egg-logrotator] app logger reload: got log-reload message
|
||||
2020-05-13 00:07:17,117 INFO 9671 [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-05-13 00:07:17,159 INFO 9671 [egg-multipart] stream mode enable
|
||||
2020-05-13 00:07:17,201 INFO 9671 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 00:07:17,226 INFO 9671 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 00:07:17,385 INFO 9671 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 00:07:17,388 INFO 9671 [egg-security] use noopen middleware
|
||||
2020-05-13 00:07:17,389 INFO 9671 [egg-security] use nosniff middleware
|
||||
2020-05-13 00:07:17,390 INFO 9671 [egg-security] use xssProtection middleware
|
||||
2020-05-13 00:07:17,391 INFO 9671 [egg-security] use xframe middleware
|
||||
2020-05-13 00:07:17,391 INFO 9671 [egg-security] use dta middleware
|
||||
2020-05-13 00:07:17,391 INFO 9671 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 00:07:17,480 INFO 9671 [egg:core] dump config after load, 26ms
|
||||
2020-05-13 00:07:17,587 INFO 9671 [egg-redis] client connect success
|
||||
2020-05-13 00:07:17,632 INFO 9671 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 00:07:17,639 INFO 9671 [egg-watcher:application] watcher start success
|
||||
2020-05-13 00:07:17,731 INFO 9671 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 00:07:17 GMT+0800 (China Standard Time)
|
||||
2020-05-13 00:07:17,766 INFO 9671 [egg:core] dump config after ready, 10ms
|
||||
2020-05-13 00:13:24,108 INFO 9841 [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-05-13 00:13:24,142 INFO 9841 [egg-multipart] stream mode enable
|
||||
2020-05-13 00:13:24,224 INFO 9841 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 00:13:24,265 INFO 9841 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 00:13:24,475 INFO 9841 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 00:13:24,479 INFO 9841 [egg-security] use noopen middleware
|
||||
2020-05-13 00:13:24,480 INFO 9841 [egg-security] use nosniff middleware
|
||||
2020-05-13 00:13:24,481 INFO 9841 [egg-security] use xssProtection middleware
|
||||
2020-05-13 00:13:24,481 INFO 9841 [egg-security] use xframe middleware
|
||||
2020-05-13 00:13:24,482 INFO 9841 [egg-security] use dta middleware
|
||||
2020-05-13 00:13:24,482 INFO 9841 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 00:13:24,492 INFO 9841 [egg:core] dump config after load, 8ms
|
||||
2020-05-13 00:13:24,517 INFO 9841 [egg-redis] client connect success
|
||||
2020-05-13 00:13:24,528 INFO 9841 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 00:13:24,534 INFO 9841 [egg-watcher:application] watcher start success
|
||||
2020-05-13 00:13:24,685 INFO 9841 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 00:13:24 GMT+0800 (China Standard Time)
|
||||
2020-05-13 00:13:24,711 INFO 9841 [egg:core] dump config after ready, 8ms
|
||||
2020-05-13 00:13:39,522 INFO 9858 [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-05-13 00:13:39,550 INFO 9858 [egg-multipart] stream mode enable
|
||||
2020-05-13 00:13:39,605 INFO 9858 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 00:13:39,621 INFO 9858 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 00:13:39,782 INFO 9858 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 00:13:39,784 INFO 9858 [egg-security] use noopen middleware
|
||||
2020-05-13 00:13:39,785 INFO 9858 [egg-security] use nosniff middleware
|
||||
2020-05-13 00:13:39,786 INFO 9858 [egg-security] use xssProtection middleware
|
||||
2020-05-13 00:13:39,787 INFO 9858 [egg-security] use xframe middleware
|
||||
2020-05-13 00:13:39,788 INFO 9858 [egg-security] use dta middleware
|
||||
2020-05-13 00:13:39,788 INFO 9858 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 00:13:39,796 INFO 9858 [egg:core] dump config after load, 5ms
|
||||
2020-05-13 00:13:39,821 INFO 9858 [egg-redis] client connect success
|
||||
2020-05-13 00:13:39,827 INFO 9858 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 00:13:39,836 INFO 9858 [egg-watcher:application] watcher start success
|
||||
2020-05-13 00:13:49,843 INFO 9858 [egg:core] dump config after ready, 6ms
|
||||
2020-05-13 00:14:12,826 INFO 9883 [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-05-13 00:14:12,858 INFO 9883 [egg-multipart] stream mode enable
|
||||
2020-05-13 00:14:12,911 INFO 9883 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 00:14:12,929 INFO 9883 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 00:14:13,092 INFO 9883 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 00:14:13,096 INFO 9883 [egg-security] use noopen middleware
|
||||
2020-05-13 00:14:13,097 INFO 9883 [egg-security] use nosniff middleware
|
||||
2020-05-13 00:14:13,098 INFO 9883 [egg-security] use xssProtection middleware
|
||||
2020-05-13 00:14:13,099 INFO 9883 [egg-security] use xframe middleware
|
||||
2020-05-13 00:14:13,100 INFO 9883 [egg-security] use dta middleware
|
||||
2020-05-13 00:14:13,100 INFO 9883 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 00:14:13,110 INFO 9883 [egg:core] dump config after load, 5ms
|
||||
2020-05-13 00:14:13,124 INFO 9883 [egg-redis] client connect success
|
||||
2020-05-13 00:14:13,130 INFO 9883 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 00:14:13,132 INFO 9883 [egg-watcher:application] watcher start success
|
||||
2020-05-13 00:14:13,315 INFO 9883 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 00:14:13 GMT+0800 (China Standard Time)
|
||||
2020-05-13 00:14:13,340 INFO 9883 [egg:core] dump config after ready, 5ms
|
||||
2020-05-13 00:15:16,140 INFO 9908 [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-05-13 00:15:16,196 INFO 9908 [egg-multipart] stream mode enable
|
||||
2020-05-13 00:15:16,311 INFO 9908 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 00:15:16,343 INFO 9908 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 00:15:16,717 INFO 9908 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 00:15:16,719 INFO 9908 [egg-security] use noopen middleware
|
||||
2020-05-13 00:15:16,720 INFO 9908 [egg-security] use nosniff middleware
|
||||
2020-05-13 00:15:16,720 INFO 9908 [egg-security] use xssProtection middleware
|
||||
2020-05-13 00:15:16,721 INFO 9908 [egg-security] use xframe middleware
|
||||
2020-05-13 00:15:16,722 INFO 9908 [egg-security] use dta middleware
|
||||
2020-05-13 00:15:16,722 INFO 9908 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 00:15:16,732 INFO 9908 [egg:core] dump config after load, 6ms
|
||||
2020-05-13 00:15:16,755 INFO 9908 [egg-redis] client connect success
|
||||
2020-05-13 00:15:16,766 INFO 9908 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 00:15:16,770 INFO 9908 [egg-watcher:application] watcher start success
|
||||
2020-05-13 00:15:16,924 INFO 9908 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 00:15:16 GMT+0800 (China Standard Time)
|
||||
2020-05-13 00:15:16,958 INFO 9908 [egg:core] dump config after ready, 11ms
|
||||
2020-05-13 00:22:45,529 INFO 10142 [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-05-13 00:22:45,620 INFO 10142 [egg-multipart] stream mode enable
|
||||
2020-05-13 00:22:45,705 INFO 10142 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 00:22:45,731 INFO 10142 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 00:22:45,997 INFO 10142 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 00:22:45,999 INFO 10142 [egg-security] use noopen middleware
|
||||
2020-05-13 00:22:46,000 INFO 10142 [egg-security] use nosniff middleware
|
||||
2020-05-13 00:22:46,000 INFO 10142 [egg-security] use xssProtection middleware
|
||||
2020-05-13 00:22:46,001 INFO 10142 [egg-security] use xframe middleware
|
||||
2020-05-13 00:22:46,002 INFO 10142 [egg-security] use dta middleware
|
||||
2020-05-13 00:22:46,002 INFO 10142 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 00:22:46,009 INFO 10142 [egg:core] dump config after load, 5ms
|
||||
2020-05-13 00:22:46,022 INFO 10142 [egg-redis] client connect success
|
||||
2020-05-13 00:22:46,026 INFO 10142 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 00:22:46,029 INFO 10142 [egg-watcher:application] watcher start success
|
||||
2020-05-13 00:22:46,267 INFO 10142 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 00:22:46 GMT+0800 (China Standard Time)
|
||||
2020-05-13 00:22:46,292 INFO 10142 [egg:core] dump config after ready, 8ms
|
||||
2020-05-14 00:00:01,029 INFO 15622 [egg-logrotator] app logger reload: got log-reload message
|
||||
2020-05-14 00:04:56,684 INFO 15925 [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-05-14 00:04:56,742 INFO 15925 [egg-multipart] stream mode enable
|
||||
2020-05-14 00:04:56,788 INFO 15925 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-14 00:04:56,810 INFO 15925 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-14 00:04:56,942 INFO 15925 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-14 00:04:56,944 INFO 15925 [egg-security] use noopen middleware
|
||||
2020-05-14 00:04:56,945 INFO 15925 [egg-security] use nosniff middleware
|
||||
2020-05-14 00:04:56,945 INFO 15925 [egg-security] use xssProtection middleware
|
||||
2020-05-14 00:04:56,946 INFO 15925 [egg-security] use xframe middleware
|
||||
2020-05-14 00:04:56,946 INFO 15925 [egg-security] use dta middleware
|
||||
2020-05-14 00:04:56,946 INFO 15925 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-14 00:04:56,955 INFO 15925 [egg:core] dump config after load, 6ms
|
||||
2020-05-14 00:04:56,970 INFO 15925 [egg-redis] client connect success
|
||||
2020-05-14 00:04:56,978 INFO 15925 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-14 00:04:56,981 INFO 15925 [egg-watcher:application] watcher start success
|
||||
2020-05-14 00:04:57,146 INFO 15925 [egg-mysql] instance[0] status OK, rds currentTime: Thu May 14 2020 00:04:57 GMT+0800 (China Standard Time)
|
||||
2020-05-14 00:04:57,168 INFO 15925 [egg:core] dump config after ready, 6ms
|
||||
2020-05-14 00:09:06,830 INFO 16050 [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-05-14 00:09:06,858 INFO 16050 [egg-multipart] stream mode enable
|
||||
2020-05-14 00:09:06,909 INFO 16050 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-14 00:09:06,933 INFO 16050 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-14 00:09:07,099 INFO 16050 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-14 00:09:07,101 INFO 16050 [egg-security] use noopen middleware
|
||||
2020-05-14 00:09:07,102 INFO 16050 [egg-security] use nosniff middleware
|
||||
2020-05-14 00:09:07,103 INFO 16050 [egg-security] use xssProtection middleware
|
||||
2020-05-14 00:09:07,104 INFO 16050 [egg-security] use xframe middleware
|
||||
2020-05-14 00:09:07,105 INFO 16050 [egg-security] use dta middleware
|
||||
2020-05-14 00:09:07,105 INFO 16050 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-14 00:09:07,114 INFO 16050 [egg:core] dump config after load, 6ms
|
||||
2020-05-14 00:09:07,129 INFO 16050 [egg-redis] client connect success
|
||||
2020-05-14 00:09:07,144 INFO 16050 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-14 00:09:07,154 INFO 16050 [egg-watcher:application] watcher start success
|
||||
2020-05-14 00:09:07,320 INFO 16050 [egg-mysql] instance[0] status OK, rds currentTime: Thu May 14 2020 00:09:07 GMT+0800 (China Standard Time)
|
||||
2020-05-14 00:09:07,350 INFO 16050 [egg:core] dump config after ready, 6ms
|
||||
2020-05-14 00:44:53,918 INFO 17109 [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-05-14 00:44:53,995 INFO 17109 [egg-multipart] stream mode enable
|
||||
2020-05-14 00:44:54,081 INFO 17109 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-14 00:44:54,128 INFO 17109 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-14 00:44:54,396 INFO 17109 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-14 00:44:54,400 INFO 17109 [egg-security] use noopen middleware
|
||||
2020-05-14 00:44:54,401 INFO 17109 [egg-security] use nosniff middleware
|
||||
2020-05-14 00:44:54,402 INFO 17109 [egg-security] use xssProtection middleware
|
||||
2020-05-14 00:44:54,403 INFO 17109 [egg-security] use xframe middleware
|
||||
2020-05-14 00:44:54,403 INFO 17109 [egg-security] use dta middleware
|
||||
2020-05-14 00:44:54,403 INFO 17109 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-14 00:44:54,413 INFO 17109 [egg:core] dump config after load, 7ms
|
||||
2020-05-14 00:44:54,438 INFO 17109 [egg-redis] client connect success
|
||||
2020-05-14 00:44:54,445 INFO 17109 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-14 00:44:54,472 INFO 17109 [egg-watcher:application] watcher start success
|
||||
2020-05-14 00:44:54,841 INFO 17109 [egg-mysql] instance[0] status OK, rds currentTime: Thu May 14 2020 00:44:54 GMT+0800 (China Standard Time)
|
||||
2020-05-14 00:44:54,889 INFO 17109 [egg:core] dump config after ready, 11ms
|
||||
2020-05-14 00:49:13,440 INFO 17239 [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-05-14 00:49:13,469 INFO 17239 [egg-multipart] stream mode enable
|
||||
2020-05-14 00:49:13,524 INFO 17239 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-14 00:49:13,546 INFO 17239 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-14 00:49:13,724 INFO 17239 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-14 00:49:13,726 INFO 17239 [egg-security] use noopen middleware
|
||||
2020-05-14 00:49:13,727 INFO 17239 [egg-security] use nosniff middleware
|
||||
2020-05-14 00:49:13,728 INFO 17239 [egg-security] use xssProtection middleware
|
||||
2020-05-14 00:49:13,729 INFO 17239 [egg-security] use xframe middleware
|
||||
2020-05-14 00:49:13,730 INFO 17239 [egg-security] use dta middleware
|
||||
2020-05-14 00:49:13,730 INFO 17239 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-14 00:49:13,738 INFO 17239 [egg:core] dump config after load, 5ms
|
||||
2020-05-14 00:49:13,751 INFO 17239 [egg-redis] client connect success
|
||||
2020-05-14 00:49:13,756 INFO 17239 [egg-watcher:application] watcher start success
|
||||
2020-05-14 00:49:13,759 INFO 17239 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-14 00:49:13,946 INFO 17239 [egg-mysql] instance[0] status OK, rds currentTime: Thu May 14 2020 00:49:13 GMT+0800 (China Standard Time)
|
||||
2020-05-14 00:49:13,976 INFO 17239 [egg:core] dump config after ready, 7ms
|
||||
2020-05-14 00:53:25,892 INFO 17353 [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-05-14 00:53:25,946 INFO 17353 [egg-multipart] stream mode enable
|
||||
2020-05-14 00:53:26,182 INFO 17353 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-14 00:53:26,253 INFO 17353 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-14 00:53:26,490 INFO 17353 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-14 00:53:26,492 INFO 17353 [egg-security] use noopen middleware
|
||||
2020-05-14 00:53:26,492 INFO 17353 [egg-security] use nosniff middleware
|
||||
2020-05-14 00:53:26,493 INFO 17353 [egg-security] use xssProtection middleware
|
||||
2020-05-14 00:53:26,493 INFO 17353 [egg-security] use xframe middleware
|
||||
2020-05-14 00:53:26,494 INFO 17353 [egg-security] use dta middleware
|
||||
2020-05-14 00:53:26,494 INFO 17353 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-14 00:53:26,502 INFO 17353 [egg:core] dump config after load, 5ms
|
||||
2020-05-14 00:53:26,536 INFO 17353 [egg-redis] client connect success
|
||||
2020-05-14 00:53:26,559 INFO 17353 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-14 00:53:26,562 INFO 17353 [egg-watcher:application] watcher start success
|
||||
2020-05-14 00:53:26,738 INFO 17353 [egg-mysql] instance[0] status OK, rds currentTime: Thu May 14 2020 00:53:26 GMT+0800 (China Standard Time)
|
||||
2020-05-14 00:53:26,756 INFO 17353 [egg:core] dump config after ready, 5ms
|
||||
2020-05-14 00:56:35,709 INFO 17450 [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-05-14 00:56:35,738 INFO 17450 [egg-multipart] stream mode enable
|
||||
2020-05-14 00:56:35,780 INFO 17450 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-14 00:56:35,795 INFO 17450 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-14 00:56:36,016 INFO 17450 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-14 00:56:36,018 INFO 17450 [egg-security] use noopen middleware
|
||||
2020-05-14 00:56:36,019 INFO 17450 [egg-security] use nosniff middleware
|
||||
2020-05-14 00:56:36,020 INFO 17450 [egg-security] use xssProtection middleware
|
||||
2020-05-14 00:56:36,021 INFO 17450 [egg-security] use xframe middleware
|
||||
2020-05-14 00:56:36,022 INFO 17450 [egg-security] use dta middleware
|
||||
2020-05-14 00:56:36,022 INFO 17450 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-14 00:56:36,030 INFO 17450 [egg:core] dump config after load, 5ms
|
||||
2020-05-14 00:56:36,062 INFO 17450 [egg-redis] client connect success
|
||||
2020-05-14 00:56:36,067 INFO 17450 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-14 00:56:36,069 INFO 17450 [egg-watcher:application] watcher start success
|
||||
2020-05-14 00:56:36,276 INFO 17450 [egg-mysql] instance[0] status OK, rds currentTime: Thu May 14 2020 00:56:36 GMT+0800 (China Standard Time)
|
||||
2020-05-14 00:56:36,301 INFO 17450 [egg:core] dump config after ready, 6ms
|
||||
2020-05-14 01:17:09,381 INFO 18102 [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-05-14 01:17:09,404 INFO 18102 [egg-multipart] stream mode enable
|
||||
2020-05-14 01:17:09,465 INFO 18102 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-14 01:17:09,484 INFO 18102 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-14 01:17:09,665 INFO 18102 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-14 01:17:09,668 INFO 18102 [egg-security] use noopen middleware
|
||||
2020-05-14 01:17:09,669 INFO 18102 [egg-security] use nosniff middleware
|
||||
2020-05-14 01:17:09,670 INFO 18102 [egg-security] use xssProtection middleware
|
||||
2020-05-14 01:17:09,671 INFO 18102 [egg-security] use xframe middleware
|
||||
2020-05-14 01:17:09,672 INFO 18102 [egg-security] use dta middleware
|
||||
2020-05-14 01:17:09,673 INFO 18102 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-14 01:17:09,685 INFO 18102 [egg:core] dump config after load, 9ms
|
||||
2020-05-14 01:17:09,701 INFO 18102 [egg-redis] client connect success
|
||||
2020-05-14 01:17:09,706 INFO 18102 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-14 01:17:09,708 INFO 18102 [egg-watcher:application] watcher start success
|
||||
2020-05-14 01:17:09,884 INFO 18102 [egg-mysql] instance[0] status OK, rds currentTime: Thu May 14 2020 01:17:09 GMT+0800 (China Standard Time)
|
||||
2020-05-14 01:17:09,902 INFO 18102 [egg:core] dump config after ready, 7ms
|
||||
2020-05-14 01:18:18,688 INFO 18164 [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-05-14 01:18:18,728 INFO 18164 [egg-multipart] stream mode enable
|
||||
2020-05-14 01:18:18,771 INFO 18164 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-14 01:18:18,806 INFO 18164 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-14 01:18:18,958 INFO 18164 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-14 01:18:18,960 INFO 18164 [egg-security] use noopen middleware
|
||||
2020-05-14 01:18:18,961 INFO 18164 [egg-security] use nosniff middleware
|
||||
2020-05-14 01:18:18,962 INFO 18164 [egg-security] use xssProtection middleware
|
||||
2020-05-14 01:18:18,963 INFO 18164 [egg-security] use xframe middleware
|
||||
2020-05-14 01:18:18,963 INFO 18164 [egg-security] use dta middleware
|
||||
2020-05-14 01:18:18,963 INFO 18164 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-14 01:18:18,976 INFO 18164 [egg:core] dump config after load, 10ms
|
||||
2020-05-14 01:18:19,008 INFO 18164 [egg-redis] client connect success
|
||||
2020-05-14 01:18:19,024 INFO 18164 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-14 01:18:19,029 INFO 18164 [egg-watcher:application] watcher start success
|
||||
2020-05-14 01:18:19,186 INFO 18164 [egg-mysql] instance[0] status OK, rds currentTime: Thu May 14 2020 01:18:19 GMT+0800 (China Standard Time)
|
||||
2020-05-14 01:18:19,208 INFO 18164 [egg:core] dump config after ready, 9ms
|
||||
2020-05-14 01:18:28,649 INFO 18183 [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-05-14 01:18:28,679 INFO 18183 [egg-multipart] stream mode enable
|
||||
2020-05-14 01:18:28,715 INFO 18183 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-14 01:18:28,731 INFO 18183 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-14 01:18:28,924 INFO 18183 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-14 01:18:28,926 INFO 18183 [egg-security] use noopen middleware
|
||||
2020-05-14 01:18:28,927 INFO 18183 [egg-security] use nosniff middleware
|
||||
2020-05-14 01:18:28,927 INFO 18183 [egg-security] use xssProtection middleware
|
||||
2020-05-14 01:18:28,929 INFO 18183 [egg-security] use xframe middleware
|
||||
2020-05-14 01:18:28,931 INFO 18183 [egg-security] use dta middleware
|
||||
2020-05-14 01:18:28,931 INFO 18183 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-14 01:18:28,941 INFO 18183 [egg:core] dump config after load, 7ms
|
||||
2020-05-14 01:18:28,955 INFO 18183 [egg-redis] client connect success
|
||||
2020-05-14 01:18:28,961 INFO 18183 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-14 01:18:28,963 INFO 18183 [egg-watcher:application] watcher start success
|
||||
2020-05-14 01:18:29,142 INFO 18183 [egg-mysql] instance[0] status OK, rds currentTime: Thu May 14 2020 01:18:29 GMT+0800 (China Standard Time)
|
||||
2020-05-14 01:18:29,159 INFO 18183 [egg:core] dump config after ready, 5ms
|
||||
2020-05-14 01:22:14,400 INFO 18342 [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-05-14 01:22:14,422 INFO 18342 [egg-multipart] stream mode enable
|
||||
2020-05-14 01:22:14,479 INFO 18342 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-14 01:22:14,497 INFO 18342 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-14 01:22:14,666 INFO 18342 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-14 01:22:14,667 INFO 18342 [egg-security] use noopen middleware
|
||||
2020-05-14 01:22:14,668 INFO 18342 [egg-security] use nosniff middleware
|
||||
2020-05-14 01:22:14,669 INFO 18342 [egg-security] use xssProtection middleware
|
||||
2020-05-14 01:22:14,669 INFO 18342 [egg-security] use xframe middleware
|
||||
2020-05-14 01:22:14,670 INFO 18342 [egg-security] use dta middleware
|
||||
2020-05-14 01:22:14,670 INFO 18342 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-14 01:22:14,680 INFO 18342 [egg:core] dump config after load, 7ms
|
||||
2020-05-14 01:22:14,692 INFO 18342 [egg-redis] client connect success
|
||||
2020-05-14 01:22:14,697 INFO 18342 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-14 01:22:14,699 INFO 18342 [egg-watcher:application] watcher start success
|
||||
2020-05-14 01:22:14,875 INFO 18342 [egg-mysql] instance[0] status OK, rds currentTime: Thu May 14 2020 01:22:14 GMT+0800 (China Standard Time)
|
||||
2020-05-14 01:22:14,913 INFO 18342 [egg:core] dump config after ready, 8ms
|
||||
|
||||
@@ -0,0 +1,280 @@
|
||||
2020-05-13 00:00:01,066 INFO 9393 [egg-logrotator] app logger reload: got log-reload message
|
||||
2020-05-13 00:07:17,117 INFO 9671 [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-05-13 00:07:17,159 INFO 9671 [egg-multipart] stream mode enable
|
||||
2020-05-13 00:07:17,201 INFO 9671 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 00:07:17,226 INFO 9671 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 00:07:17,385 INFO 9671 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 00:07:17,388 INFO 9671 [egg-security] use noopen middleware
|
||||
2020-05-13 00:07:17,389 INFO 9671 [egg-security] use nosniff middleware
|
||||
2020-05-13 00:07:17,390 INFO 9671 [egg-security] use xssProtection middleware
|
||||
2020-05-13 00:07:17,391 INFO 9671 [egg-security] use xframe middleware
|
||||
2020-05-13 00:07:17,391 INFO 9671 [egg-security] use dta middleware
|
||||
2020-05-13 00:07:17,391 INFO 9671 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 00:07:17,480 INFO 9671 [egg:core] dump config after load, 26ms
|
||||
2020-05-13 00:07:17,587 INFO 9671 [egg-redis] client connect success
|
||||
2020-05-13 00:07:17,632 INFO 9671 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 00:07:17,639 INFO 9671 [egg-watcher:application] watcher start success
|
||||
2020-05-13 00:07:17,731 INFO 9671 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 00:07:17 GMT+0800 (China Standard Time)
|
||||
2020-05-13 00:07:17,766 INFO 9671 [egg:core] dump config after ready, 10ms
|
||||
2020-05-13 00:13:24,108 INFO 9841 [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-05-13 00:13:24,142 INFO 9841 [egg-multipart] stream mode enable
|
||||
2020-05-13 00:13:24,224 INFO 9841 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 00:13:24,265 INFO 9841 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 00:13:24,475 INFO 9841 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 00:13:24,479 INFO 9841 [egg-security] use noopen middleware
|
||||
2020-05-13 00:13:24,480 INFO 9841 [egg-security] use nosniff middleware
|
||||
2020-05-13 00:13:24,481 INFO 9841 [egg-security] use xssProtection middleware
|
||||
2020-05-13 00:13:24,481 INFO 9841 [egg-security] use xframe middleware
|
||||
2020-05-13 00:13:24,482 INFO 9841 [egg-security] use dta middleware
|
||||
2020-05-13 00:13:24,482 INFO 9841 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 00:13:24,492 INFO 9841 [egg:core] dump config after load, 8ms
|
||||
2020-05-13 00:13:24,517 INFO 9841 [egg-redis] client connect success
|
||||
2020-05-13 00:13:24,528 INFO 9841 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 00:13:24,534 INFO 9841 [egg-watcher:application] watcher start success
|
||||
2020-05-13 00:13:24,685 INFO 9841 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 00:13:24 GMT+0800 (China Standard Time)
|
||||
2020-05-13 00:13:24,711 INFO 9841 [egg:core] dump config after ready, 8ms
|
||||
2020-05-13 00:13:39,522 INFO 9858 [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-05-13 00:13:39,550 INFO 9858 [egg-multipart] stream mode enable
|
||||
2020-05-13 00:13:39,605 INFO 9858 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 00:13:39,621 INFO 9858 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 00:13:39,782 INFO 9858 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 00:13:39,784 INFO 9858 [egg-security] use noopen middleware
|
||||
2020-05-13 00:13:39,785 INFO 9858 [egg-security] use nosniff middleware
|
||||
2020-05-13 00:13:39,786 INFO 9858 [egg-security] use xssProtection middleware
|
||||
2020-05-13 00:13:39,787 INFO 9858 [egg-security] use xframe middleware
|
||||
2020-05-13 00:13:39,788 INFO 9858 [egg-security] use dta middleware
|
||||
2020-05-13 00:13:39,788 INFO 9858 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 00:13:39,796 INFO 9858 [egg:core] dump config after load, 5ms
|
||||
2020-05-13 00:13:39,821 INFO 9858 [egg-redis] client connect success
|
||||
2020-05-13 00:13:39,827 INFO 9858 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 00:13:39,836 INFO 9858 [egg-watcher:application] watcher start success
|
||||
2020-05-13 00:13:49,843 INFO 9858 [egg:core] dump config after ready, 6ms
|
||||
2020-05-13 00:14:12,826 INFO 9883 [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-05-13 00:14:12,858 INFO 9883 [egg-multipart] stream mode enable
|
||||
2020-05-13 00:14:12,911 INFO 9883 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 00:14:12,929 INFO 9883 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 00:14:13,092 INFO 9883 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 00:14:13,096 INFO 9883 [egg-security] use noopen middleware
|
||||
2020-05-13 00:14:13,097 INFO 9883 [egg-security] use nosniff middleware
|
||||
2020-05-13 00:14:13,098 INFO 9883 [egg-security] use xssProtection middleware
|
||||
2020-05-13 00:14:13,099 INFO 9883 [egg-security] use xframe middleware
|
||||
2020-05-13 00:14:13,100 INFO 9883 [egg-security] use dta middleware
|
||||
2020-05-13 00:14:13,100 INFO 9883 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 00:14:13,110 INFO 9883 [egg:core] dump config after load, 5ms
|
||||
2020-05-13 00:14:13,124 INFO 9883 [egg-redis] client connect success
|
||||
2020-05-13 00:14:13,130 INFO 9883 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 00:14:13,132 INFO 9883 [egg-watcher:application] watcher start success
|
||||
2020-05-13 00:14:13,315 INFO 9883 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 00:14:13 GMT+0800 (China Standard Time)
|
||||
2020-05-13 00:14:13,340 INFO 9883 [egg:core] dump config after ready, 5ms
|
||||
2020-05-13 00:15:16,140 INFO 9908 [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-05-13 00:15:16,196 INFO 9908 [egg-multipart] stream mode enable
|
||||
2020-05-13 00:15:16,311 INFO 9908 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 00:15:16,343 INFO 9908 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 00:15:16,717 INFO 9908 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 00:15:16,719 INFO 9908 [egg-security] use noopen middleware
|
||||
2020-05-13 00:15:16,720 INFO 9908 [egg-security] use nosniff middleware
|
||||
2020-05-13 00:15:16,720 INFO 9908 [egg-security] use xssProtection middleware
|
||||
2020-05-13 00:15:16,721 INFO 9908 [egg-security] use xframe middleware
|
||||
2020-05-13 00:15:16,722 INFO 9908 [egg-security] use dta middleware
|
||||
2020-05-13 00:15:16,722 INFO 9908 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 00:15:16,732 INFO 9908 [egg:core] dump config after load, 6ms
|
||||
2020-05-13 00:15:16,755 INFO 9908 [egg-redis] client connect success
|
||||
2020-05-13 00:15:16,766 INFO 9908 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 00:15:16,770 INFO 9908 [egg-watcher:application] watcher start success
|
||||
2020-05-13 00:15:16,924 INFO 9908 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 00:15:16 GMT+0800 (China Standard Time)
|
||||
2020-05-13 00:15:16,958 INFO 9908 [egg:core] dump config after ready, 11ms
|
||||
2020-05-13 00:22:45,529 INFO 10142 [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-05-13 00:22:45,620 INFO 10142 [egg-multipart] stream mode enable
|
||||
2020-05-13 00:22:45,705 INFO 10142 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 00:22:45,731 INFO 10142 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 00:22:45,997 INFO 10142 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 00:22:45,999 INFO 10142 [egg-security] use noopen middleware
|
||||
2020-05-13 00:22:46,000 INFO 10142 [egg-security] use nosniff middleware
|
||||
2020-05-13 00:22:46,000 INFO 10142 [egg-security] use xssProtection middleware
|
||||
2020-05-13 00:22:46,001 INFO 10142 [egg-security] use xframe middleware
|
||||
2020-05-13 00:22:46,002 INFO 10142 [egg-security] use dta middleware
|
||||
2020-05-13 00:22:46,002 INFO 10142 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 00:22:46,009 INFO 10142 [egg:core] dump config after load, 5ms
|
||||
2020-05-13 00:22:46,022 INFO 10142 [egg-redis] client connect success
|
||||
2020-05-13 00:22:46,026 INFO 10142 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 00:22:46,029 INFO 10142 [egg-watcher:application] watcher start success
|
||||
2020-05-13 00:22:46,267 INFO 10142 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 00:22:46 GMT+0800 (China Standard Time)
|
||||
2020-05-13 00:22:46,292 INFO 10142 [egg:core] dump config after ready, 8ms
|
||||
2020-05-13 02:05:18,821 WARN 10142 [ClusterClient:Watcher] follower closed, and try to init it again
|
||||
2020-05-13 04:05:28,287 WARN 10142 [TCPBase] socket is closed by other side while there were still unhandled data in the socket buffer
|
||||
2020-05-13 04:05:28,290 WARN 10142 [ClusterClient:Watcher] follower closed, and try to init it again
|
||||
2020-05-13 06:05:47,852 WARN 10142 [TCPBase] socket is closed by other side while there were still unhandled data in the socket buffer
|
||||
2020-05-13 06:05:47,866 WARN 10142 [ClusterClient:Watcher] follower closed, and try to init it again
|
||||
2020-05-13 08:06:26,289 WARN 10142 [ClusterClient:Watcher] follower closed, and try to init it again
|
||||
2020-05-13 10:06:43,791 WARN 10142 [ClusterClient:Watcher] follower closed, and try to init it again
|
||||
2020-05-13 12:07:01,700 WARN 10142 [ClusterClient:Watcher] follower closed, and try to init it again
|
||||
2020-05-13 13:06:12,446 WARN 10142 [ClusterClient:Watcher] follower closed, and try to init it again
|
||||
2020-05-13 20:15:12,160 WARN 10142 [ClusterClient:Watcher] follower closed, and try to init it again
|
||||
2020-05-13 21:16:04,054 WARN 10142 [ClusterClient:Watcher] follower closed, and try to init it again
|
||||
2020-05-13 21:16:57,352 INFO 11881 [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-05-13 21:16:57,380 INFO 11881 [egg-multipart] stream mode enable
|
||||
2020-05-13 21:16:57,422 INFO 11881 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 21:16:57,452 INFO 11881 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 21:16:57,680 INFO 11881 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 21:16:57,682 INFO 11881 [egg-security] use noopen middleware
|
||||
2020-05-13 21:16:57,683 INFO 11881 [egg-security] use nosniff middleware
|
||||
2020-05-13 21:16:57,683 INFO 11881 [egg-security] use xssProtection middleware
|
||||
2020-05-13 21:16:57,684 INFO 11881 [egg-security] use xframe middleware
|
||||
2020-05-13 21:16:57,684 INFO 11881 [egg-security] use dta middleware
|
||||
2020-05-13 21:16:57,684 INFO 11881 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 21:16:57,699 INFO 11881 [egg:core] dump config after load, 8ms
|
||||
2020-05-13 21:16:57,725 INFO 11881 [egg-redis] client connect success
|
||||
2020-05-13 21:16:57,731 INFO 11881 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 21:16:57,734 INFO 11881 [egg-watcher:application] watcher start success
|
||||
2020-05-13 21:16:58,036 INFO 11881 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 21:16:57 GMT+0800 (China Standard Time)
|
||||
2020-05-13 21:16:58,056 INFO 11881 [egg:core] dump config after ready, 7ms
|
||||
2020-05-13 21:17:45,561 INFO 11973 [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-05-13 21:17:45,599 INFO 11973 [egg-multipart] stream mode enable
|
||||
2020-05-13 21:17:45,748 INFO 11973 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 21:17:45,765 INFO 11973 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 21:17:45,895 INFO 11973 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 21:17:45,897 INFO 11973 [egg-security] use noopen middleware
|
||||
2020-05-13 21:17:45,897 INFO 11973 [egg-security] use nosniff middleware
|
||||
2020-05-13 21:17:45,898 INFO 11973 [egg-security] use xssProtection middleware
|
||||
2020-05-13 21:17:45,898 INFO 11973 [egg-security] use xframe middleware
|
||||
2020-05-13 21:17:45,899 INFO 11973 [egg-security] use dta middleware
|
||||
2020-05-13 21:17:45,899 INFO 11973 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 21:17:45,907 INFO 11973 [egg:core] dump config after load, 6ms
|
||||
2020-05-13 21:17:45,922 INFO 11973 [egg-redis] client connect success
|
||||
2020-05-13 21:17:45,931 INFO 11973 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 21:17:45,933 INFO 11973 [egg-watcher:application] watcher start success
|
||||
2020-05-13 21:17:46,131 INFO 11973 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 21:17:46 GMT+0800 (China Standard Time)
|
||||
2020-05-13 21:17:46,150 INFO 11973 [egg:core] dump config after ready, 6ms
|
||||
2020-05-13 21:23:10,574 INFO 12178 [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-05-13 21:23:10,671 INFO 12178 [egg-multipart] stream mode enable
|
||||
2020-05-13 21:23:10,736 INFO 12178 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 21:23:10,753 INFO 12178 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 21:23:10,892 INFO 12178 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 21:23:10,894 INFO 12178 [egg-security] use noopen middleware
|
||||
2020-05-13 21:23:10,895 INFO 12178 [egg-security] use nosniff middleware
|
||||
2020-05-13 21:23:10,896 INFO 12178 [egg-security] use xssProtection middleware
|
||||
2020-05-13 21:23:10,897 INFO 12178 [egg-security] use xframe middleware
|
||||
2020-05-13 21:23:10,898 INFO 12178 [egg-security] use dta middleware
|
||||
2020-05-13 21:23:10,898 INFO 12178 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 21:23:10,907 INFO 12178 [egg:core] dump config after load, 5ms
|
||||
2020-05-13 21:23:10,919 INFO 12178 [egg-redis] client connect success
|
||||
2020-05-13 21:23:10,924 INFO 12178 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 21:23:10,926 INFO 12178 [egg-watcher:application] watcher start success
|
||||
2020-05-13 21:23:11,128 INFO 12178 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 21:23:11 GMT+0800 (China Standard Time)
|
||||
2020-05-13 21:23:11,154 INFO 12178 [egg:core] dump config after ready, 6ms
|
||||
2020-05-13 21:58:58,387 WARN 12178 [ClusterClient:Watcher] follower closed, and try to init it again
|
||||
2020-05-13 22:02:27,916 WARN 12178 [ClusterClient:Watcher] follower closed, and try to init it again
|
||||
2020-05-13 22:26:12,242 ERROR 12178 nodejs.TypeError: Cannot read property '0' of undefined (uncaughtException throw 1 times on pid:12178)
|
||||
at /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts:80:69
|
||||
at processTicksAndRejections (internal/process/task_queues.js:79:11)
|
||||
|
||||
pid: 12178
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 22:26:35,071 INFO 13109 [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-05-13 22:26:35,095 INFO 13109 [egg-multipart] stream mode enable
|
||||
2020-05-13 22:26:35,158 INFO 13109 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 22:26:35,177 INFO 13109 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 22:26:35,311 INFO 13109 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 22:26:35,315 INFO 13109 [egg-security] use noopen middleware
|
||||
2020-05-13 22:26:35,316 INFO 13109 [egg-security] use nosniff middleware
|
||||
2020-05-13 22:26:35,317 INFO 13109 [egg-security] use xssProtection middleware
|
||||
2020-05-13 22:26:35,317 INFO 13109 [egg-security] use xframe middleware
|
||||
2020-05-13 22:26:35,318 INFO 13109 [egg-security] use dta middleware
|
||||
2020-05-13 22:26:35,318 INFO 13109 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 22:26:35,328 INFO 13109 [egg:core] dump config after load, 6ms
|
||||
2020-05-13 22:26:35,345 INFO 13109 [egg-redis] client connect success
|
||||
2020-05-13 22:26:35,357 INFO 13109 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 22:26:35,359 INFO 13109 [egg-watcher:application] watcher start success
|
||||
2020-05-13 22:26:35,550 INFO 13109 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 22:26:36 GMT+0800 (China Standard Time)
|
||||
2020-05-13 22:26:35,574 INFO 13109 [egg:core] dump config after ready, 11ms
|
||||
2020-05-13 22:43:42,397 WARN 13109 [ClusterClient:Watcher] follower closed, and try to init it again
|
||||
2020-05-13 22:54:34,313 WARN 13109 [ClusterClient:Watcher] follower closed, and try to init it again
|
||||
2020-05-13 23:20:43,969 INFO 14600 [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-05-13 23:20:44,102 INFO 14600 [egg-multipart] stream mode enable
|
||||
2020-05-13 23:20:44,301 INFO 14600 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 23:20:44,320 INFO 14600 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 23:20:44,522 INFO 14600 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 23:20:44,524 INFO 14600 [egg-security] use noopen middleware
|
||||
2020-05-13 23:20:44,524 INFO 14600 [egg-security] use nosniff middleware
|
||||
2020-05-13 23:20:44,525 INFO 14600 [egg-security] use xssProtection middleware
|
||||
2020-05-13 23:20:44,526 INFO 14600 [egg-security] use xframe middleware
|
||||
2020-05-13 23:20:44,527 INFO 14600 [egg-security] use dta middleware
|
||||
2020-05-13 23:20:44,527 INFO 14600 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 23:20:44,537 INFO 14600 [egg:core] dump config after load, 6ms
|
||||
2020-05-13 23:20:44,554 INFO 14600 [egg-redis] client connect success
|
||||
2020-05-13 23:20:44,562 INFO 14600 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 23:20:44,564 INFO 14600 [egg-watcher:application] watcher start success
|
||||
2020-05-13 23:20:44,781 INFO 14600 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 23:20:45 GMT+0800 (China Standard Time)
|
||||
2020-05-13 23:20:44,861 INFO 14600 [egg:core] dump config after ready, 21ms
|
||||
2020-05-13 23:24:59,742 INFO 14709 [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-05-13 23:24:59,774 INFO 14709 [egg-multipart] stream mode enable
|
||||
2020-05-13 23:24:59,832 INFO 14709 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 23:25:00,024 INFO 14709 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 23:25:00,255 INFO 14709 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 23:25:00,257 INFO 14709 [egg-security] use noopen middleware
|
||||
2020-05-13 23:25:00,260 INFO 14709 [egg-security] use nosniff middleware
|
||||
2020-05-13 23:25:00,260 INFO 14709 [egg-security] use xssProtection middleware
|
||||
2020-05-13 23:25:00,261 INFO 14709 [egg-security] use xframe middleware
|
||||
2020-05-13 23:25:00,262 INFO 14709 [egg-security] use dta middleware
|
||||
2020-05-13 23:25:00,262 INFO 14709 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 23:25:00,271 INFO 14709 [egg:core] dump config after load, 7ms
|
||||
2020-05-13 23:25:00,312 INFO 14709 [egg-redis] client connect success
|
||||
2020-05-13 23:25:00,325 INFO 14709 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 23:25:00,331 INFO 14709 [egg-watcher:application] watcher start success
|
||||
2020-05-13 23:25:00,791 INFO 14709 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 23:25:01 GMT+0800 (China Standard Time)
|
||||
2020-05-13 23:25:00,811 INFO 14709 [egg:core] dump config after ready, 5ms
|
||||
2020-05-13 23:41:45,310 INFO 15220 [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-05-13 23:41:45,333 INFO 15220 [egg-multipart] stream mode enable
|
||||
2020-05-13 23:41:45,397 INFO 15220 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 23:41:45,415 INFO 15220 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 23:41:45,591 INFO 15220 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 23:41:45,593 INFO 15220 [egg-security] use noopen middleware
|
||||
2020-05-13 23:41:45,594 INFO 15220 [egg-security] use nosniff middleware
|
||||
2020-05-13 23:41:45,595 INFO 15220 [egg-security] use xssProtection middleware
|
||||
2020-05-13 23:41:45,596 INFO 15220 [egg-security] use xframe middleware
|
||||
2020-05-13 23:41:45,597 INFO 15220 [egg-security] use dta middleware
|
||||
2020-05-13 23:41:45,597 INFO 15220 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 23:41:45,606 INFO 15220 [egg:core] dump config after load, 6ms
|
||||
2020-05-13 23:41:45,617 INFO 15220 [egg-redis] client connect success
|
||||
2020-05-13 23:41:45,622 INFO 15220 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 23:41:45,624 INFO 15220 [egg-watcher:application] watcher start success
|
||||
2020-05-13 23:41:45,844 INFO 15220 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 23:41:45 GMT+0800 (China Standard Time)
|
||||
2020-05-13 23:41:45,878 INFO 15220 [egg:core] dump config after ready, 7ms
|
||||
2020-05-13 23:44:28,689 INFO 15297 [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-05-13 23:44:28,716 INFO 15297 [egg-multipart] stream mode enable
|
||||
2020-05-13 23:44:28,751 INFO 15297 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 23:44:28,788 INFO 15297 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 23:44:29,013 INFO 15297 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 23:44:29,015 INFO 15297 [egg-security] use noopen middleware
|
||||
2020-05-13 23:44:29,016 INFO 15297 [egg-security] use nosniff middleware
|
||||
2020-05-13 23:44:29,017 INFO 15297 [egg-security] use xssProtection middleware
|
||||
2020-05-13 23:44:29,017 INFO 15297 [egg-security] use xframe middleware
|
||||
2020-05-13 23:44:29,018 INFO 15297 [egg-security] use dta middleware
|
||||
2020-05-13 23:44:29,018 INFO 15297 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 23:44:29,031 INFO 15297 [egg:core] dump config after load, 10ms
|
||||
2020-05-13 23:44:29,080 INFO 15297 [egg-redis] client connect success
|
||||
2020-05-13 23:44:29,086 INFO 15297 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 23:44:29,089 INFO 15297 [egg-watcher:application] watcher start success
|
||||
2020-05-13 23:44:29,311 INFO 15297 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 23:44:29 GMT+0800 (China Standard Time)
|
||||
2020-05-13 23:44:29,331 INFO 15297 [egg:core] dump config after ready, 5ms
|
||||
2020-05-13 23:55:23,239 INFO 15622 [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-05-13 23:55:23,272 INFO 15622 [egg-multipart] stream mode enable
|
||||
2020-05-13 23:55:23,330 INFO 15622 [egg-redis] server connecting redis://:***@127.0.0.1:6379/0
|
||||
2020-05-13 23:55:23,354 INFO 15622 [egg-mysql] connecting root@47.104.172.100:3306/poker
|
||||
2020-05-13 23:55:23,565 INFO 15622 [egg-static] starting static serve /public/ -> /Users/jorky/code/TexasPokerGame/server/src/app/public
|
||||
2020-05-13 23:55:23,567 INFO 15622 [egg-security] use noopen middleware
|
||||
2020-05-13 23:55:23,569 INFO 15622 [egg-security] use nosniff middleware
|
||||
2020-05-13 23:55:23,570 INFO 15622 [egg-security] use xssProtection middleware
|
||||
2020-05-13 23:55:23,572 INFO 15622 [egg-security] use xframe middleware
|
||||
2020-05-13 23:55:23,573 INFO 15622 [egg-security] use dta middleware
|
||||
2020-05-13 23:55:23,573 INFO 15622 [egg-security] compose 5 middlewares into one security middleware
|
||||
2020-05-13 23:55:23,585 INFO 15622 [egg:core] dump config after load, 7ms
|
||||
2020-05-13 23:55:23,599 INFO 15622 [egg-redis] client connect success
|
||||
2020-05-13 23:55:23,604 INFO 15622 [egg-redis] instance[0] status OK, client ready
|
||||
2020-05-13 23:55:23,606 INFO 15622 [egg-watcher:application] watcher start success
|
||||
2020-05-13 23:55:23,812 INFO 15622 [egg-mysql] instance[0] status OK, rds currentTime: Wed May 13 2020 23:55:23 GMT+0800 (China Standard Time)
|
||||
2020-05-13 23:55:23,838 INFO 15622 [egg:core] dump config after ready, 5ms
|
||||
2020-05-14 00:00:00,125 INFO 15622 [egg-logrotator] clean all log before 31 days
|
||||
2020-05-14 00:00:01,027 INFO 15622 [egg-logrotator] broadcast log-reload
|
||||
2020-05-14 00:00:01,027 INFO 15622 [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-05-13","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/app.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/app.log.2020-05-13","/Users/jorky/code/TexasPokerGame/server/logs/ELKLog/info.log -> /Users/jorky/code/TexasPokerGame/server/logs/ELKLog/info.log.2020-05-13","/Users/jorky/code/TexasPokerGame/server/logs/ELKLog/error.log -> /Users/jorky/code/TexasPokerGame/server/logs/ELKLog/error.log.2020-05-13","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/core.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/core.log.2020-05-13","/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-05-13","/Users/jorky/code/TexasPokerGame/server/logs/game-node-center/agent.log -> /Users/jorky/code/TexasPokerGame/server/logs/game-node-center/agent.log.2020-05-13"]
|
||||
@@ -1,18 +1,36 @@
|
||||
2020-05-13 00:07:17,158 INFO 9671 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 00:07:17,158 INFO 9671 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 00:07:17,158 INFO 9671 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 00:13:24,141 INFO 9841 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 00:13:24,141 INFO 9841 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 00:13:24,141 INFO 9841 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 00:13:39,550 INFO 9858 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 00:13:39,550 INFO 9858 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 00:13:39,550 INFO 9858 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 00:14:12,857 INFO 9883 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 00:14:12,857 INFO 9883 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 00:14:12,857 INFO 9883 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 00:15:16,195 INFO 9908 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 00:15:16,195 INFO 9908 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 00:15:16,195 INFO 9908 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 00:22:45,619 INFO 10142 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 00:22:45,619 INFO 10142 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 00:22:45,619 INFO 10142 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-14 00:04:56,742 INFO 15925 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-14 00:04:56,742 INFO 15925 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-14 00:04:56,742 INFO 15925 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-14 00:09:06,858 INFO 16050 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-14 00:09:06,858 INFO 16050 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-14 00:09:06,858 INFO 16050 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-14 00:44:53,991 INFO 17109 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-14 00:44:53,991 INFO 17109 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-14 00:44:53,991 INFO 17109 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-14 00:49:13,469 INFO 17239 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-14 00:49:13,469 INFO 17239 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-14 00:49:13,469 INFO 17239 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-14 00:53:25,944 INFO 17353 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-14 00:53:25,944 INFO 17353 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-14 00:53:25,944 INFO 17353 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-14 00:56:35,738 INFO 17450 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-14 00:56:35,738 INFO 17450 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-14 00:56:35,738 INFO 17450 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-14 01:17:09,907 INFO 18100 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 11570095ms at 2020-05-14 04:30:00.002
|
||||
2020-05-14 01:17:09,908 INFO 18100 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 81770093ms at 2020-05-15 00:00:00.001
|
||||
2020-05-14 01:17:09,908 INFO 18100 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 81771092ms at 2020-05-15 00:00:01.000
|
||||
2020-05-14 01:17:09,403 INFO 18102 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-14 01:17:09,403 INFO 18102 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-14 01:17:09,403 INFO 18102 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-14 01:18:18,728 INFO 18164 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-14 01:18:18,728 INFO 18164 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-14 01:18:18,728 INFO 18164 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-14 01:18:28,678 INFO 18183 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-14 01:18:28,678 INFO 18183 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-14 01:18:28,678 INFO 18183 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-14 01:22:14,923 INFO 18341 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 11265080ms at 2020-05-14 04:30:00.003
|
||||
2020-05-14 01:22:14,925 INFO 18341 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 81465077ms at 2020-05-15 00:00:00.002
|
||||
2020-05-14 01:22:14,925 INFO 18341 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 81466075ms at 2020-05-15 00:00:01.000
|
||||
2020-05-14 01:22:14,422 INFO 18342 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-14 01:22:14,422 INFO 18342 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-14 01:22:14,422 INFO 18342 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
2020-05-13 00:07:17,158 INFO 9671 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 00:07:17,158 INFO 9671 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 00:07:17,158 INFO 9671 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 00:13:24,141 INFO 9841 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 00:13:24,141 INFO 9841 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 00:13:24,141 INFO 9841 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 00:13:39,550 INFO 9858 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 00:13:39,550 INFO 9858 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 00:13:39,550 INFO 9858 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 00:14:12,857 INFO 9883 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 00:14:12,857 INFO 9883 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 00:14:12,857 INFO 9883 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 00:15:16,195 INFO 9908 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 00:15:16,195 INFO 9908 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 00:15:16,195 INFO 9908 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 00:22:45,619 INFO 10142 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 00:22:45,619 INFO 10142 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 00:22:45,619 INFO 10142 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 21:16:57,380 INFO 11881 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 21:16:57,380 INFO 11881 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 21:16:57,380 INFO 11881 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 21:17:46,155 INFO 11972 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 25933847ms at 2020-05-14 04:30:00.002
|
||||
2020-05-13 21:17:46,155 INFO 11972 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 9733845ms at 2020-05-14 00:00:00.000
|
||||
2020-05-13 21:17:46,156 INFO 11972 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 9734845ms at 2020-05-14 00:00:01.001
|
||||
2020-05-13 21:17:45,599 INFO 11973 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 21:17:45,599 INFO 11973 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 21:17:45,599 INFO 11973 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 21:23:11,159 INFO 12177 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 25608843ms at 2020-05-14 04:30:00.002
|
||||
2020-05-13 21:23:11,159 INFO 12177 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 9408841ms at 2020-05-14 00:00:00.000
|
||||
2020-05-13 21:23:11,160 INFO 12177 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 9409841ms at 2020-05-14 00:00:01.001
|
||||
2020-05-13 21:23:10,663 INFO 12178 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 21:23:10,663 INFO 12178 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 21:23:10,663 INFO 12178 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 22:26:35,579 INFO 13106 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 21804423ms at 2020-05-14 04:30:00.002
|
||||
2020-05-13 22:26:35,579 INFO 13106 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 5604421ms at 2020-05-14 00:00:00.000
|
||||
2020-05-13 22:26:35,579 INFO 13106 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 5605421ms at 2020-05-14 00:00:01.000
|
||||
2020-05-13 22:26:35,095 INFO 13109 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 22:26:35,095 INFO 13109 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 22:26:35,095 INFO 13109 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 23:20:44,101 INFO 14600 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 23:20:44,101 INFO 14600 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 23:20:44,101 INFO 14600 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 23:20:44,869 INFO 14596 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 18555133ms at 2020-05-14 04:30:00.002
|
||||
2020-05-13 23:20:44,869 INFO 14596 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 2355131ms at 2020-05-14 00:00:00.000
|
||||
2020-05-13 23:20:44,869 INFO 14596 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 2356131ms at 2020-05-14 00:00:01.000
|
||||
2020-05-13 23:24:59,774 INFO 14709 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 23:24:59,774 INFO 14709 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 23:24:59,774 INFO 14709 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 23:41:45,889 INFO 15218 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js next time will execute after 17294113ms at 2020-05-14 04:30:00.002
|
||||
2020-05-13 23:41:45,889 INFO 15218 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 1094111ms at 2020-05-14 00:00:00.000
|
||||
2020-05-13 23:41:45,890 INFO 15218 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 1095111ms at 2020-05-14 00:00:01.001
|
||||
2020-05-13 23:41:45,333 INFO 15220 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 23:41:45,333 INFO 15220 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 23:41:45,333 INFO 15220 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 23:44:28,716 INFO 15297 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 23:44:28,716 INFO 15297 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 23:44:28,716 INFO 15297 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-13 23:55:23,271 INFO 15622 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-multipart/app/schedule/clean_tmpdir.js
|
||||
2020-05-13 23:55:23,271 INFO 15622 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js
|
||||
2020-05-13 23:55:23,271 INFO 15622 [egg-schedule]: register schedule /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js
|
||||
2020-05-14 00:00:00,090 INFO 15218 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js next time will execute after 86399923ms at 2020-05-15 00:00:00.013
|
||||
2020-05-14 00:00:00,091 INFO 15622 [Job#1589385600071438113671709391] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js executing by app
|
||||
2020-05-14 00:00:00,125 INFO 15622 [Job#1589385600071438113671709391] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/clean_log.js execute succeed, used 30ms
|
||||
2020-05-14 00:00:01,022 INFO 15622 [Job#1589385601021438114164306671] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js executing by app
|
||||
2020-05-14 00:00:01,027 INFO 15622 [Job#1589385601021438114164306671] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js execute succeed, used 5ms
|
||||
2020-05-14 00:00:01,023 INFO 15218 [Timer] /Users/jorky/code/TexasPokerGame/server/node_modules/egg-logrotator/app/schedule/rotate_by_file.js next time will execute after 86399979ms at 2020-05-15 00:00:01.002
|
||||
@@ -1,33 +1,4 @@
|
||||
2020-05-13 00:13:49,821 ERROR 9858 [-/127.0.0.1/-/0ms 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 (<anonymous>)
|
||||
at Pool.<anonymous> (/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: 9858
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 00:25:09,314 ERROR 10142 [-/192.168.0.102/-/22ms GET /socket.io/?room=194379&token=undefined&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:55:18,646 ERROR 10142 [-/192.168.0.110/-/17ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkyODg0OTMsImV4cCI6MTU4OTMxMDA5M30.PXUIHiGCM4BQICZ_BymL0EMaBcsBdXkphPdb93K93Ks&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:55:24,222 ERROR 10142 [-/192.168.0.110/-/3ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkyODg0OTMsImV4cCI6MTU4OTMxMDA5M30.PXUIHiGCM4BQICZ_BymL0EMaBcsBdXkphPdb93K93Ks&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:55:27,522 ERROR 10142 [-/192.168.0.102/-/5ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTMwMDgxNywiZXhwIjoxNTg5MzIyNDE3fQ.yL0K89W1xPF6MnGDpv35IsM8FzxvG4R4d_pwgK0KLDs&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:57:37,592 ERROR 10142 [-/192.168.0.110/-/6ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTI5Mzg4MCwiZXhwIjoxNTg5MzE1NDgwfQ.NDb5EoN-mhLXTPM74_d6rVek5mWAYFVV2QBX6qisuH0&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:58:07,733 ERROR 10142 [-/192.168.0.102/-/3ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTMwMDgxNywiZXhwIjoxNTg5MzIyNDE3fQ.yL0K89W1xPF6MnGDpv35IsM8FzxvG4R4d_pwgK0KLDs&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-14 00:26:16,000 ERROR 16050 [-/192.168.0.110/-/29ms GET /socket.io/?room=806582&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzNzU5NTYsImV4cCI6MTU4OTM5NzU1Nn0.rjTkkfVRAvFwxkutLExEO1SDOBnymyDKnnte2sgQQgw&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-14 00:26:21,257 ERROR 16050 [-/192.168.0.110/-/2ms GET /socket.io/?room=806582&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzNzU5NTYsImV4cCI6MTU4OTM5NzU1Nn0.rjTkkfVRAvFwxkutLExEO1SDOBnymyDKnnte2sgQQgw&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-14 00:49:43,570 ERROR 17239 player not enough
|
||||
2020-05-14 01:19:19,794 ERROR 18183 [-/192.168.0.102/-/12ms GET /socket.io/?room=940515&token=undefined&EIO=3&transport=websocket] room service tick null
|
||||
|
||||
@@ -0,0 +1,167 @@
|
||||
2020-05-13 00:13:49,821 ERROR 9858 [-/127.0.0.1/-/0ms 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 (<anonymous>)
|
||||
at Pool.<anonymous> (/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: 9858
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 00:25:09,314 ERROR 10142 [-/192.168.0.102/-/22ms GET /socket.io/?room=194379&token=undefined&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:55:18,646 ERROR 10142 [-/192.168.0.110/-/17ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkyODg0OTMsImV4cCI6MTU4OTMxMDA5M30.PXUIHiGCM4BQICZ_BymL0EMaBcsBdXkphPdb93K93Ks&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:55:24,222 ERROR 10142 [-/192.168.0.110/-/3ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkyODg0OTMsImV4cCI6MTU4OTMxMDA5M30.PXUIHiGCM4BQICZ_BymL0EMaBcsBdXkphPdb93K93Ks&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:55:27,522 ERROR 10142 [-/192.168.0.102/-/5ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTMwMDgxNywiZXhwIjoxNTg5MzIyNDE3fQ.yL0K89W1xPF6MnGDpv35IsM8FzxvG4R4d_pwgK0KLDs&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:57:37,592 ERROR 10142 [-/192.168.0.110/-/6ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTI5Mzg4MCwiZXhwIjoxNTg5MzE1NDgwfQ.NDb5EoN-mhLXTPM74_d6rVek5mWAYFVV2QBX6qisuH0&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 00:58:07,733 ERROR 10142 [-/192.168.0.102/-/3ms GET /socket.io/?room=194379&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShIiwiYWNjb3VudCI6ImNhaTExMSIsInVzZXJJZCI6Mn0sImlhdCI6MTU4OTMwMDgxNywiZXhwIjoxNTg5MzIyNDE3fQ.yL0K89W1xPF6MnGDpv35IsM8FzxvG4R4d_pwgK0KLDs&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 02:05:18,858 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 3612385ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 04:05:27,832 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 7208681ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 04:05:32,288 ERROR 10142 [-/192.168.0.110/-/20ms GET /socket.io/?room=121127&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjY2NywiZXhwIjoxNTg5MzI0MjY3fQ.rwlDPpbPM7t8UXBt8blI_wlibyBxqTxWrhoz9DhQYzg&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 06:05:47,981 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 7219167ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 08:06:26,296 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 7216708ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 10:06:43,794 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 7217444ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 12:07:01,699 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 7217818ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 13:06:12,446 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 3550726ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 20:15:12,162 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 25739682ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 20:15:13,242 ERROR 10142 [-/192.168.0.110/-/34ms GET /socket.io/?room=700435&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzMDI2NDYsImV4cCI6MTU4OTMyNDI0Nn0.t01MJ-AhyISF29qJwJ633fKJhwtjpYRAH2-kWf4RFgk&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 20:15:14,770 ERROR 10142 [-/192.168.0.110/-/6ms GET /socket.io/?room=121127&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjY2NywiZXhwIjoxNTg5MzI0MjY3fQ.rwlDPpbPM7t8UXBt8blI_wlibyBxqTxWrhoz9DhQYzg&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 21:16:04,054 ERROR 9389 nodejs.ClusterClientNoResponseError: client no response in 3631874ms 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: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 21:16:48,913 ERROR 9389 nodejs.unhandledExceptionError: ENOENT: no such file or directory, stat '/Users/jorky/code/TexasPokerGame/server/src/app.ts'
|
||||
at Object.statSync (fs.js:932:3)
|
||||
at DevelopmentEventSource._onFsWatchChange (/Users/jorky/code/TexasPokerGame/server/node_modules/egg-watcher/lib/event-sources/development.js:82:16)
|
||||
at FSWatcher.emit (events.js:311:20)
|
||||
at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:135:12)
|
||||
errno: -2
|
||||
syscall: "stat"
|
||||
code: "ENOENT"
|
||||
path: "/Users/jorky/code/TexasPokerGame/server/src/app.ts"
|
||||
name: "unhandledExceptionError"
|
||||
pid: 9389
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 21:17:27,063 ERROR 11881 [-/192.168.0.110/-/123ms GET /socket.io/?room=121127&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjY2NywiZXhwIjoxNTg5MzI0MjY3fQ.rwlDPpbPM7t8UXBt8blI_wlibyBxqTxWrhoz9DhQYzg&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 21:19:36,297 ERROR 11973 [-/192.168.0.110/-/31ms GET /socket.io/?room=121127&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTMwMjY2NywiZXhwIjoxNTg5MzI0MjY3fQ.rwlDPpbPM7t8UXBt8blI_wlibyBxqTxWrhoz9DhQYzg&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 21:58:58,415 ERROR 12177 nodejs.ClusterClientNoResponseError: client no response in 1907292ms 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: 12177
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 22:02:27,916 ERROR 12177 nodejs.ClusterClientNoResponseError: client no response in 168906ms 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: 12177
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 22:24:18,590 ERROR 12178 [-/192.168.0.110/-/10ms GET /socket.io/?room=879571&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzNzU5NTYsImV4cCI6MTU4OTM5NzU1Nn0.rjTkkfVRAvFwxkutLExEO1SDOBnymyDKnnte2sgQQgw&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 22:24:26,247 ERROR 12178 [-/192.168.0.110/-/2ms GET /socket.io/?room=879571&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzNzU5NTYsImV4cCI6MTU4OTM5NzU1Nn0.rjTkkfVRAvFwxkutLExEO1SDOBnymyDKnnte2sgQQgw&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 22:26:12,241 ERROR 12178 nodejs.TypeError: Cannot read property '0' of undefined (uncaughtException throw 1 times on pid:12178)
|
||||
at /Users/jorky/code/TexasPokerGame/server/src/app/io/controller/game.ts:80:69
|
||||
at processTicksAndRejections (internal/process/task_queues.js:79:11)
|
||||
|
||||
pid: 12178
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 22:43:42,477 ERROR 13106 nodejs.ClusterClientNoResponseError: client no response in 186038ms 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: 13106
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 22:54:34,313 ERROR 13106 nodejs.ClusterClientNoResponseError: client no response in 631798ms 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: 13106
|
||||
hostname: 192.168.0.110
|
||||
|
||||
2020-05-13 23:24:58,774 ERROR 14600 [-/192.168.0.110/-/5ms GET /socket.io/?room=467504&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoiYyIsImFjY291bnQiOiJjYWkiLCJ1c2VySWQiOjF9LCJpYXQiOjE1ODkzNzU5NTYsImV4cCI6MTU4OTM5NzU1Nn0.rjTkkfVRAvFwxkutLExEO1SDOBnymyDKnnte2sgQQgw&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 23:25:06,186 ERROR 14709 [-/192.168.0.110/-/8ms GET /socket.io/?room=467504&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTM3NTk4OCwiZXhwIjoxNTg5Mzk3NTg4fQ.HgTT61q2AYW_PbRajx4fSelOdGUtOH2GEsWhPi1IHAA&EIO=3&transport=websocket] room service tick null
|
||||
2020-05-13 23:25:13,031 ERROR 14709 [-/192.168.0.110/-/2ms GET /socket.io/?room=467504&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Im5pY2tOYW1lIjoi6JShMSIsImFjY291bnQiOiJjYWkxMSIsInVzZXJJZCI6M30sImlhdCI6MTU4OTM3NTk4OCwiZXhwIjoxNTg5Mzk3NTg4fQ.HgTT61q2AYW_PbRajx4fSelOdGUtOH2GEsWhPi1IHAA&EIO=3&transport=websocket] room service tick null
|
||||
@@ -6,6 +6,7 @@ export interface IPlayer {
|
||||
nickName: string;
|
||||
account: string;
|
||||
socketId: string;
|
||||
income?: number;
|
||||
reBuy: number;
|
||||
}
|
||||
|
||||
@@ -39,6 +40,7 @@ export class Player {
|
||||
type: string = EPlayerType.DEFAULT;
|
||||
evPot: number = Infinity;
|
||||
inPot: number = 0;
|
||||
income: number = 0;
|
||||
pokeStyle: string = '';
|
||||
|
||||
// commandRecord: Array<string> = [];
|
||||
@@ -139,8 +141,9 @@ export class Player {
|
||||
this.actionCommand = '';
|
||||
}
|
||||
|
||||
income(size: number) {
|
||||
setIncome(size: number) {
|
||||
console.log('size', size);
|
||||
this.income = size;
|
||||
this.counter += size;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -160,6 +160,7 @@ export class PokerGame {
|
||||
// pre flop big blind check and other player call
|
||||
console.log('this.currPlayer----------', this.currPlayer, nextPlayer, command);
|
||||
if (this.playerSize === 0
|
||||
|| this.playerSize === 1 && this.allInPlayers.length === 0
|
||||
|| (nextPlayer.actionSize === size)
|
||||
|| (this.commonCard.length === 0
|
||||
&& (this.currPlayer.node.type === EPlayerType.BIG_BLIND
|
||||
@@ -202,7 +203,9 @@ export class PokerGame {
|
||||
} else {
|
||||
throw 'currPlayer.next is null';
|
||||
}
|
||||
return;
|
||||
if (this.playerSize > 1) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
// action has allin, sum the allin player ev_pot
|
||||
if (this.currActionAllinPlayer.length !== 0) {
|
||||
@@ -434,11 +437,12 @@ export class PokerGame {
|
||||
}
|
||||
winnerList.forEach(winner => {
|
||||
const pot = winner.evPot === Infinity ? this.pot : winner.evPot;
|
||||
winner.income((pot - prevEvPot) / winnerList.length);
|
||||
winner.setIncome((pot - prevEvPot) / winnerList.length);
|
||||
});
|
||||
});
|
||||
}
|
||||
gameOver() {
|
||||
console.log('game over------------------');
|
||||
// only one player,other fold
|
||||
this.getWinner();
|
||||
// todo counting
|
||||
|
||||
@@ -45,7 +45,7 @@ export class PokerStyle implements IPokerStyle {
|
||||
let isFour = '0';
|
||||
let isFullHouse = '0';
|
||||
let isStraightFlush = '0';
|
||||
let isFlush = [];
|
||||
let isFlush: string[] = [];
|
||||
let isRoyalFlush = '0';
|
||||
let isThreeKind = '';
|
||||
let isTowPair = '';
|
||||
@@ -120,7 +120,7 @@ export class PokerStyle implements IPokerStyle {
|
||||
|
||||
// flush
|
||||
if (isFlush.length !== 0) {
|
||||
this.pokerStyle[4] = isFlush;
|
||||
this.pokerStyle[4] = isFlush.join('');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
import BaseSocketController from '../../../lib/baseSocketController';
|
||||
import { IRoomInfo } from '../../../interface/IGameRoom';
|
||||
import { IRoomInfo, ISit } from '../../../interface/IGameRoom';
|
||||
import { PokerGame } from '../../core/PokerGame';
|
||||
import { IPlayer } from '../../core/Player';
|
||||
|
||||
@@ -17,7 +17,7 @@ class GameController extends BaseSocketController {
|
||||
// };
|
||||
// await this.gameRecordService.add(gameRecord);
|
||||
const roomInfo = await this.getRoomInfo();
|
||||
console.log('players', roomInfo.sit);
|
||||
console.log('players===============sit', roomInfo.sit);
|
||||
const sitDownPlayer = roomInfo.sit.filter(s => s.player && s.player.counter > 0).map(sit => sit.player);
|
||||
|
||||
if (sitDownPlayer.length < 2) {
|
||||
@@ -67,10 +67,6 @@ class GameController extends BaseSocketController {
|
||||
console.log(roomInfo.players, '=============players');
|
||||
console.log(roomInfo.game.getPlayers());
|
||||
console.log(roomInfo.game.winner);
|
||||
// new game
|
||||
setTimeout(() => {
|
||||
this.reStart();
|
||||
}, 100000);
|
||||
}
|
||||
this.nsp.adapter.clients([ this.roomNumber ],
|
||||
(err: any, clients: any) => {
|
||||
@@ -94,6 +90,10 @@ class GameController extends BaseSocketController {
|
||||
},
|
||||
});
|
||||
}
|
||||
// new game
|
||||
setTimeout(() => {
|
||||
this.reStart();
|
||||
}, 3000);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -106,8 +106,8 @@ class GameController extends BaseSocketController {
|
||||
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');
|
||||
player => player.userId === p.userId);
|
||||
console.log(player, 'game msg---------1');
|
||||
const msg = this.ctx.helper.parseMsg('handCard', {
|
||||
handCard: player?.getHandCard(),
|
||||
}, { client: p.socketId });
|
||||
@@ -124,9 +124,20 @@ class GameController extends BaseSocketController {
|
||||
|
||||
async reStart() {
|
||||
const roomInfo: IRoomInfo = await this.getRoomInfo();
|
||||
const player = roomInfo.players.shift();
|
||||
if (player) {
|
||||
roomInfo.players.push(player);
|
||||
const sit = roomInfo.sit.shift() as ISit;
|
||||
let dealer: IPlayer;
|
||||
if (sit?.player) {
|
||||
roomInfo.sit.push(sit);
|
||||
} else {
|
||||
// first player is null, find dealer
|
||||
for (let i = 0; i < 9; i++) {
|
||||
if (roomInfo.sit[i].player?.userId === roomInfo.game?.allPlayer[0].userId) {
|
||||
dealer = roomInfo.sit[i].player as IPlayer;
|
||||
roomInfo.sit[i].player = {} as IPlayer;
|
||||
sit.player = dealer;
|
||||
roomInfo.sit.push(sit);
|
||||
}
|
||||
}
|
||||
}
|
||||
roomInfo.game = null;
|
||||
// update player counter
|
||||
@@ -135,7 +146,7 @@ class GameController extends BaseSocketController {
|
||||
p.reBuy = 0;
|
||||
});
|
||||
// new game
|
||||
this.nsp.adapter.clients([ this.roomNumber ], (err: any, clients: any) => {
|
||||
this.nsp.adapter.clients([ this.roomNumber ], async (err: any, clients: any) => {
|
||||
// 广播信息
|
||||
this.nsp.to(this.roomNumber).emit('online', {
|
||||
clients,
|
||||
@@ -143,8 +154,8 @@ class GameController extends BaseSocketController {
|
||||
target: 'participator',
|
||||
data: {},
|
||||
});
|
||||
await this.playGame();
|
||||
});
|
||||
await this.playGame();
|
||||
}
|
||||
|
||||
async buyIn() {
|
||||
@@ -235,7 +246,7 @@ class GameController extends BaseSocketController {
|
||||
});
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
async action() {
|
||||
|
||||
@@ -46,7 +46,7 @@ describe('test/app/core/pokerGame.test.ts', () => {
|
||||
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);
|
||||
// expect(game.playerLink.getNode(1).node.actionSize).to.equal(1);
|
||||
});
|
||||
|
||||
/**
|
||||
@@ -232,7 +232,29 @@ describe('test/app/core/pokerGame.test.ts', () => {
|
||||
// console.log(game.winner[0][0], game.commonCard);
|
||||
});
|
||||
|
||||
|
||||
it('player fold 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('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
|
||||
|
||||
@@ -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<Player>([ 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<Player>([ person1, person2, person3, person4 ], false);
|
||||
// console.log(link.removeNode(0));
|
||||
// });
|
||||
//
|
||||
// });
|
||||
|
||||
Reference in New Issue
Block a user