A connection attempt failed

installation

#1
Feb 2, 2019, 8:36 AM GMT+5:30 - info: [main/docker-machine] Running  C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\windows\docker-machine.exe stop local-by-flywheel
Feb 2, 2019, 8:36 AM GMT+5:30 - warn: [main/docker-machine] Docker machine "local-by-flywheel" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
Feb 2, 2019, 8:36 AM GMT+5:30 - info: [main/menu] Unable to restart Docker Machine.
Feb 2, 2019, 8:36 AM GMT+5:30 - info: [main/docker-machine] child process exited with code 1
Feb 2, 2019, 8:36 AM GMT+5:30 - error: [main/docker-machine] Error enabling host DNS resolver for Docker Machine 
{ message:
   'Command failed: C:\\Program Files\\Oracle\\VirtualBox\\VBoxManage.exe modifyvm local-by-flywheel --natdnshostresolver1 on\nVBoxManage.exe: error: Could not find a registered machine named \'local-by-flywheel\'\r\nVBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee IUnknown\r\nVBoxManage.exe: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 522 of file VBoxManageModifyVM.cpp\r\n',
  stack:
   'Error: Command failed: C:\\Program Files\\Oracle\\VirtualBox\\VBoxManage.exe modifyvm local-by-flywheel --natdnshostresolver1 on\nVBoxManage.exe: error: Could not find a registered machine named \'local-by-flywheel\'\r\nVBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee IUnknown\r\nVBoxManage.exe: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 522 of file VBoxManageModifyVM.cpp\r\n\n    at checkExecSyncError (child_process.js:615:11)\n    at Object.execFileSync (child_process.js:633:13)\n    at Object.module.(anonymous function) [as execFileSync] (ELECTRON_ASAR.js:166:20)\n    at C:\\Users\\Kshanit\\AppData\\Local\\Programs\\local-by-flywheel\\resources\\app.asar\\main\\actions-docker\\docker-machine.js:1:9397\n    at Generator.next (<anonymous>)\n    at _0x13dd37 (C:\\Users\\Kshanit\\AppData\\Local\\Programs\\local-by-flywheel\\resources\\app.asar\\main\\actions-docker\\docker-machine.js:1:3995)\n    at C:\\Users\\Kshanit\\AppData\\Local\\Programs\\local-by-flywheel\\resources\\app.asar\\main\\actions-docker\\docker-machine.js:1:4359\n    at new Promise (<anonymous>)\n    at C:\\Users\\Kshanit\\AppData\\Local\\Programs\\local-by-flywheel\\resources\\app.asar\\main\\actions-docker\\docker-machine.js:1:3875\n    at Function.enableHostDNSResolver (C:\\Users\\Kshanit\\AppData\\Local\\Programs\\local-by-flywheel\\resources\\app.asar\\main\\actions-docker\\docker-machine.js:1:9769)\n    at Function.start (C:\\Users\\Kshanit\\AppData\\Local\\Programs\\local-by-flywheel\\resources\\app.asar\\main\\actions-docker\\docker-machine.js:1:5780)\n    at C:\\Users\\Kshanit\\AppData\\Local\\Programs\\local-by-flywheel\\resources\\app.asar\\main\\actions-docker\\docker-machine.js:1:7709\n    at Generator.next (<anonymous>)\n    at _0x13dd37 (C:\\Users\\Kshanit\\AppData\\Local\\Programs\\local-by-flywheel\\resources\\app.asar\\main\\actions-docker\\docker-machine.js:1:3995)\n    at C:\\Users\\Kshanit\\AppData\\Local\\Programs\\local-by-flywheel\\resources\\app.asar\\main\\actions-docker\\docker-machine.js:1:4260\n    at process._tickCallback (internal/process/next_tick.js:68:7)',
  status: 1,
  signal: null,
  output:
   [ null,
     {},
     { '0': 86,
       '1': 66,
       '2': 111,
       '3': 120,
       '4': 77,
       '5': 97,
       '6': 110,
       '7': 97,
       '8': 103,
       '9': 101,
       '10': 46,
       '11': 101,
       '12': 120,
       '13': 101,
       '14': 58,
       '15': 32,
       '16': 101,
       '17': 114,
       '18': 114,
       '19': 111,
       '20': 114,
       '21': 58,
       '22': 32,
       '23': 67,
       '24': 111,
       '25': 117,
       '26': 108,
       '27': 100,
       '28': 32,
       '29': 110,
       '30': 111,
       '31': 116,
       '32': 32,
       '33': 102,
       '34': 105,
       '35': 110,
       '36': 100,
       '37': 32,
       '38': 97,
       '39': 32,
       '40': 114,
       '41': 101,
       '42': 103,
       '43': 105,
       '44': 115,
       '45': 116,
       '46': 101,
       '47': 114,
       '48': 101,
       '49': 100,
       '50': 32,
       '51': 109,
       '52': 97,
       '53': 99,
       '54': 104,
       '55': 105,
       '56': 110,
       '57': 101,
       '58': 32,
       '59': 110,
       '60': 97,
       '61': 109,
       '62': 101,
       '63': 100,
       '64': 32,
       '65': 39,
       '66': 108,
       '67': 111,
       '68': 99,
       '69': 97,
       '70': 108,
       '71': 45,
       '72': 98,
       '73': 121,
       '74': 45,
       '75': 102,
       '76': 108,
       '77': 121,
       '78': 119,
       '79': 104,
       '80': 101,
       '81': 101,
       '82': 108,
       '83': 39,
       '84': 13,
       '85': 10,
       '86': 86,
       '87': 66,
       '88': 111,
       '89': 120,
       '90': 77,
       '91': 97,
       '92': 110,
       '93': 97,
       '94': 103,
       '95': 101,
       '96': 46,
       '97': 101,
       '98': 120,
       '99': 101,
       '100': 58,
       '101': 32,
       '102': 101,
       '103': 114,
       '104': 114,
       '105': 111,
       '106': 114,
       '107': 58,
       '108': 32,
       '109': 68,
       '110': 101,
       '111': 116,
       '112': 97,
       '113': 105,
       '114': 108,
       '115': 115,
       '116': 58,
       '117': 32,
       '118': 99,
       '119': 111,
       '120': 100,
       '121': 101,
       '122': 32,
       '123': 86,
       '124': 66,
       '125': 79,
       '126': 88,
       '127': 95,
       '128': 69,
       '129': 95,
       '130': 79,
       '131': 66,
       '132': 74,
       '133': 69,
       '134': 67,
       '135': 84,
       '136': 95,
       '137': 78,
       '138': 79,
       '139': 84,
       '140': 95,
       '141': 70,
       '142': 79,
       '143': 85,
       '144': 78,
       '145': 68,
       '146': 32,
       '147': 40,
       '148': 48,
       '149': 120,
       '150': 56,
       '151': 48,
       '152': 98,
       '153': 98,
       '154': 48,
       '155': 48,
       '156': 48,
       '157': 49,
       '158': 41,
       '159': 44,
       '160': 32,
       '161': 99,
       '162': 111,
       '163': 109,
       '164': 112,
       '165': 111,
       '166': 110,
       '167': 101,
       '168': 110,
       '169': 116,
       '170': 32,
       '171': 86,
       '172': 105,
       '173': 114,
       '174': 116,
       '175': 117,
       '176': 97,
       '177': 108,
       '178': 66,
       '179': 111,
       '180': 120,
       '181': 87,
       '182': 114,
       '183': 97,
       '184': 112,
       '185': 44,
       '186': 32,
       '187': 105,
       '188': 110,
       '189': 116,
       '190': 101,
       '191': 114,
       '192': 102,
       '193': 97,
       '194': 99,
       '195': 101,
       '196': 32,
       '197': 73,
       '198': 86,
       '199': 105,
       '200': 114,
       '201': 116,
       '202': 117,
       '203': 97,
       '204': 108,
       '205': 66,
       '206': 111,
       '207': 120,
       '208': 44,
       '209': 32,
       '210': 99,
       '211': 97,
       '212': 108,
       '213': 108,
       '214': 101,
       '215': 101,
       '216': 32,
       '217': 73,
       '218': 85,
       '219': 110,
       '220': 107,
       '221': 110,
       '222': 111,
       '223': 119,
       '224': 110,
       '225': 13,
       '226': 10,
       '227': 86,
       '228': 66,
       '229': 111,
       '230': 120,
       '231': 77,
       '232': 97,
       '233': 110,
       '234': 97,
       '235': 103,
       '236': 101,
       '237': 46,
       '238': 101,
       '239': 120,
       '240': 101,
       '241': 58,
       '242': 32,
       '243': 101,
       '244': 114,
       '245': 114,
       '246': 111,
       '247': 114,
       '248': 58,
       '249': 32,
       '250': 67,
       '251': 111,
       '252': 110,
       '253': 116,
       '254': 101,
       '255': 120,
       '256': 116,
       '257': 58,
       '258': 32,
       '259': 34,
       '260': 70,
       '261': 105,
       '262': 110,
       '263': 100,
       '264': 77,
       '265': 97,
       '266': 99,
       '267': 104,
       '268': 105,
       '269': 110,
       '270': 101,
       '271': 40,
       '272': 66,
       '273': 115,
       '274': 116,
       '275': 114,
       '276': 40,
       '277': 97,
       '278': 45,
       '279': 62,
       '280': 97,
       '281': 114,
       '282': 103,
       '283': 118,
       '284': 91,
       '285': 48,
       '286': 93,
       '287': 41,
       '288': 46,
       '289': 114,
       '290': 97,
       '291': 119,
       '292': 40,
       '293': 41,
       '294': 44,
       '295': 32,
       '296': 109,
       '297': 97,
       '298': 99,
       '299': 104,
       '300': 105,
       '301': 110,
       '302': 101,
       '303': 46,
       '304': 97,
       '305': 115,
       '306': 79,
       '307': 117,
       '308': 116,
       '309': 80,
       '310': 97,
       '311': 114,
       '312': 97,
       '313': 109,
       '314': 40,
       '315': 41,
       '316': 41,
       '317': 34,
       '318': 32,
       '319': 97,
       '320': 116,
       '321': 32,
       '322': 108,
       '323': 105,
       '324': 110,
       '325': 101,
       '326': 32,
       '327': 53,
       '328': 50,
       '329': 50,
       '330': 32,
       '331': 111,
       '332': 102,
       '333': 32,
       '334': 102,
       '335': 105,
       '336': 108,
       '337': 101,
       '338': 32,
       '339': 86,
       '340': 66,
       '341': 111,
       '342': 120,
       '343': 77,
       '344': 97,
       '345': 110,
       '346': 97,
       '347': 103,
       '348': 101,
       '349': 77,
       '350': 111,
       '351': 100,
       '352': 105,
       '353': 102,
       '354': 121,
       '355': 86,
       '356': 77,
       '357': 46,
       '358': 99,
       '359': 112,
       '360': 112,
       '361': 13,
       '362': 10 } ],
  pid: 13144,
  stdout: { '$ref': '$["output"][1]' },
  stderr: { '$ref': '$["output"][2]' } }
