Mineflayer keeps exiting and restarting
GoingMyWay opened this issue · 13 comments
I found Mineflayer keeps exiting and restarting, which costs much training time. Sometimes when the bot left the game, the Mineflayer restarts and gets stuck and the bot never joins the game later.
Mineflayer process has exited, restarting
Subprocess mineflayer started with PID 29939.
Server started on port 3000
Mineflayer process has exited, restarting
Subprocess mineflayer started with PID 30983.
Server started on port 3000
Your last round rollout terminated due to error:
HTTPConnectionPool(host='127.0.0.1', port=3000): Read timed out. (read timeout=600)
The following are the recent log
2023-06-14 16:34:49,716 - mineflayer - INFO - Stopping subprocess.
2023-06-14 16:34:50,737 - mineflayer - INFO - Starting subprocess with commands: ['node', '/Users/me/Org/code/github/Voyager/voyager/env/mineflayer/index.js', '3000']
2023-06-14 16:34:57,720 - mineflayer - INFO - Server started on port 3000
2023-06-14 16:34:57,724 - mineflayer - INFO - Subprocess is ready.
2023-06-14 16:34:57,854 - mineflayer - INFO - {
2023-06-14 16:34:57,855 - mineflayer - INFO - port: 52627,
2023-06-14 16:34:57,855 - mineflayer - INFO - reset: 'soft',
2023-06-14 16:34:57,856 - mineflayer - INFO - inventory: {},
2023-06-14 16:34:57,856 - mineflayer - INFO - equipment: [],
2023-06-14 16:34:57,856 - mineflayer - INFO - spread: false,
2023-06-14 16:34:57,857 - mineflayer - INFO - waitTicks: 20,
2023-06-14 16:34:57,857 - mineflayer - INFO - position: null
2023-06-14 16:34:57,858 - mineflayer - INFO - }
2023-06-14 16:35:34,032 - mineflayer - INFO - Error: write EPIPE
2023-06-14 16:35:34,034 - mineflayer - INFO - at afterWriteDispatched (node:internal/stream_base_commons:160:15)
2023-06-14 16:35:34,034 - mineflayer - INFO - at writeGeneric (node:internal/stream_base_commons:151:3)
2023-06-14 16:35:34,035 - mineflayer - INFO - at Socket._writeGeneric (node:net:930:11)
2023-06-14 16:35:34,035 - mineflayer - INFO - at Socket._write (node:net:942:8)
2023-06-14 16:35:34,035 - mineflayer - INFO - at writeOrBuffer (node:internal/streams/writable:392:12)
2023-06-14 16:35:34,035 - mineflayer - INFO - at _write (node:internal/streams/writable:333:10)
2023-06-14 16:35:34,035 - mineflayer - INFO - at Writable.write (node:internal/streams/writable:337:10)
2023-06-14 16:35:34,035 - mineflayer - INFO - at Cipheriv.ondata (node:internal/streams/readable:766:22)
2023-06-14 16:35:34,035 - mineflayer - INFO - at Cipheriv.emit (node:events:513:28)
2023-06-14 16:35:34,035 - mineflayer - INFO - at addChunk (node:internal/streams/readable:324:12) {
2023-06-14 16:35:34,036 - mineflayer - INFO - errno: -32,
2023-06-14 16:35:34,036 - mineflayer - INFO - code: 'EPIPE',
2023-06-14 16:35:34,036 - mineflayer - INFO - syscall: 'write'
2023-06-14 16:35:34,036 - mineflayer - INFO - }
2023-06-14 16:36:11,550 - mineflayer - INFO - Stopping subprocess.
2023-06-14 16:36:12,583 - mineflayer - INFO - Starting subprocess with commands: ['node', '/Users/me/Org/code/github/Voyager/voyager/env/mineflayer/index.js', '3000']
2023-06-14 16:36:14,472 - mineflayer - INFO - Server started on port 3000
2023-06-14 16:36:14,473 - mineflayer - INFO - Subprocess is ready.
2023-06-14 16:36:14,527 - mineflayer - INFO - {
2023-06-14 16:36:14,527 - mineflayer - INFO - port: 52627,
2023-06-14 16:36:14,527 - mineflayer - INFO - reset: 'soft',
2023-06-14 16:36:14,527 - mineflayer - INFO - inventory: {},
2023-06-14 16:36:14,527 - mineflayer - INFO - equipment: [],
2023-06-14 16:36:14,528 - mineflayer - INFO - spread: false,
2023-06-14 16:36:14,528 - mineflayer - INFO - waitTicks: 20,
2023-06-14 16:36:14,528 - mineflayer - INFO - position: null
2023-06-14 16:36:14,528 - mineflayer - INFO - }
2023-06-14 16:37:39,396 - mineflayer - INFO - Error: write EPIPE
2023-06-14 16:37:39,410 - mineflayer - INFO - at afterWriteDispatched (node:internal/stream_base_commons:160:15)
2023-06-14 16:37:39,410 - mineflayer - INFO - at writeGeneric (node:internal/stream_base_commons:151:3)
2023-06-14 16:37:39,410 - mineflayer - INFO - at Socket._writeGeneric (node:net:930:11)
2023-06-14 16:37:39,411 - mineflayer - INFO - at Socket._write (node:net:942:8)
2023-06-14 16:37:39,411 - mineflayer - INFO - at writeOrBuffer (node:internal/streams/writable:392:12)
2023-06-14 16:37:39,411 - mineflayer - INFO - at _write (node:internal/streams/writable:333:10)
2023-06-14 16:37:39,411 - mineflayer - INFO - at Writable.write (node:internal/streams/writable:337:10)
2023-06-14 16:37:39,411 - mineflayer - INFO - at Cipheriv.ondata (node:internal/streams/readable:766:22)
2023-06-14 16:37:39,412 - mineflayer - INFO - at Cipheriv.emit (node:events:513:28)
2023-06-14 16:37:39,412 - mineflayer - INFO - at addChunk (node:internal/streams/readable:324:12) {
2023-06-14 16:37:39,412 - mineflayer - INFO - errno: -32,
2023-06-14 16:37:39,412 - mineflayer - INFO - code: 'EPIPE',
2023-06-14 16:37:39,413 - mineflayer - INFO - syscall: 'write'
2023-06-14 16:37:39,413 - mineflayer - INFO - }
2023-06-14 16:47:08,147 - mineflayer - INFO - Stopping subprocess.
2023-06-14 16:47:09,210 - mineflayer - INFO - Starting subprocess with commands: ['node', '/Users/me/Org/code/github/Voyager/voyager/env/mineflayer/index.js', '3000']
2023-06-14 16:47:14,031 - mineflayer - INFO - Server started on port 3000
2023-06-14 16:47:14,033 - mineflayer - INFO - Subprocess is ready.
2023-06-14 16:47:14,371 - mineflayer - INFO - {
2023-06-14 16:47:14,372 - mineflayer - INFO - port: 52627,
2023-06-14 16:47:14,372 - mineflayer - INFO - reset: 'hard',
2023-06-14 16:47:14,372 - mineflayer - INFO - inventory: {
2023-06-14 16:47:14,372 - mineflayer - INFO - raw_iron: 10,
2023-06-14 16:47:14,372 - mineflayer - INFO - sand: 8,
2023-06-14 16:47:14,373 - mineflayer - INFO - moss_block: 1,
2023-06-14 16:47:14,373 - mineflayer - INFO - andesite: 28,
2023-06-14 16:47:14,373 - mineflayer - INFO - azalea: 1,
2023-06-14 16:47:14,373 - mineflayer - INFO - diorite: 66,
2023-06-14 16:47:14,373 - mineflayer - INFO - oak_planks: 4,
2023-06-14 16:47:14,373 - mineflayer - INFO - oak_sapling: 1,
2023-06-14 16:47:14,374 - mineflayer - INFO - arrow: 1,
2023-06-14 16:47:14,374 - mineflayer - INFO - iron_sword: 1,
2023-06-14 16:47:14,374 - mineflayer - INFO - dark_oak_planks: 32,
2023-06-14 16:47:14,374 - mineflayer - INFO - cobblestone: 98,
2023-06-14 16:47:14,374 - mineflayer - INFO - granite: 2,
2023-06-14 16:47:14,374 - mineflayer - INFO - stone_axe: 1,
2023-06-14 16:47:14,375 - mineflayer - INFO - wheat_seeds: 1,
2023-06-14 16:47:14,375 - mineflayer - INFO - iron_ingot: 2,
2023-06-14 16:47:14,375 - mineflayer - INFO - stick: 3,
2023-06-14 16:47:14,375 - mineflayer - INFO - dirt: 34,
2023-06-14 16:47:14,375 - mineflayer - INFO - cobbled_deepslate: 16,
2023-06-14 16:47:14,376 - mineflayer - INFO - tuff: 10,
2023-06-14 16:47:14,376 - mineflayer - INFO - crafting_table: 1,
2023-06-14 16:47:14,376 - mineflayer - INFO - furnace: 1,
2023-06-14 16:47:14,376 - mineflayer - INFO - stone_pickaxe: 1,
2023-06-14 16:47:14,376 - mineflayer - INFO - wooden_pickaxe: 1,
2023-06-14 16:47:14,377 - mineflayer - INFO - torch: 8,
2023-06-14 16:47:14,377 - mineflayer - INFO - iron_pickaxe: 1
2023-06-14 16:47:14,377 - mineflayer - INFO - },
2023-06-14 16:47:14,377 - mineflayer - INFO - equipment: [ null, null, null, null, 'iron_pickaxe', null ],
2023-06-14 16:47:14,378 - mineflayer - INFO - spread: false,
2023-06-14 16:47:14,379 - mineflayer - INFO - waitTicks: 20,
2023-06-14 16:47:14,379 - mineflayer - INFO - position: { x: 384.5, y: 93, z: -399.5 }
2023-06-14 16:47:14,379 - mineflayer - INFO - }
2023-06-14 16:48:32,856 - mineflayer - INFO - Stopping subprocess.
2023-06-14 16:48:33,898 - mineflayer - INFO - Starting subprocess with commands: ['node', '/Users/me/Org/code/github/Voyager/voyager/env/mineflayer/index.js', '3000']
2023-06-14 16:48:39,967 - mineflayer - INFO - Server started on port 3000
2023-06-14 16:48:39,968 - mineflayer - INFO - Subprocess is ready.
2023-06-14 16:48:40,202 - mineflayer - INFO - {
2023-06-14 16:48:40,203 - mineflayer - INFO - port: 52627,
2023-06-14 16:48:40,203 - mineflayer - INFO - reset: 'soft',
2023-06-14 16:48:40,203 - mineflayer - INFO - inventory: {},
2023-06-14 16:48:40,203 - mineflayer - INFO - equipment: [],
2023-06-14 16:48:40,203 - mineflayer - INFO - spread: false,
2023-06-14 16:48:40,204 - mineflayer - INFO - waitTicks: 20,
2023-06-14 16:48:40,204 - mineflayer - INFO - position: null
2023-06-14 16:48:40,204 - mineflayer - INFO - }
2023-06-14 16:49:35,060 - mineflayer - INFO - Error: write EPIPE
2023-06-14 16:49:35,060 - mineflayer - INFO - at afterWriteDispatched (node:internal/stream_base_commons:160:15)
2023-06-14 16:49:35,061 - mineflayer - INFO - at writeGeneric (node:internal/stream_base_commons:151:3)
2023-06-14 16:49:35,061 - mineflayer - INFO - at Socket._writeGeneric (node:net:930:11)
2023-06-14 16:49:35,061 - mineflayer - INFO - at Socket._write (node:net:942:8)
2023-06-14 16:49:35,062 - mineflayer - INFO - at writeOrBuffer (node:internal/streams/writable:392:12)
2023-06-14 16:49:35,062 - mineflayer - INFO - at _write (node:internal/streams/writable:333:10)
2023-06-14 16:49:35,062 - mineflayer - INFO - at Writable.write (node:internal/streams/writable:337:10)
2023-06-14 16:49:35,062 - mineflayer - INFO - at Cipheriv.ondata (node:internal/streams/readable:766:22)
2023-06-14 16:49:35,062 - mineflayer - INFO - at Cipheriv.emit (node:events:513:28)
2023-06-14 16:49:35,063 - mineflayer - INFO - at addChunk (node:internal/streams/readable:324:12) {
2023-06-14 16:49:35,063 - mineflayer - INFO - errno: -32,
2023-06-14 16:49:35,063 - mineflayer - INFO - code: 'EPIPE',
2023-06-14 16:49:35,063 - mineflayer - INFO - syscall: 'write'
2023-06-14 16:49:35,064 - mineflayer - INFO - }
2023-06-14 16:49:40,889 - mineflayer - INFO - Stopping subprocess.
2023-06-14 16:49:41,927 - mineflayer - INFO - Starting subprocess with commands: ['node', '/Users/me/Org/code/github/Voyager/voyager/env/mineflayer/index.js', '3000']
2023-06-14 16:49:44,171 - mineflayer - INFO - Server started on port 3000
2023-06-14 16:49:44,172 - mineflayer - INFO - Subprocess is ready.
2023-06-14 16:49:44,226 - mineflayer - INFO - {
2023-06-14 16:49:44,227 - mineflayer - INFO - port: 52627,
2023-06-14 16:49:44,227 - mineflayer - INFO - reset: 'hard',
2023-06-14 16:49:44,227 - mineflayer - INFO - inventory: {
2023-06-14 16:49:44,227 - mineflayer - INFO - arrow: 1,
2023-06-14 16:49:44,228 - mineflayer - INFO - iron_sword: 1,
2023-06-14 16:49:44,228 - mineflayer - INFO - dark_oak_planks: 32,
2023-06-14 16:49:44,228 - mineflayer - INFO - cobblestone: 98,
2023-06-14 16:49:44,228 - mineflayer - INFO - granite: 2,
2023-06-14 16:49:44,229 - mineflayer - INFO - stone_axe: 1,
2023-06-14 16:49:44,229 - mineflayer - INFO - wheat_seeds: 1,
2023-06-14 16:49:44,229 - mineflayer - INFO - iron_ingot: 2,
2023-06-14 16:49:44,229 - mineflayer - INFO - stick: 3,
2023-06-14 16:49:44,229 - mineflayer - INFO - dirt: 34,
2023-06-14 16:49:44,230 - mineflayer - INFO - cobbled_deepslate: 16,
2023-06-14 16:49:44,230 - mineflayer - INFO - tuff: 10,
2023-06-14 16:49:44,230 - mineflayer - INFO - crafting_table: 1,
2023-06-14 16:49:44,230 - mineflayer - INFO - furnace: 1,
2023-06-14 16:49:44,231 - mineflayer - INFO - stone_pickaxe: 1,
2023-06-14 16:49:44,231 - mineflayer - INFO - wooden_pickaxe: 1,
2023-06-14 16:49:44,231 - mineflayer - INFO - torch: 8,
2023-06-14 16:49:44,231 - mineflayer - INFO - iron_pickaxe: 1,
2023-06-14 16:49:44,231 - mineflayer - INFO - raw_iron: 10,
2023-06-14 16:49:44,231 - mineflayer - INFO - sand: 8,
2023-06-14 16:49:44,231 - mineflayer - INFO - moss_block: 1,
2023-06-14 16:49:44,231 - mineflayer - INFO - andesite: 28,
2023-06-14 16:49:44,232 - mineflayer - INFO - azalea: 1,
2023-06-14 16:49:44,232 - mineflayer - INFO - diorite: 66,
2023-06-14 16:49:44,232 - mineflayer - INFO - oak_planks: 4,
2023-06-14 16:49:44,232 - mineflayer - INFO - oak_sapling: 1
2023-06-14 16:49:44,233 - mineflayer - INFO - },
2023-06-14 16:49:44,233 - mineflayer - INFO - equipment: [ null, null, null, null, 'raw_iron', null ],
2023-06-14 16:49:44,233 - mineflayer - INFO - spread: false,
2023-06-14 16:49:44,233 - mineflayer - INFO - waitTicks: 20,
2023-06-14 16:49:44,233 - mineflayer - INFO - position: { x: 448.5, y: 94, z: -383.5 }
2023-06-14 16:49:44,233 - mineflayer - INFO - }
2023-06-14 16:50:55,969 - mineflayer - INFO - Stopping subprocess.
2023-06-14 16:50:57,163 - mineflayer - INFO - Starting subprocess with commands: ['node', '/Users/me/Org/code/github/Voyager/voyager/env/mineflayer/index.js', '3000']
2023-06-14 16:51:05,828 - mineflayer - INFO - Server started on port 3000
2023-06-14 16:51:05,830 - mineflayer - INFO - Subprocess is ready.
2023-06-14 16:51:06,115 - mineflayer - INFO - {
2023-06-14 16:51:06,115 - mineflayer - INFO - port: 52627,
2023-06-14 16:51:06,115 - mineflayer - INFO - reset: 'soft',
2023-06-14 16:51:06,115 - mineflayer - INFO - inventory: {},
2023-06-14 16:51:06,115 - mineflayer - INFO - equipment: [],
2023-06-14 16:51:06,116 - mineflayer - INFO - spread: false,
2023-06-14 16:51:06,116 - mineflayer - INFO - waitTicks: 20,
2023-06-14 16:51:06,116 - mineflayer - INFO - position: null
2023-06-14 16:51:06,116 - mineflayer - INFO - }
2023-06-14 16:52:13,912 - mineflayer - INFO - Error: write EPIPE
2023-06-14 16:52:13,913 - mineflayer - INFO - at afterWriteDispatched (node:internal/stream_base_commons:160:15)
2023-06-14 16:52:13,913 - mineflayer - INFO - at writeGeneric (node:internal/stream_base_commons:151:3)
2023-06-14 16:52:13,913 - mineflayer - INFO - at Socket._writeGeneric (node:net:930:11)
2023-06-14 16:52:13,913 - mineflayer - INFO - at Socket._write (node:net:942:8)
2023-06-14 16:52:13,914 - mineflayer - INFO - at writeOrBuffer (node:internal/streams/writable:392:12)
2023-06-14 16:52:13,914 - mineflayer - INFO - at _write (node:internal/streams/writable:333:10)
2023-06-14 16:52:13,914 - mineflayer - INFO - at Writable.write (node:internal/streams/writable:337:10)
2023-06-14 16:52:13,914 - mineflayer - INFO - at Cipheriv.ondata (node:internal/streams/readable:766:22)
2023-06-14 16:52:13,914 - mineflayer - INFO - at Cipheriv.emit (node:events:513:28)
2023-06-14 16:52:13,914 - mineflayer - INFO - at addChunk (node:internal/streams/readable:324:12) {
2023-06-14 16:52:13,915 - mineflayer - INFO - errno: -32,
2023-06-14 16:52:13,915 - mineflayer - INFO - code: 'EPIPE',
2023-06-14 16:52:13,915 - mineflayer - INFO - syscall: 'write'
2023-06-14 16:52:13,915 - mineflayer - INFO - }
2023-06-14 16:52:19,889 - mineflayer - INFO - Stopping subprocess.
2023-06-14 16:52:20,919 - mineflayer - INFO - Starting subprocess with commands: ['node', '/Users/me/Org/code/github/Voyager/voyager/env/mineflayer/index.js', '3000']
2023-06-14 16:52:26,070 - mineflayer - INFO - Server started on port 3000
2023-06-14 16:52:26,071 - mineflayer - INFO - Subprocess is ready.
2023-06-14 16:52:26,125 - mineflayer - INFO - {
2023-06-14 16:52:26,126 - mineflayer - INFO - port: 52627,
2023-06-14 16:52:26,126 - mineflayer - INFO - reset: 'hard',
2023-06-14 16:52:26,126 - mineflayer - INFO - inventory: {
2023-06-14 16:52:26,126 - mineflayer - INFO - stick: 3,
2023-06-14 16:52:26,126 - mineflayer - INFO - dirt: 34,
2023-06-14 16:52:26,127 - mineflayer - INFO - cobbled_deepslate: 16,
2023-06-14 16:52:26,127 - mineflayer - INFO - tuff: 10,
2023-06-14 16:52:26,127 - mineflayer - INFO - crafting_table: 1,
2023-06-14 16:52:26,127 - mineflayer - INFO - furnace: 1,
2023-06-14 16:52:26,128 - mineflayer - INFO - stone_pickaxe: 1,
2023-06-14 16:52:26,128 - mineflayer - INFO - wooden_pickaxe: 1,
2023-06-14 16:52:26,128 - mineflayer - INFO - torch: 8,
2023-06-14 16:52:26,128 - mineflayer - INFO - iron_pickaxe: 1,
2023-06-14 16:52:26,128 - mineflayer - INFO - raw_iron: 10,
2023-06-14 16:52:26,128 - mineflayer - INFO - sand: 8,
2023-06-14 16:52:26,129 - mineflayer - INFO - moss_block: 1,
2023-06-14 16:52:26,129 - mineflayer - INFO - andesite: 28,
2023-06-14 16:52:26,129 - mineflayer - INFO - azalea: 1,
2023-06-14 16:52:26,129 - mineflayer - INFO - diorite: 66,
2023-06-14 16:52:26,129 - mineflayer - INFO - oak_planks: 4,
2023-06-14 16:52:26,130 - mineflayer - INFO - oak_sapling: 1,
2023-06-14 16:52:26,130 - mineflayer - INFO - arrow: 1,
2023-06-14 16:52:26,130 - mineflayer - INFO - iron_sword: 1,
2023-06-14 16:52:26,130 - mineflayer - INFO - dark_oak_planks: 32,
2023-06-14 16:52:26,130 - mineflayer - INFO - cobblestone: 98,
2023-06-14 16:52:26,131 - mineflayer - INFO - granite: 2,
2023-06-14 16:52:26,131 - mineflayer - INFO - stone_axe: 1,
2023-06-14 16:52:26,131 - mineflayer - INFO - wheat_seeds: 1,
2023-06-14 16:52:26,131 - mineflayer - INFO - iron_ingot: 2
2023-06-14 16:52:26,131 - mineflayer - INFO - },
2023-06-14 16:52:26,131 - mineflayer - INFO - equipment: [ null, null, null, null, 'arrow', null ],
2023-06-14 16:52:26,132 - mineflayer - INFO - spread: false,
2023-06-14 16:52:26,132 - mineflayer - INFO - waitTicks: 20,
2023-06-14 16:52:26,133 - mineflayer - INFO - position: { x: 448.5, y: 94, z: -383.5 }
2023-06-14 16:52:26,133 - mineflayer - INFO - }
2023-06-14 16:53:38,694 - mineflayer - INFO - Stopping subprocess.
2023-06-14 16:53:39,774 - mineflayer - INFO - Starting subprocess with commands: ['node', '/Users/me/Org/code/github/Voyager/voyager/env/mineflayer/index.js', '3000']
2023-06-14 16:53:47,390 - mineflayer - INFO - Server started on port 3000
2023-06-14 16:53:47,392 - mineflayer - INFO - Subprocess is ready.
2023-06-14 16:53:47,528 - mineflayer - INFO - {
2023-06-14 16:53:47,528 - mineflayer - INFO - port: 52627,
2023-06-14 16:53:47,528 - mineflayer - INFO - reset: 'soft',
2023-06-14 16:53:47,529 - mineflayer - INFO - inventory: {},
2023-06-14 16:53:47,529 - mineflayer - INFO - equipment: [],
2023-06-14 16:53:47,529 - mineflayer - INFO - spread: false,
2023-06-14 16:53:47,529 - mineflayer - INFO - waitTicks: 20,
2023-06-14 16:53:47,530 - mineflayer - INFO - position: null
2023-06-14 16:53:47,530 - mineflayer - INFO - }
2023-06-14 16:54:32,787 - mineflayer - INFO - Error: write EPIPE
2023-06-14 16:54:32,788 - mineflayer - INFO - at afterWriteDispatched (node:internal/stream_base_commons:160:15)
2023-06-14 16:54:32,788 - mineflayer - INFO - at writeGeneric (node:internal/stream_base_commons:151:3)
2023-06-14 16:54:32,789 - mineflayer - INFO - at Socket._writeGeneric (node:net:930:11)
2023-06-14 16:54:32,789 - mineflayer - INFO - at Socket._write (node:net:942:8)
2023-06-14 16:54:32,789 - mineflayer - INFO - at writeOrBuffer (node:internal/streams/writable:392:12)
2023-06-14 16:54:32,789 - mineflayer - INFO - at _write (node:internal/streams/writable:333:10)
2023-06-14 16:54:32,789 - mineflayer - INFO - at Writable.write (node:internal/streams/writable:337:10)
2023-06-14 16:54:32,790 - mineflayer - INFO - at Cipheriv.ondata (node:internal/streams/readable:766:22)
2023-06-14 16:54:32,790 - mineflayer - INFO - at Cipheriv.emit (node:events:513:28)
2023-06-14 16:54:32,790 - mineflayer - INFO - at addChunk (node:internal/streams/readable:324:12) {
2023-06-14 16:54:32,790 - mineflayer - INFO - errno: -32,
2023-06-14 16:54:32,790 - mineflayer - INFO - code: 'EPIPE',
2023-06-14 16:54:32,791 - mineflayer - INFO - syscall: 'write'
2023-06-14 16:54:32,791 - mineflayer - INFO - }
2023-06-14 17:04:09,521 - mineflayer - INFO - Stopping subprocess.
2023-06-14 17:04:10,570 - mineflayer - INFO - Starting subprocess with commands: ['node', '/Users/me/Org/code/github/Voyager/voyager/env/mineflayer/index.js', '3000']
2023-06-14 17:04:12,919 - mineflayer - INFO - Server started on port 3000
2023-06-14 17:04:12,921 - mineflayer - INFO - Subprocess is ready.
2023-06-14 17:04:13,031 - mineflayer - INFO - {
2023-06-14 17:04:13,032 - mineflayer - INFO - port: 52627,
2023-06-14 17:04:13,032 - mineflayer - INFO - reset: 'hard',
2023-06-14 17:04:13,033 - mineflayer - INFO - inventory: {
2023-06-14 17:04:13,033 - mineflayer - INFO - iron_pickaxe: 1,
2023-06-14 17:04:13,033 - mineflayer - INFO - raw_iron: 10,
2023-06-14 17:04:13,033 - mineflayer - INFO - sand: 8,
2023-06-14 17:04:13,033 - mineflayer - INFO - moss_block: 1,
2023-06-14 17:04:13,034 - mineflayer - INFO - andesite: 28,
2023-06-14 17:04:13,034 - mineflayer - INFO - azalea: 1,
2023-06-14 17:04:13,034 - mineflayer - INFO - diorite: 66,
2023-06-14 17:04:13,034 - mineflayer - INFO - oak_planks: 4,
2023-06-14 17:04:13,034 - mineflayer - INFO - oak_sapling: 1,
2023-06-14 17:04:13,035 - mineflayer - INFO - arrow: 1,
2023-06-14 17:04:13,035 - mineflayer - INFO - iron_sword: 1,
2023-06-14 17:04:13,035 - mineflayer - INFO - dark_oak_planks: 32,
2023-06-14 17:04:13,035 - mineflayer - INFO - cobblestone: 98,
2023-06-14 17:04:13,036 - mineflayer - INFO - granite: 2,
2023-06-14 17:04:13,036 - mineflayer - INFO - stone_axe: 1,
2023-06-14 17:04:13,036 - mineflayer - INFO - wheat_seeds: 1,
2023-06-14 17:04:13,038 - mineflayer - INFO - iron_ingot: 2,
2023-06-14 17:04:13,039 - mineflayer - INFO - stick: 3,
2023-06-14 17:04:13,039 - mineflayer - INFO - dirt: 34,
2023-06-14 17:04:13,039 - mineflayer - INFO - cobbled_deepslate: 16,
2023-06-14 17:04:13,039 - mineflayer - INFO - tuff: 10,
2023-06-14 17:04:13,040 - mineflayer - INFO - crafting_table: 1,
2023-06-14 17:04:13,040 - mineflayer - INFO - furnace: 1,
2023-06-14 17:04:13,040 - mineflayer - INFO - stone_pickaxe: 1,
2023-06-14 17:04:13,040 - mineflayer - INFO - wooden_pickaxe: 1,
2023-06-14 17:04:13,040 - mineflayer - INFO - torch: 8
2023-06-14 17:04:13,040 - mineflayer - INFO - },
2023-06-14 17:04:13,040 - mineflayer - INFO - equipment: [ null, null, null, null, 'stick', null ],
2023-06-14 17:04:13,040 - mineflayer - INFO - spread: false,
2023-06-14 17:04:13,040 - mineflayer - INFO - waitTicks: 20,
2023-06-14 17:04:13,041 - mineflayer - INFO - position: { x: 448.5, y: 97, z: -399.5 }
2023-06-14 17:04:13,041 - mineflayer - INFO - }
2023-06-14 17:05:27,773 - mineflayer - INFO - Stopping subprocess.
2023-06-14 17:05:28,809 - mineflayer - INFO - Starting subprocess with commands: ['node', '/Users/me/Org/code/github/Voyager/voyager/env/mineflayer/index.js', '3000']
2023-06-14 17:05:31,599 - mineflayer - INFO - Server started on port 3000
2023-06-14 17:05:31,600 - mineflayer - INFO - Subprocess is ready.
2023-06-14 17:05:31,679 - mineflayer - INFO - {
2023-06-14 17:05:31,680 - mineflayer - INFO - port: 52627,
2023-06-14 17:05:31,680 - mineflayer - INFO - reset: 'soft',
2023-06-14 17:05:31,680 - mineflayer - INFO - inventory: {},
2023-06-14 17:05:31,681 - mineflayer - INFO - equipment: [],
2023-06-14 17:05:31,681 - mineflayer - INFO - spread: false,
2023-06-14 17:05:31,681 - mineflayer - INFO - waitTicks: 20,
2023-06-14 17:05:31,682 - mineflayer - INFO - position: null
2023-06-14 17:05:31,682 - mineflayer - INFO - }
2023-06-14 17:06:08,374 - mineflayer - INFO - {"translate":"disconnect.timeout"}
2023-06-14 17:06:08,398 - mineflayer - INFO - Error: write EPIPE
2023-06-14 17:06:08,399 - mineflayer - INFO - at afterWriteDispatched (node:internal/stream_base_commons:160:15)
2023-06-14 17:06:08,399 - mineflayer - INFO - at writeGeneric (node:internal/stream_base_commons:151:3)
2023-06-14 17:06:08,399 - mineflayer - INFO - at Socket._writeGeneric (node:net:930:11)
2023-06-14 17:06:08,399 - mineflayer - INFO - at Socket._write (node:net:942:8)
2023-06-14 17:06:08,399 - mineflayer - INFO - at writeOrBuffer (node:internal/streams/writable:392:12)
2023-06-14 17:06:08,400 - mineflayer - INFO - at _write (node:internal/streams/writable:333:10)
2023-06-14 17:06:08,400 - mineflayer - INFO - at Writable.write (node:internal/streams/writable:337:10)
2023-06-14 17:06:08,400 - mineflayer - INFO - at Cipheriv.ondata (node:internal/streams/readable:766:22)
2023-06-14 17:06:08,400 - mineflayer - INFO - at Cipheriv.emit (node:events:513:28)
2023-06-14 17:06:08,401 - mineflayer - INFO - at addChunk (node:internal/streams/readable:324:12) {
2023-06-14 17:06:08,401 - mineflayer - INFO - errno: -32,
2023-06-14 17:06:08,401 - mineflayer - INFO - code: 'EPIPE',
2023-06-14 17:06:08,401 - mineflayer - INFO - syscall: 'write'
2023-06-14 17:06:08,401 - mineflayer - INFO - }
2023-06-14 17:15:50,254 - mineflayer - INFO - Stopping subprocess.
2023-06-14 17:15:51,314 - mineflayer - INFO - Starting subprocess with commands: ['node', '/Users/me/Org/code/github/Voyager/voyager/env/mineflayer/index.js', '3000']
2023-06-14 17:15:57,196 - mineflayer - INFO - Server started on port 3000
2023-06-14 17:15:57,199 - mineflayer - INFO - Subprocess is ready.
2023-06-14 17:15:57,638 - mineflayer - INFO - {
2023-06-14 17:15:57,640 - mineflayer - INFO - port: 52627,
2023-06-14 17:15:57,641 - mineflayer - INFO - reset: 'hard',
2023-06-14 17:15:57,641 - mineflayer - INFO - inventory: {
2023-06-14 17:15:57,641 - mineflayer - INFO - oak_sapling: 1,
2023-06-14 17:15:57,642 - mineflayer - INFO - arrow: 1,
2023-06-14 17:15:57,642 - mineflayer - INFO - iron_sword: 1,
2023-06-14 17:15:57,643 - mineflayer - INFO - dark_oak_planks: 32,
2023-06-14 17:15:57,643 - mineflayer - INFO - cobblestone: 98,
2023-06-14 17:15:57,643 - mineflayer - INFO - granite: 2,
2023-06-14 17:15:57,643 - mineflayer - INFO - stone_axe: 1,
2023-06-14 17:15:57,643 - mineflayer - INFO - wheat_seeds: 1,
2023-06-14 17:15:57,644 - mineflayer - INFO - iron_ingot: 2,
2023-06-14 17:15:57,644 - mineflayer - INFO - stick: 3,
2023-06-14 17:15:57,644 - mineflayer - INFO - dirt: 34,
2023-06-14 17:15:57,644 - mineflayer - INFO - cobbled_deepslate: 16,
2023-06-14 17:15:57,645 - mineflayer - INFO - tuff: 10,
2023-06-14 17:15:57,645 - mineflayer - INFO - crafting_table: 1,
2023-06-14 17:15:57,645 - mineflayer - INFO - furnace: 1,
2023-06-14 17:15:57,645 - mineflayer - INFO - stone_pickaxe: 1,
2023-06-14 17:15:57,645 - mineflayer - INFO - wooden_pickaxe: 1,
2023-06-14 17:15:57,646 - mineflayer - INFO - torch: 8,
2023-06-14 17:15:57,646 - mineflayer - INFO - iron_pickaxe: 1,
2023-06-14 17:15:57,646 - mineflayer - INFO - raw_iron: 10,
2023-06-14 17:15:57,646 - mineflayer - INFO - sand: 8,
2023-06-14 17:15:57,646 - mineflayer - INFO - moss_block: 1,
2023-06-14 17:15:57,648 - mineflayer - INFO - andesite: 28,
2023-06-14 17:15:57,648 - mineflayer - INFO - azalea: 1,
2023-06-14 17:15:57,649 - mineflayer - INFO - diorite: 66,
2023-06-14 17:15:57,649 - mineflayer - INFO - oak_planks: 4
2023-06-14 17:15:57,649 - mineflayer - INFO - },
2023-06-14 17:15:57,649 - mineflayer - INFO - equipment: [ null, null, null, null, 'iron_pickaxe', null ],
2023-06-14 17:15:57,650 - mineflayer - INFO - spread: false,
2023-06-14 17:15:57,650 - mineflayer - INFO - waitTicks: 20,
2023-06-14 17:15:57,650 - mineflayer - INFO - position: { x: 448.5, y: 106, z: -399.5 }
2023-06-14 17:15:57,650 - mineflayer - INFO - }
2023-06-14 17:17:25,003 - mineflayer - INFO - Stopping subprocess.
2023-06-14 17:17:26,055 - mineflayer - INFO - Starting subprocess with commands: ['node', '/Users/me/Org/code/github/Voyager/voyager/env/mineflayer/index.js', '3000']
2023-06-14 17:17:34,625 - mineflayer - INFO - Server started on port 3000
2023-06-14 17:17:34,628 - mineflayer - INFO - Subprocess is ready.
2023-06-14 17:17:34,930 - mineflayer - INFO - {
2023-06-14 17:17:34,939 - mineflayer - INFO - port: 52627,
2023-06-14 17:17:34,939 - mineflayer - INFO - reset: 'soft',
2023-06-14 17:17:34,939 - mineflayer - INFO - inventory: {},
2023-06-14 17:17:34,940 - mineflayer - INFO - equipment: [],
2023-06-14 17:17:34,941 - mineflayer - INFO - spread: false,
2023-06-14 17:17:34,941 - mineflayer - INFO - waitTicks: 20,
2023-06-14 17:17:34,941 - mineflayer - INFO - position: null
2023-06-14 17:17:34,941 - mineflayer - INFO - }
2023-06-14 17:18:17,025 - mineflayer - INFO - Error: write EPIPE
2023-06-14 17:18:17,028 - mineflayer - INFO - at afterWriteDispatched (node:internal/stream_base_commons:160:15)
2023-06-14 17:18:17,028 - mineflayer - INFO - at writeGeneric (node:internal/stream_base_commons:151:3)
2023-06-14 17:18:17,028 - mineflayer - INFO - at Socket._writeGeneric (node:net:930:11)
2023-06-14 17:18:17,028 - mineflayer - INFO - at Socket._write (node:net:942:8)
2023-06-14 17:18:17,029 - mineflayer - INFO - at writeOrBuffer (node:internal/streams/writable:392:12)
2023-06-14 17:18:17,029 - mineflayer - INFO - at _write (node:internal/streams/writable:333:10)
2023-06-14 17:18:17,029 - mineflayer - INFO - at Writable.write (node:internal/streams/writable:337:10)
2023-06-14 17:18:17,029 - mineflayer - INFO - at Cipheriv.ondata (node:internal/streams/readable:766:22)
2023-06-14 17:18:17,030 - mineflayer - INFO - at Cipheriv.emit (node:events:513:28)
2023-06-14 17:18:17,030 - mineflayer - INFO - at addChunk (node:internal/streams/readable:324:12) {
2023-06-14 17:18:17,030 - mineflayer - INFO - errno: -32,
2023-06-14 17:18:17,030 - mineflayer - INFO - code: 'EPIPE',
2023-06-14 17:18:17,030 - mineflayer - INFO - syscall: 'write'
2023-06-14 17:18:17,030 - mineflayer - INFO - }
Minefplayer something reports timeout.
Mineflayer process has exited, restarting
Subprocess mineflayer started with PID 76330.
Server started on port 3000
Traceback (most recent call last):
File "/Users/Me/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/Users/Me/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "/Users/Me/miniconda3/lib/python3.9/http/client.py", line 1377, in getresponse
response.begin()
File "/Users/Me/miniconda3/lib/python3.9/http/client.py", line 320, in begin
version, status, reason = self._read_status()
File "/Users/Me/miniconda3/lib/python3.9/http/client.py", line 281, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/Users/Me/miniconda3/lib/python3.9/socket.py", line 704, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/Me/miniconda3/lib/python3.9/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/Users/Me/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/Users/Me/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/Users/Me/miniconda3/lib/python3.9/site-packages/urllib3/packages/six.py", line 770, in reraise
raise value
File "/Users/Me/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/Users/Me/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 451, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/Users/Me/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 340, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='127.0.0.1', port=3000): Read timed out. (read timeout=600)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/Me/Org/code/internal/voyager_run/run_voyaer_test.py", line 33, in <module>
voyager.learn(reset_env=False)
File "/Users/Me/Org/code/github/Voyager/voyager/voyager.py", line 345, in learn
self.last_events = self.env.reset(
File "/Users/Me/Org/code/github/Voyager/voyager/env/bridge.py", line 156, in reset
returned_data = self.check_process()
File "/Users/Me/Org/code/github/Voyager/voyager/env/bridge.py", line 93, in check_process
res = requests.post(
File "/Users/Me/miniconda3/lib/python3.9/site-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
File "/Users/Me/miniconda3/lib/python3.9/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/Users/Me/miniconda3/lib/python3.9/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/Users/Me/miniconda3/lib/python3.9/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/Users/Me/miniconda3/lib/python3.9/site-packages/requests/adapters.py", line 578, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='127.0.0.1', port=3000): Read timed out. (read timeout=600)
I have the same issue.
By the way. I don’t have this problem if I ALWAYS keep the minecraft window in focus, so I do not switch to other applications. It seems it is some bug in mineflayer or some quirk of minecraft.
By the way. I don’t have this problem if I ALWAYS keep the minecraft window in focus, so I do not switch to other applications. It seems it is some bug in mineflayer or some quirk of minecraft.
Thanks for pointing out this issue. Now I have no idea why the issue occured. I have successfully setup the MC server and now I am running the code on the server with GUI, which can run more experiments without manually launching the MC client.
By the way. I don’t have this problem if I ALWAYS keep the minecraft window in focus, so I do not switch to other applications. It seems it is some bug in mineflayer or some quirk of minecraft.
I also meet this issue.
same here T.T anybody got a solution?
By the way. I don’t have this problem if I ALWAYS keep the minecraft window in focus, so I do not switch to other applications. It seems it is some bug in mineflayer or some quirk of minecraft.
Hi, thanks for your sharing. May I ask if you turn off the reset function and then the mouse never leaves the game?
voyager.learn(reset_env=False)
same here T.T anybody got a solution?
Hello.
May I ask if you've solved it?
By the way. I don’t have this problem if I ALWAYS keep the minecraft window in focus, so I do not switch to other applications. It seems it is some bug in mineflayer or some quirk of minecraft.
I also meet this issue.
Hello.
May I ask if you've solved it?
This issue is stale because it has been open for 30 days with no activity.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
By the way. I don’t have this problem if I ALWAYS keep the minecraft window in focus, so I do not switch to other applications. It seems it is some bug in mineflayer or some quirk of minecraft.
Hi, thanks for your sharing. May I ask if you turn off the reset function and then the mouse never leaves the game?
voyager.learn(reset_env=False)
That worked for me this is the solution for the bot leaving and re entering after every finished task!