Skip to content

Errno : -4077; code: ECONNRESET; Agent exit code 1 and signal null #697

@Carrotex

Description

@Carrotex

Hello there,
Here is an issue when launching andy while using the following configuration :

  • Minecraft 1.20.1
  • Forge 47.4.16
  • Launcher : Modrinth
    (if mod list is necessary please let me know)
    Here is the console output (Powershell) :
PS C:\WINDOWS\system32> cd "C:\Users\jimmy\AppData\Roaming\ModrinthApp\profiles\Not Corp\MindCraft"
PS C:\Users\jimmy\AppData\Roaming\ModrinthApp\profiles\Not Corp\MindCraft> node main.js
MindServer running on port 8080
MC server found. (Host: 127.0.0.1, Port: 55916, Version: 1.20.1)
Client connected
Connecting to MindServer
Client connected
andy connected to MindServer
Starting agent
Initializing agent andy...
Examples initialized.
No task.
andy logging into minecraft...
Error: read ECONNRESET
    at TCP.onStreamRead (node:internal/stream_base_commons:216:20) {
  errno: -4077,
  code: 'ECONNRESET',
  syscall: 'read'
}
[LoginGuard] Connection Error: Error: read ECONNRESET
[LoginGuard] Connection Failed: Server is under maintenance or restarting.
Agent process exited with code 1 and signal null
Agent process exited too quickly and will not be restarted.

I have tried to launch 'main.js' as administrator but same issue.
API key is valid and verified (Gemini).
File 'keys.example.json' has been rename 'keys.json', as aked in 'README.MD'.
Using Node.js 22.22.0 (LTS) first, then Node.js 20.20.0 (LTS) but same issue on both versions.
I remain available if you need any further information.
Thanks a lot !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions