Connector on Windows

Hi

New here and new to this… Having some difficulty getting the connector onto my machine which is Windows 10.

I installed Docker, tried to install the TwinGate image and that kept failing
I couldnt find anywhere in docker to paste the pre-gen code
went to powershell as admin and installed chocolatey
used the install command for choco with the connector credentials

I get ‘creating xxx’, ‘configuring xxx’, ‘starting xxx’ which hangs then fails…

Here is the error
Failures

  • twingate-connector (exited -1) - Error while running ‘C:\ProgramData\chocolatey\lib\twingate-connector\tools\chocolateyinstall.ps1’.
    See log for details.

tried uninstalling and running it again but no dice…

How do i install this on windows?

Ok so i have a sever machine on my small network that i am RDP into.

Thanks

Nacho

Hey Nacho,

Can you provide the chocolatey log file? It may have some details as to why things are failing. At the moment it is the best course of action to install “easily” on Windows.

You could, alternatively, set up an ubuntu VM separate from everything and follow the normal Linux connector installation instructions.

Let me know on the logs!

Thanks,

-arthur

Hi
sure, log file below because i couldnt find a way to attached it as a file and its truncated to after the progress because there is a limit of text for the reply…

I dont want to use Ubuntu VM as its a lot of overhead for a small service

Thanks

2023-06-27 01:46:38,687 13000 [ERROR] - ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: launch failed: The following errors occurred:
2023-06-27 01:46:38,687 13000 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\twingate-connector\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'.
2023-06-27 01:46:38,687 13000 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-27 01:46:38,750 13000 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-27 01:46:38,781 13000 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\twingate-connector'
2023-06-27 01:46:38,781 13000 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\twingate-connector\twingate-connector.nupkg'
  with checksum 'A1FE0529C0A1D0D86E777CAD6C5E0A2D'
2023-06-27 01:46:38,781 13000 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\twingate-connector\twingate-connector.nuspec'
  with checksum 'A2DE964EB05A245C5D8A22F95FF8B0F2'
2023-06-27 01:46:38,781 13000 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\twingate-connector\tools\chocolateyinstall.ps1'
  with checksum '73456FB1560AA78270F20ADF274AD557'
2023-06-27 01:46:38,796 13000 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\twingate-connector\tools\chocolateyUninstall.ps1'
  with checksum '8948EB1D82697EF02EEA0214F1B1F201'
2023-06-27 01:46:38,796 13000 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\twingate-connector.1.41.0".
2023-06-27 01:46:38,796 13000 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\twingate-connector.1.41.0\.files'
2023-06-27 01:46:38,796 13000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\twingate-connector.1.41.0\.arguments".
2023-06-27 01:46:38,796 13000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\twingate-connector.1.41.0\.extra".
2023-06-27 01:46:38,796 13000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\twingate-connector.1.41.0\.version".
2023-06-27 01:46:38,796 13000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\twingate-connector.1.41.0\.sxs".
2023-06-27 01:46:38,796 13000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\twingate-connector.1.41.0\.pin".
2023-06-27 01:46:38,796 13000 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-27 01:46:38,796 13000 [ERROR] - The install of twingate-connector was NOT successful.
2023-06-27 01:46:38,796 13000 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\twingate-connector\tools\chocolateyinstall.ps1'.
 See log for details.
2023-06-27 01:46:38,796 13000 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2023-06-27 01:46:38,812 13000 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\twingate-connector".
2023-06-27 01:46:38,812 13000 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\twingate-connector to C:\ProgramData\chocolatey\lib-bad\twingate-connector\1.41.0
2023-06-27 01:46:38,812 13000 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\twingate-connector'
 to 'C:\ProgramData\chocolatey\lib-bad\twingate-connector\1.41.0'
2023-06-27 01:46:40,843 13000 [WARN ] - 
Chocolatey installed 3/4 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-27 01:46:40,843 13000 [INFO ] - 
2023-06-27 01:46:40,859 13000 [ERROR] - Failures
2023-06-27 01:46:40,859 13000 [ERROR] -  - twingate-connector (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\twingate-connector\tools\chocolateyinstall.ps1'.
 See log for details.
2023-06-27 01:46:40,859 13000 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-27 01:46:40,859 13000 [DEBUG] - Exiting with -1