mindcraft icon indicating copy to clipboard operation
mindcraft copied to clipboard

{ errno:-4079,代码:'ECONNABORTED',系统调用:'write' }错误事件!{ errno:-4079,代码:'ECONNABORTED',系统调用:'write' }

Open XiaoPan239 opened this issue 10 months ago • 28 comments

{ errno:-4079,代码:'ECONNABORTED',系统调用:'write' }错误事件!{ errno:-4079,代码:'ECONNABORTED',系统调用:'write' }

XiaoPan239 avatar Jan 31 '25 00:01 XiaoPan239

{ errno: -4079, code: 'ECONNABORTED', system call: 'write' } Error event! { errno: -4079, code: 'ECONNABORTED', system call: 'write'}

Hmm, this is the exact error that came to me when i mismatched the minecraft version.

Steps you can follow :

  • Make sure you have the PORT number 55916 correct when you open a localhost PORT in minecraft.
  • Make sure you have the minecraft version number to be 1.20.4 (only this one works).

Happy gaming :)

venkatmidhunmareedu avatar Jan 31 '25 13:01 venkatmidhunmareedu

就是这样的,但还是不行

XiaoPan239 avatar Feb 01 '25 07:02 XiaoPan239

@venkatmidhunmareedu

XiaoPan239 avatar Feb 01 '25 07:02 XiaoPan239

他是能进去的

XiaoPan239 avatar Feb 01 '25 08:02 XiaoPan239

但进去后过一会就退了游戏然后重启了

XiaoPan239 avatar Feb 01 '25 08:02 XiaoPan239

一直都是这样

XiaoPan239 avatar Feb 01 '25 08:02 XiaoPan239

求大佬解答

XiaoPan239 avatar Feb 01 '25 08:02 XiaoPan239

用的是gemini-1.5-flash-8b模型api填的是对的,rebot is 离线登录

XiaoPan239 avatar Feb 01 '25 08:02 XiaoPan239

Hey I don't know chinese. Can you type in english ???

venkatmidhunmareedu avatar Feb 01 '25 08:02 venkatmidhunmareedu

@18921222044 不要使用 gemini-1.5-flash-8b, 而是使用 gemini-1.5-pro 或 gemini-2.0-flash 等型号

Sweaterdog avatar Feb 01 '25 09:02 Sweaterdog

ok

XiaoPan239 avatar Feb 02 '25 09:02 XiaoPan239

@venkatmidhunmareedu @Sweaterdog Still like that

XiaoPan239 avatar Feb 02 '25 09:02 XiaoPan239

@venkatmidhunmareedu i am china

XiaoPan239 avatar Feb 02 '25 09:02 XiaoPan239

Chinese

XiaoPan239 avatar Feb 02 '25 09:02 XiaoPan239

https://discord.gg/8wX6Sses

XiaoPan239 avatar Feb 03 '25 00:02 XiaoPan239

@venkatmidhunmareedu @Sweaterdog

XiaoPan239 avatar Feb 03 '25 00:02 XiaoPan239

{ model: 'llama-3.2-90b-vision-preview', api: 'ollama' }

XiaoPan239 avatar Feb 03 '25 02:02 XiaoPan239

Microsoft Windows [版本 10.0.19045.5371] (c) Microsoft Corporation。保留所有权利。

