Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
18921222044 opened this issue Jan 31, 2025 · 28 comments

Comments

@18921222044
Copy link

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

@venkatmidhunmareedu
Copy link

{ 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 :)

@18921222044
Copy link
Author

就是这样的,但还是不行

@18921222044
Copy link
Author

@venkatmidhunmareedu

@18921222044
Copy link
Author

他是能进去的

@18921222044
Copy link
Author

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

@18921222044
Copy link
Author

一直都是这样

@18921222044
Copy link
Author

求大佬解答

@18921222044
Copy link
Author

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

@venkatmidhunmareedu
Copy link

venkatmidhunmareedu commented Feb 1, 2025

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

@Sweaterdog
Copy link

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

@18921222044
Copy link
Author

ok

@18921222044
Copy link
Author

@venkatmidhunmareedu @Sweaterdog Still like that

@18921222044
Copy link
Author

@venkatmidhunmareedu i am china

@18921222044
Copy link
Author

Chinese

@18921222044
Copy link
Author

@18921222044
Copy link
Author

@18921222044
Copy link
Author

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

@18921222044
Copy link
Author

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.

@18921222044
Copy link
Author

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.

@18921222044
Copy link
Author

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:

@venkatmidhunmareedu
Copy link

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

@18921222044
Copy link
Author

yes

@18921222044
Copy link
Author

andy.json

@18921222044
Copy link
Author

@18921222044
Copy link
Author

@venkatmidhunmareedu

@venkatmidhunmareedu
Copy link

venkatmidhunmareedu commented Feb 10, 2025

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)

@18921222044
Copy link
Author

Still won't work

@18921222044
Copy link
Author

@venkatmidhunmareedu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants