mindcraft icon indicating copy to clipboard operation
mindcraft copied to clipboard

Agent process exited with code 0 and signal null

Open boziahh opened this issue 1 year ago • 5 comments

this is the output after "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: 'huggingface/mistralai/Mistral-Nemo-Instruct-2407', api: 'huggingface' } Using embedding settings: { api: 'huggingface' } Unknown embedding: huggingface . 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:2656) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) { errno: -4077, code: 'ECONNRESET', syscall: 'read' } Client connected Connected to MindServer Client disconnected Agent process exited with code 0 and signal null

boziahh avatar Dec 21 '24 17:12 boziahh

Did you open your game to LAN, and set the port as 55916? If this isn't the case, then just tell me.

yeroc5311 avatar Dec 28 '24 02:12 yeroc5311

i got a simillar one

> [ './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 embedding settings: { api: 'openai' }
> Initializing history...
> Initializing coder...
> Initializing npc controller...
> Initializing memory bank...
> Initializing self prompter...
> Initializing examples...
> Error with embedding model, using word-overlap instead.
> Error with embedding model, using word-overlap instead.
> Error with embedding model, using word-overlap instead.
> Examples initialized.
> Initializing task...
> andy logging into minecraft...
> { errno: -4077, code: 'ECONNRESET', syscall: 'read' }
> Client connected
> Connected to MindServer
> Client disconnected
> Agent process exited with code 0 and signal null
> 

EndersMH avatar Feb 19 '25 14:02 EndersMH

Same issue in a setup of a server.

The issue also happens on my Ubuntu VPS with minecraft running as a docker container on port 25565 (image : https://hub.docker.com/r/itzg/minecraft-server) and mindcraft running directly with the command "node main.js" (not in a container).

Examples initialized.
Initializing task...
andy logging into minecraft...
{}
Client connected
Connected to MindServer
Client disconnected
Agent process exited with code 0 and signal null

I changed the port in settings.json to 25565, and I let the default authentication ("offline").

I resolved the issue by allowing cracked version on the server by setting online-mode=false in server.properties of the server.

It worked.

smarsou avatar Mar 02 '25 22:03 smarsou

I HAVE THE SAME ISSUE

Edcaaaa4gy53 avatar Mar 13 '25 10:03 Edcaaaa4gy53

@smarsou port needs to be 55916

icwhite avatar Mar 13 '25 17:03 icwhite