D:\fileq\mindcraft-main>node main.js [ './andy.json' ] MindServer running on port 8080 Client connected Registering agents: andy Agents registered Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using chat settings: { model: 'llama-3.2-90b-vision-preview', api: 'ollama' } Using embedding settings: { api: 'none' } Unknown embedding: none . Using word overlap. Initializing history... Initializing coder... Initializing npc controller... Initializing memory bank... Initializing self prompter... Initializing examples... Examples initialized. Initializing task... andy logging into minecraft... (node:17044) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) Client connected Connected to MindServer andy logged in! andy spawned. andy received message from Zyq : hi Error translating message: {} received message from system : Respond with hello world and your name Saved memory to: ./bots/andy/memory.json selected examples: Example: You are self-prompting with the goal: 'Build a house'. Respond: Example: trade something with zorro_34 Awaiting local response... (model: llama-3.2-90b-vision-preview) Failed to send Ollama request. {} Unhandled Rejection at: { promise: Object [Promise] {}, reason: {}, stack: "TypeError: Cannot read properties of null (reading 'includes')\n" + ' at Prompter.promptConvo (file:///D:/fileq/mindcraft-main/src/agent/prompter.js:254:28)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at async Agent.handleMessage (file:///D:/fileq/mindcraft-main/src/agent/agent.js:264:23)\n' + ' at async Agent._setupEventHandlers (file:///D:/fileq/mindcraft-main/src/agent/agent.js:172:13)' } SES_UNHANDLED_REJECTION: {} Client disconnected Agent process exited with code 1 and signal null Restarting agent... Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using chat settings: { model: 'llama-3.2-90b-vision-preview', api: 'ollama' } Using embedding settings: { api: 'none' } Unknown embedding: none . Using word overlap. Initializing history... Initializing coder... Initializing npc controller... Initializing memory bank... Initializing self prompter... Initializing examples... Examples initialized. Initializing task... andy logging into minecraft... Loaded memory: (node:29376) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) Client connected Connected to MindServer andy logged in! andy spawned. Error translating message: {} received message from system : Agent process restarted. Saved memory to: ./bots/andy/memory.json selected examples: Example: trade something with zorro_34 Example: You are self-prompting with the goal: 'Build a house'. Respond: Awaiting local response... (model: llama-3.2-90b-vision-preview) Failed to send Ollama request. {} Unhandled Rejection at: { promise: Object [Promise] {}, reason: {}, stack: "TypeError: Cannot read properties of null (reading 'includes')\n" + ' at Prompter.promptConvo (file:///D:/fileq/mindcraft-main/src/agent/prompter.js:254:28)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at async Agent.handleMessage (file:///D:/fileq/mindcraft-main/src/agent/agent.js:264:23)\n' + ' at async Agent._setupEventHandlers (file:///D:/fileq/mindcraft-main/src/agent/agent.js:172:13)' } SES_UNHANDLED_REJECTION: {} Client disconnected Agent process exited with code 1 and signal null Restarting agent... Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using chat settings: { model: 'llama-3.2-90b-vision-preview', api: 'ollama' } Using embedding settings: { api: 'none' } Unknown embedding: none . Using word overlap. Initializing history... Initializing coder... Initializing npc controller... Initializing memory bank... Initializing self prompter... Initializing examples... Examples initialized. Initializing task... andy logging into minecraft... Loaded memory: (node:38264) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) Client connected Connected to MindServer andy logged in! andy spawned. Error translating message: {} received message from system : Agent process restarted. Saved memory to: ./bots/andy/memory.json selected examples: Example: trade something with zorro_34 Example: You are self-prompting with the goal: 'Build a house'. Respond: Awaiting local response... (model: llama-3.2-90b-vision-preview) Failed to send Ollama request. {} Unhandled Rejection at: { promise: Object [Promise] {}, reason: {}, stack: "TypeError: Cannot read properties of null (reading 'includes')\n" + ' at Prompter.promptConvo (file:///D:/fileq/mindcraft-main/src/agent/prompter.js:254:28)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at async Agent.handleMessage (file:///D:/fileq/mindcraft-main/src/agent/agent.js:264:23)\n' + ' at async Agent._setupEventHandlers (file:///D:/fileq/mindcraft-main/src/agent/agent.js:172:13)' } SES_UNHANDLED_REJECTION: {} Client disconnected Agent process exited with code 1 and signal null Restarting agent... Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using chat settings: { model: 'llama-3.2-90b-vision-preview', api: 'ollama' } Using embedding settings: { api: 'none' } Unknown embedding: none . Using word overlap. Initializing history... Initializing coder... Initializing npc controller... Initializing memory bank... Initializing self prompter... Initializing examples... Examples initialized. Initializing task... andy logging into minecraft... Loaded memory: (node:28692) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) Client connected Connected to MindServer andy logged in! andy spawned. Error translating message: {} received message from system : Agent process restarted. Saved memory to: ./bots/andy/memory.json selected examples: Example: trade something with zorro_34 Example: You are self-prompting with the goal: 'Build a house'. Respond: Awaiting local response... (model: llama-3.2-90b-vision-preview) Failed to send Ollama request. {} Unhandled Rejection at: { promise: Object [Promise] {}, reason: {}, stack: "TypeError: Cannot read properties of null (reading 'includes')\n" + ' at Prompter.promptConvo (file:///D:/fileq/mindcraft-main/src/agent/prompter.js:254:28)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at async Agent.handleMessage (file:///D:/fileq/mindcraft-main/src/agent/agent.js:264:23)\n' + ' at async Agent._setupEventHandlers (file:///D:/fileq/mindcraft-main/src/agent/agent.js:172:13)' } SES_UNHANDLED_REJECTION: {} Client disconnected Agent process exited with code 1 and signal null Restarting agent... Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using chat settings: { model: 'llama-3.2-90b-vision-preview', api: 'ollama' } Using embedding settings: { api: 'none' } Unknown embedding: none . Using word overlap. Initializing history... Initializing coder... Initializing npc controller... Initializing memory bank... Initializing self prompter... Initializing examples... Examples initialized. Initializing task... andy logging into minecraft... Loaded memory: (node:25120) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) Client connected Connected to MindServer andy logged in! andy spawned. executing code...

