Closed kangsange closed 11 months ago
我猜测是wukongium的ip是不是没绑定,但是docker pull的代码在哪里修改wk配置文件呢
wukongim的log
{"level":"debug","time":"2023-12-25 00:03:32","msg":"【UserAPI】req","req":{"uid":"admin","token":"b55b7194fe994bd7b61d861662295a6f","device_flag":0,"device_level":1}} {"level":"debug","time":"2023-12-25 00:04:42","msg":"【Conn[[reactor-4]1]】max idle time exceeded, close the connection","maxIdle":2000,"lastActivity":2916,"conn":"Conn[1] uid= fd={36} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:04:42","msg":"【Dispatch】conn close for OnClose","conn":"Conn[1] uid= fd={36} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:04:42","msg":"【Processor】conn is close","conn":"Conn[1] uid= fd={36} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:06:10","msg":"【ReactorSub-4】connection error","error":"handshake error: bad \"Connection\" header"} {"level":"debug","time":"2023-12-25 00:06:10","msg":"【Dispatch】conn close for OnClose","conn":"Conn[3] uid= fd={36} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:06:10","msg":"【Processor】conn is close","conn":"Conn[3] uid= fd={36} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:06:10","msg":"【ReactorSub-4】connection error","error":"handshake error: bad \"Connection\" header"} {"level":"debug","time":"2023-12-25 00:06:10","msg":"【Dispatch】conn close for OnClose","conn":"Conn[4] uid= fd={36} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:06:10","msg":"【Processor】conn is close","conn":"Conn[4] uid= fd={36} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:06:10","msg":"【ReactorSub-4】connection error","error":"handshake error: bad \"Connection\" header"} {"level":"debug","time":"2023-12-25 00:06:10","msg":"【Dispatch】conn close for OnClose","conn":"Conn[5] uid= fd={36} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:06:10","msg":"【Processor】conn is close","conn":"Conn[5] uid= fd={36} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:06:10","msg":"【ReactorSub-1】connection error","error":"handshake error: bad \"Connection\" header"} {"level":"debug","time":"2023-12-25 00:06:10","msg":"【Dispatch】conn close for OnClose","conn":"Conn[2] uid= fd={33} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:06:10","msg":"【Processor】conn is close","conn":"Conn[2] uid= fd={33} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:07:22","msg":"【Conn[[reactor-1]6]】max idle time exceeded, close the connection","maxIdle":2000,"lastActivity":2946,"conn":"Conn[6] uid= fd={33} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:07:22","msg":"【Dispatch】conn close for OnClose","conn":"Conn[6] uid= fd={33} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:07:22","msg":"【Processor】conn is close","conn":"Conn[6] uid= fd={33} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:11:37","msg":"【Conn[[reactor-1]7]】max idle time exceeded, close the connection","maxIdle":2000,"lastActivity":2923,"conn":"Conn[7] uid= fd={33} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:11:37","msg":"【Dispatch】conn close for OnClose","conn":"Conn[7] uid= fd={33} deviceFlag=APP deviceLevel=Slave deviceID="} {"level":"debug","time":"2023-12-25 00:11:37","msg":"【Processor】conn is close","conn":"Conn[7] uid= fd={33} deviceFlag=APP deviceLevel=Slave deviceID="}
上面log显示貌似没有用户名,但我本地打印一下是这样的
显示uid和token是都有的,单独装一个wukongim的话,又是正常的
82 /83 也出错 如下图:
82 /83 也出错 如下图:
api端口是 8090
现象
按照宝塔安装的方式安装好了
接口验证:正常,注册和登录都是OK的
但用jssdk就是连不上
5001 5100 5200 5300 8306 82 83 端口可以确保都已经放开,
日志