Feb 2, 2019, 8:36 AM GMT+5:30 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr:
   'Docker machine "local-by-flywheel" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.\n' }
Feb 2, 2019, 8:36 AM GMT+5:30 - info: [renderer/CheckEnvPage] Check system promise response: 
[ undefined, 'machine-does-not-exist' ]
Feb 2, 2019, 8:37 AM GMT+5:30 - info: [main/index] Shutting Down VM
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Loading Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\custom-1-0-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Successfully Loaded Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\custom-1-0-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Loading Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\custom-1-1-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Successfully Loaded Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\custom-1-1-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Loading Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\custom-1-2-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Successfully Loaded Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\custom-1-2-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Loading Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\custom-1-3-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Successfully Loaded Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\custom-1-3-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Loading Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\custom-1-3-1\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Successfully Loaded Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\custom-1-3-1\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Loading Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\flywheel-1-0-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Successfully Loaded Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\flywheel-1-0-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Loading Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\flywheel-1-1-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Successfully Loaded Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\flywheel-1-1-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Loading Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\flywheel-1-2-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Successfully Loaded Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\flywheel-1-2-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Loading Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\flywheel-1-3-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Successfully Loaded Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\flywheel-1-3-0\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Loading Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\flywheel-1-3-1\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Successfully Loaded Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\flywheel-1-3-1\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Loading Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\flywheel-1-3-2\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/EnvironmentLoader] Successfully Loaded Environment: C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\extraResources\environments\flywheel-1-3-2\out\environment.js
Feb 2, 2019, 8:59 AM GMT+5:30 - warn: [main/index] Unhandled Rejection at: Promise  Promise {
  <rejected> { Error: ETIMEDOUT
    at Timeout._onTimeout (C:\Users\Kshanit\AppData\Local\Programs\local-by-flywheel\resources\app.asar\node_modules\request\request.js:849:19)
    at ontimeout (timers.js:427:11)
    at tryOnTimeout (timers.js:289:5)
    at listOnTimeout (timers.js:252:5)
    at Timer.processTimers (timers.js:212:10) code: 'ETIMEDOUT', connect: true } }  reason:  
{ message: 'ETIMEDOUT',
  stack:
   'Error: ETIMEDOUT\n    at Timeout._onTimeout (C:\\Users\\Kshanit\\AppData\\Local\\Programs\\local-by-flywheel\\resources\\app.asar\\node_modules\\request\\request.js:849:19)\n    at ontimeout (timers.js:427:11)\n    at tryOnTimeout (timers.js:289:5)\n    at listOnTimeout (timers.js:252:5)\n    at Timer.processTimers (timers.js:212:10)',
  code: 'ETIMEDOUT',
  connect: true }
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: '',
  stderr:
   'Docker machine "local-by-flywheel" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.\n' }