Error translating message: {} received message from system : Agent process restarted. Saved memory to: ./bots/andy/memory.json selected examples: Example: trade something with zorro_34 Example: You are self-prompting with the goal: 'Build a house'. Respond: Awaiting local response... (model: llama-3.2-90b-vision-preview) Failed to send Ollama request. {} Unhandled Rejection at: { promise: Object [Promise] {}, reason: {}, stack: "TypeError: Cannot read properties of null (reading 'includes')\n" + ' at Prompter.promptConvo (file:///D:/fileq/mindcraft-main/src/agent/prompter.js:254:28)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at async Agent.handleMessage (file:///D:/fileq/mindcraft-main/src/agent/agent.js:264:23)\n' + ' at async Agent._setupEventHandlers (file:///D:/fileq/mindcraft-main/src/agent/agent.js:172:13)' } SES_UNHANDLED_REJECTION: {} Client disconnected Agent process exited with code 1 and signal null Restarting agent... Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using chat settings: { model: 'llama-3.2-90b-vision-preview', api: 'ollama' } Using embedding settings: { api: 'none' } Unknown embedding: none . Using word overlap. Initializing history... Initializing coder... Initializing npc controller... Initializing memory bank... Initializing self prompter... Initializing examples... Examples initialized. Initializing task... andy logging into minecraft... Loaded memory: (node:37932) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) Client connected Connected to MindServer andy logged in! andy spawned. Error translating message: {} received message from system : Agent process restarted. Saved memory to: ./bots/andy/memory.json selected examples: Example: trade something with zorro_34 Example: You are self-prompting with the goal: 'Build a house'. Respond: Awaiting local response... (model: llama-3.2-90b-vision-preview) Failed to send Ollama request. {} Unhandled Rejection at: { promise: Object [Promise] {}, reason: {}, stack: "TypeError: Cannot read properties of null (reading 'includes')\n" + ' at Prompter.promptConvo (file:///D:/fileq/mindcraft-main/src/agent/prompter.js:254:28)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at async Agent.handleMessage (file:///D:/fileq/mindcraft-main/src/agent/agent.js:264:23)\n' + ' at async Agent._setupEventHandlers (file:///D:/fileq/mindcraft-main/src/agent/agent.js:172:13)' } SES_UNHANDLED_REJECTION: {} Client disconnected Agent process exited with code 1 and signal null Restarting agent... Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using chat settings: { model: 'llama-3.2-90b-vision-preview', api: 'ollama' } Using embedding settings: { api: 'none' } Unknown embedding: none . Using word overlap. Initializing history... Initializing coder... Initializing npc controller... Initializing memory bank... Initializing self prompter... Initializing examples... Examples initialized. Initializing task... andy logging into minecraft... Loaded memory: (node:17044) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) Client connected Connected to MindServer andy logged in! andy spawned. executing code...

