Open lzw2000118 opened 1 year ago
There are many reasons for this phenomenon, but it can usually be divided into the following two categories. Firstly, please check whether the server and client have successfully connected to the relevant data, such as listening to the return values of the relevant ports. We strongly recommend not deploying to remote servers and internal network environments, as some ports may be modified. Secondly, sometimes similar situations may occur when connecting to openAI servers. Please check your API at this time_ The bill of the key and the proxy of the network.
哈喽 请问您解决了吗 我也遇到相同的问题了。如果您解决了此问题希望能得到答案
Exception in callback functools.partial(<function WebSocketProtocol._run_callback.
The original issue was ultimately determined to be caused by problems related to the OpenAI API. The latest traceback appears inconsistent with the original problem. This seems to be due to system issues or Mysql version problems leading to incorrectly formatted playerID being stored in the database. I suggest checking the Mysql version or trying deployment on a MacOS or Linux system instead. We have not tested for bugs specific to Windows deployments.
您好,请问一下我这边为啥点击创建的按钮没法点击,只能移动mayor,右下角+-可以点 其他都点不了 只有一个mayor角色, 以下为启动python -u tick.py的nohup日志 process id: 2225427 process python server killed process python server restarted ----------Server Started---------- tail: nohup.log: file truncated ----------Server Started---------- somebody linked. tick-10001 logging in at 2023-08-26 15:30:20 tick-10001 send: {"uid":"tick-10001","uri":"ping","method":"GET","data":{}} tick-10001 send: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"} before solving using: set() before solving chatted: set() before solving movings: set() before solving inited: set() before solving cache: [] movings: set() cache: [] inited: set() using: set() chatted: set() tick-10001 send: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"} before solving using: set() before solving chatted: set() before solving movings: set() before solving inited: set() before solving cache: [] movings: set() .......
以下为启动python -u tick.py的日志 ['tick.py'] Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"} Send: {"uid":"tick-10001","uri":"ping","method":"GET","data":{}} Received: {"code": 200, "uri": "welcome", "msg": "Welcome"} Received: {"code":200,"data":{"register":true,"ping":true},"uid":"tick-10001","msg":"","uri":"ping"} Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"} Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"} Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"} Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"} Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"} Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"} Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"} Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"} Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"} Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"} Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"} Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"} Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"} Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"} Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"} Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"} Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"} Sending: {"uid":"tick-10001","uri":"command.timetick.Tick","method":"POST"} Received: {"code":200,"data":{"moving":0,"chatted":0,"using":0,"inited":0,"cache":0},"uid":"tick-10001","msg":"","uri":"command.timetick.Tick"} Send: {"uid":"tick-10001","uri":"ping","method":"GET","data":{}} Received: {"code":200,"data":{"ping":true},"uid":"tick-10001","msg":"","uri":"ping"}.........
另开一个窗口启动python -u mayor.py只显示['mayor.py'] logs下面没有文件 ~/logs/agent_name_prompt.txt 这个文件也没有产生