Feb 2, 2019, 8:59 AM GMT+5:30 - info: [renderer/CheckEnvPage] Check system promise response: 
[ undefined, 'machine-does-not-exist' ]
Feb 2, 2019, 9:00 AM GMT+5:30 - info: [main/docker-create-machine] Starting Docker Machine Creation...
Feb 2, 2019, 9:00 AM GMT+5:30 - info: [main/docker-create-machine] Using IP: 192.168.95.1/24
Feb 2, 2019, 9:00 AM GMT+5:30 - info: [main/docker-create-machine] Removing existing Docker Machine
Feb 2, 2019, 9:00 AM GMT+5:30 - info: [main/docker-create-machine] null 'About to remove local-by-flywheel\nWARNING: This action will delete both local reference and remote instance.\n' 'Error removing host "local-by-flywheel": Docker machine "local-by-flywheel" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.\nCan\'t remove "local-by-flywheel"\n'
Feb 2, 2019, 9:00 AM GMT+5:30 - info: [main/docker-create-machine] Creating Docker Machine... 
[ 'create',
  '--driver=virtualbox',
  '--virtualbox-host-dns-resolver',
  '--virtualbox-hostonly-cidr',
  '192.168.95.1/24',
  '--virtualbox-boot2docker-url=file://C:/Users/Kshanit/AppData/Local/Programs/local-by-flywheel/resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso',
  '--virtualbox-disk-size',
  '120000',
  'local-by-flywheel' ]
Feb 2, 2019, 9:01 AM GMT+5:30 - error: [main/docker-create-machine] dial tcp 127.0.0.1:51515: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Feb 2, 2019, 9:01 AM GMT+5:30 - info: [main/docker-create-machine] Unable to create Docker Machine.

Please Help


#2

Hey @kshanit -

It looks like from the errors in the log, Local is having issues communicating with VirtualBox.

Can you describe in a little more detail what is going on and what things you were trying to do when you started having problems?

From the error messages, I would imagine that there is something going on with either Antivirus software, or some sort of security setting that is preventing Local from doing the things that need to be done.

Please give us a little more context as to what was going on when these errors started to appear.

– Ben