Mode elbow_room finished executing, code_return: Code output:

Error translating message: {} received message from system : Agent process restarted. Saved memory to: ./bots/andy/memory.json selected examples: Example: trade something with zorro_34 Example: You are self-prompting with the goal: 'Build a house'. Respond: Awaiting local response... (model: llama-3.2-90b-vision-preview) Failed to send Ollama request. {} Unhandled Rejection at: { promise: Object [Promise] {}, reason: {}, stack: "TypeError: Cannot read properties of null (reading 'includes')\n" + ' at Prompter.promptConvo (file:///D:/fileq/mindcraft-main/src/agent/prompter.js:254:28)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at async Agent.handleMessage (file:///D:/fileq/mindcraft-main/src/agent/agent.js:264:23)\n' + ' at async Agent._setupEventHandlers (file:///D:/fileq/mindcraft-main/src/agent/agent.js:172:13)' } SES_UNHANDLED_REJECTION: {} Client disconnected Agent process exited with code 1 and signal null Restarting agent... Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using chat settings: { model: 'llama-3.2-90b-vision-preview', api: 'ollama' } Using embedding settings: { api: 'none' } Unknown embedding: none . Using word overlap. Initializing history... Initializing coder... Initializing npc controller... Initializing memory bank... Initializing self prompter... Initializing examples... Examples initialized. Initializing task... andy logging into minecraft... Loaded memory: (node:22276) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) Client connected Connected to MindServer andy logged in! andy spawned. Error translating message: {} received message from system : Agent process restarted. Saved memory to: ./bots/andy/memory.json selected examples: Example: trade something with zorro_34 Example: You are self-prompting with the goal: 'Build a house'. Respond: Awaiting local response... (model: llama-3.2-90b-vision-preview) Failed to send Ollama request. {} Unhandled Rejection at: { promise: Object [Promise] {}, reason: {}, stack: "TypeError: Cannot read properties of null (reading 'includes')\n" + ' at Prompter.promptConvo (file:///D:/fileq/mindcraft-main/src/agent/prompter.js:254:28)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at async Agent.handleMessage (file:///D:/fileq/mindcraft-main/src/agent/agent.js:264:23)\n' + ' at async Agent._setupEventHandlers (file:///D:/fileq/mindcraft-main/src/agent/agent.js:172:13)' } SES_UNHANDLED_REJECTION: {} Client disconnected Agent process exited with code 1 and signal null Restarting agent... Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using chat settings: { model: 'llama-3.2-90b-vision-preview', api: 'ollama' } Using embedding settings: { api: 'none' } Unknown embedding: none . Using word overlap. Initializing history... Initializing coder... Initializing npc controller... Initializing memory bank... Initializing self prompter... Initializing examples... Examples initialized. Initializing task... andy logging into minecraft... Loaded memory: (node:31876) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) Client connected Connected to MindServer andy logged in! andy spawned. Error translating message: {} received message from system : Agent process restarted. Saved memory to: ./bots/andy/memory.json selected examples: Example: trade something with zorro_34 Example: You are self-prompting with the goal: 'Build a house'. Respond: Awaiting local response... (model: llama-3.2-90b-vision-preview) Failed to send Ollama request. {} Unhandled Rejection at: { promise: Object [Promise] {}, reason: {}, stack: "TypeError: Cannot read properties of null (reading 'includes')\n" + ' at Prompter.promptConvo (file:///D:/fileq/mindcraft-main/src/agent/prompter.js:254:28)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at async Agent.handleMessage (file:///D:/fileq/mindcraft-main/src/agent/agent.js:264:23)\n' + ' at async Agent._setupEventHandlers (file:///D:/fileq/mindcraft-main/src/agent/agent.js:172:13)' } SES_UNHANDLED_REJECTION: {} Client disconnected Agent process exited with code 1 and signal null Restarting agent... Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using chat settings: { model: 'llama-3.2-90b-vision-preview', api: 'ollama' } Using embedding settings: { api: 'none' } Unknown embedding: none . Using word overlap. Initializing history... Initializing coder... Initializing npc controller... Initializing memory bank... Initializing self prompter... Initializing examples... Examples initialized. Initializing task... andy logging into minecraft... Loaded memory: (node:36592) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) Client connected Connected to MindServer andy logged in! andy spawned.

