Skip to content

welp #781

Description

@jefftheev
 emiettinen@fedora  ~/mindcraft-0.1.4  node main.js
MindServer running on port 8888 on host localhost
MC server found. (Host: localhost, Port: 55916, Version: 1.21.6)
keys.json not found. Defaulting to environment variables.
Connecting to MindServer
Connection failed: TransportError: xhr poll error
    at XHR.onError (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transport.js:41:37)
    at Request.<anonymous> (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.js:58:18)
    at Emitter.emit (/home/emiettinen/mindcraft-0.1.4/node_modules/@socket.io/component-emitter/lib/cjs/index.js:143:20)
    at Request._onError (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.js:166:14)
    at Timeout._onTimeout (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.js:139:30)
    at listOnTimeout (node:internal/timers:585:17)
    at process.processTimers (node:internal/timers:521:7) {
  description: 0,
  context: XMLHttpRequest {
    UNSENT: 0,
    OPENED: 1,
    HEADERS_RECEIVED: 2,
    LOADING: 3,
    DONE: 4,
    readyState: 4,
    onreadystatechange: [Function (anonymous)],
    responseText: 'Error: connect ECONNREFUSED 127.0.0.1:8888\n' +
      '    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16)',
    responseXML: '',
    response: <Buffer >,
    status: 0,
    statusText: Error: connect ECONNREFUSED 127.0.0.1:8888
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '127.0.0.1',
      port: 8888
    },
    open: [Function (anonymous)],
    setDisableHeaderCheck: [Function (anonymous)],
    setRequestHeader: [Function (anonymous)],
    getResponseHeader: [Function (anonymous)],
    getAllResponseHeaders: [Function (anonymous)],
    getRequestHeader: [Function (anonymous)],
    send: [Function (anonymous)],
    handleError: [Function (anonymous)],
    abort: [Function (anonymous)],
    addEventListener: [Function (anonymous)],
    removeEventListener: [Function (anonymous)],
    dispatchEvent: [Function (anonymous)]
  },
  type: 'TransportError'
}
Failed to start agent process:
xhr poll error
Error: xhr poll error
    at XHR.onError (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transport.js:41:37)
    at Request.<anonymous> (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.js:58:18)
    at Emitter.emit (/home/emiettinen/mindcraft-0.1.4/node_modules/@socket.io/component-emitter/lib/cjs/index.js:143:20)
    at Request._onError (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.js:166:14)
    at Timeout._onTimeout (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.js:139:30)
    at listOnTimeout (node:internal/timers:585:17)
    at process.processTimers (node:internal/timers:521:7)
Agent process exited with code 1 and signal null
Agent process exited too quickly and will not be restarted.
Client connected
Client connected
keys.json not found. Defaulting to environment variables.
Connecting to MindServer
Connection failed: TransportError: xhr poll error
    at XHR.onError (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transport.js:41:37)
    at Request.<anonymous> (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.js:58:18)
    at Emitter.emit (/home/emiettinen/mindcraft-0.1.4/node_modules/@socket.io/component-emitter/lib/cjs/index.js:143:20)
    at Request._onError (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.js:166:14)
    at Timeout._onTimeout (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.js:139:30)
    at listOnTimeout (node:internal/timers:585:17)
    at process.processTimers (node:internal/timers:521:7) {
  description: 0,
  context: XMLHttpRequest {
    UNSENT: 0,
    OPENED: 1,
    HEADERS_RECEIVED: 2,
    LOADING: 3,
    DONE: 4,
    readyState: 4,
    onreadystatechange: [Function (anonymous)],
    responseText: 'Error: connect ECONNREFUSED 127.0.0.1:8888\n' +
      '    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16)',
    responseXML: '',
    response: <Buffer >,
    status: 0,
    statusText: Error: connect ECONNREFUSED 127.0.0.1:8888
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '127.0.0.1',
      port: 8888
    },
    open: [Function (anonymous)],
    setDisableHeaderCheck: [Function (anonymous)],
    setRequestHeader: [Function (anonymous)],
    getResponseHeader: [Function (anonymous)],
    getAllResponseHeaders: [Function (anonymous)],
    getRequestHeader: [Function (anonymous)],
    send: [Function (anonymous)],
    handleError: [Function (anonymous)],
    abort: [Function (anonymous)],
    addEventListener: [Function (anonymous)],
    removeEventListener: [Function (anonymous)],
    dispatchEvent: [Function (anonymous)]
  },
  type: 'TransportError'
}
Failed to start agent process:
xhr poll error
Error: xhr poll error
    at XHR.onError (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transport.js:41:37)
    at Request.<anonymous> (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.js:58:18)
    at Emitter.emit (/home/emiettinen/mindcraft-0.1.4/node_modules/@socket.io/component-emitter/lib/cjs/index.js:143:20)
    at Request._onError (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.js:166:14)
    at Timeout._onTimeout (file:///home/emiettinen/mindcraft-0.1.4/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.js:139:30)
    at listOnTimeout (node:internal/timers:585:17)
    at process.processTimers (node:internal/timers:521:7)
Agent process exited with code 1 and signal null
Agent process exited too quickly and will not be restarted.

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