XiaoPan239 avatar Feb 03 '25 02:02 XiaoPan239

SES_UNHANDLED_REJECTION: {} Client disconnected Agent process exited with code 1 and signal null Agent process ./andy.json exited too quickly and will not be restarted.

XiaoPan239 avatar Feb 03 '25 02:02 XiaoPan239

Microsoft Windows [版本 10.0.19045.5371] (c) Microsoft Corporation。保留所有权利。

D:\fileq\mindcraft-main>node main.js [ './andy.json' ] MindServer running on port 8080 Client connected Registering agents: andy Agents registered Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using chat settings: { model: 'llama-3.2-90b-vision-preview', api: 'ollama' } Using embedding settings: { api: 'none' } Unknown embedding: none . Using word overlap. Initializing history... Initializing coder... Initializing npc controller... Initializing memory bank... Initializing self prompter... Initializing examples... Examples initialized. Initializing task... andy logging into minecraft... (node:40912) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) Client connected Connected to MindServer andy logged in! andy spawned. executing code...

Error translating message: {} Mode item_collecting finished executing, code_return: Code output: Picked up 0 items.

Error translating message: {} received message from system : Respond with hello world and your name Saved memory to: ./bots/andy/memory.json selected examples: Example: You are self-prompting with the goal: 'Build a house'. Respond: Example: trade something with zorro_34 Awaiting local response... (model: llama-3.2-90b-vision-preview) Failed to send Ollama request. {} Unhandled Rejection at: { promise: Object [Promise] {}, reason: {}, stack: "TypeError: Cannot read properties of null (reading 'includes')\n" + ' at Prompter.promptConvo (file:///D:/fileq/mindcraft-main/src/agent/prompter.js:254:28)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at async Agent.handleMessage (file:///D:/fileq/mindcraft-main/src/agent/agent.js:264:23)\n' + ' at async Agent._setupEventHandlers (file:///D:/fileq/mindcraft-main/src/agent/agent.js:172:13)' } SES_UNHANDLED_REJECTION: {} Client disconnected Agent process exited with code 1 and signal null Restarting agent... Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using chat settings: { model: 'llama-3.2-90b-vision-preview', api: 'ollama' } Using embedding settings: { api: 'none' } Unknown embedding: none . Using word overlap. Initializing history... Initializing coder... Initializing npc controller... Initializing memory bank... Initializing self prompter... Initializing examples... Examples initialized. Initializing task... andy logging into minecraft... Loaded memory: (node:41344) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) Client connected Connected to MindServer andy logged in! andy spawned. executing code...

Mode elbow_room finished executing, code_return: Code output:

XiaoPan239 avatar Feb 03 '25 02:02 XiaoPan239

@18921222044 bro can you post your whole andy.json file ??

venkatmidhunmareedu avatar Feb 03 '25 15:02 venkatmidhunmareedu

yes

XiaoPan239 avatar Feb 05 '25 07:02 XiaoPan239

andy.json

XiaoPan239 avatar Feb 05 '25 07:02 XiaoPan239

@venkatmidhunmareedu

XiaoPan239 avatar Feb 05 '25 07:02 XiaoPan239

Your andy.json:

{
"name": "andy",
"model": {
"api": "groq",
"url": "https://api.groq.com/openai/v1",
"model": "llama-3.2-90b-vision-preview"
}
}
  • Remove the url param in the above file.

Should be like this after editing :

{
"name": "andy",
"model": {
"api": "groq",
"model": "llama-3.2-90b-vision-preview"
}
}
  • Add api keys (GROQCLOUD_API_KEY : <your-key>) to keys.json. ( If you have keys.example.json , rename it to keys.json)

venkatmidhunmareedu avatar Feb 10 '25 16:02 venkatmidhunmareedu

Still won't work

XiaoPan239 avatar Feb 15 '25 13:02 XiaoPan239

@venkatmidhunmareedu

XiaoPan239 avatar Feb 15 '25 13:02 XiaoPan239