Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endless connecting during Windows app start #2411

Closed
chompomonim opened this issue Jun 28, 2020 · 9 comments · Fixed by #2427 or #2430
Closed

Endless connecting during Windows app start #2411

chompomonim opened this issue Jun 28, 2020 · 9 comments · Fixed by #2427 or #2430

Comments

@chompomonim
Copy link
Contributor

chompomonim commented Jun 28, 2020

While running Mysterium desktop app for Windows I'm seeing nothing else but window which is showing loading progress bar.

To Reproduce
Steps to reproduce the behavior:

  1. Download Windows app and install it.
  2. Launch the app
  3. App is hanging by just showing "connecting" message

Expected behavior
Launch the app, see a list of nodes to choose from. Chose node and get VPN tunnel.

Environment:

  • OS: 'Window 10 home 2004 may 2020 update' and 'Windows 10 corporative'
  • Desktop app version: 2.1.1

Screenshot
screenshoot

Additional context

main.log

[2020-06-25 19:02:54.129] [info] Checking for update
[2020-06-25 19:02:54.981] [info] Connecting to the supervisor...
[2020-06-25 19:02:55.917] [info] Connecting to the supervisor...
[2020-06-25 19:02:56.418] [info] Connecting to the supervisor...
[2020-06-25 19:02:56.920] [info] Connecting to the supervisor...
[2020-06-25 19:02:57.422] [info] Connecting to the supervisor...
[2020-06-25 19:02:57.434] [info] Update for version 2.1.1 is not available (latest version: 2.1.1, downgrade is disallowed).
[2020-06-25 19:02:57.923] [info] Connecting to the supervisor...
[2020-06-25 19:02:58.425] [info] Connecting to the supervisor...
[2020-06-25 19:02:58.926] [info] Connecting to the supervisor...
[2020-06-25 19:02:59.428] [info] Connecting to the supervisor...
[2020-06-25 19:02:59.821] [info] [sudo-exec]  2020-06-25T19:02:58.000 INF Installing supervisor with options: install.Options{SupervisorPath:"C:\\Program Files\\MysteriumVPN\\resources\\static\\bin\\myst_supervisor.exe"}
2020-06-25T19:02:58.000 INF Checking previous installation
2020-06-25T19:02:58.000 INF Uninstalled previous service
2020-06-25T19:02:59.000 INF Supervisor installed

[2020-06-25 19:02:59.929] [info] Connecting to the supervisor...
[2020-06-25 19:03:00.430] [info] Connecting to the supervisor...
[2020-06-25 19:03:00.933] [info] Connecting to the supervisor...
[2020-06-25 19:03:01.452] [info] Connecting to the supervisor...
[2020-06-25 19:03:01.954] [info] Connecting to the supervisor...
[2020-06-25 19:03:02.456] [info] Connecting to the supervisor...
[2020-06-25 19:03:02.958] [info] Connecting to the supervisor...
[2020-06-25 19:03:03.461] [info] Connecting to the supervisor...
[2020-06-25 19:03:03.963] [info] Connecting to the supervisor...
[2020-06-25 19:03:04.465] [info] Connecting to the supervisor...
[2020-06-25 19:03:04.967] [info] Connecting to the supervisor...
[2020-06-25 19:03:05.469] [info] Connecting to the supervisor...
[2020-06-25 19:03:05.970] [info] Connecting to the supervisor...
[2020-06-25 19:03:06.471] [info] Connecting to the supervisor...
[2020-06-25 19:03:06.972] [info] Connecting to the supervisor...
[2020-06-25 19:03:07.473] [info] Connecting to the supervisor...
[2020-06-25 19:03:07.974] [info] Connecting to the supervisor...
[2020-06-25 19:03:08.475] [info] Connecting to the supervisor...
[2020-06-25 19:03:08.976] [info] Connecting to the supervisor...

renderrer.log

[2020-06-20 20:00:29.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:31.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:33.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:35.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:37.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:39.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:41.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:43.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:45.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:47.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:49.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:51.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:53.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:55.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:57.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:00:59.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:01.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:03.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:05.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:07.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:09.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:11.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:13.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:15.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:17.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:19.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:21.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:23.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:25.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:27.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:29.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:31.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:33.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:35.050] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:37.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:39.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:41.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:43.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:45.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:47.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:49.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:51.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:53.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:55.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:57.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:01:59.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:02:01.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:02:03.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:02:05.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:02:07.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:02:09.048] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:02:11.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:02:13.049] [info] Daemon is starting, skipping healthcheck
[2020-06-20 20:02:15.048] [info] Daemon is starting, skipping healthcheck
@tadaskay
Copy link
Member

Supervisor is not running. Need logs from C:\Windows\system32\config\systemprofile\AppData\Local\MystSupervisor\myst_supervisor.log

@tadaskay tadaskay self-assigned this Jun 29, 2020
@etherunit
Copy link
Collaborator

etherunit commented Jun 30, 2020

Adding logs from C:\Windows\system32\config\systemprofile\AppData\Local\MystSupervisor\myst_supervisor.log

2020-06-27T12:35:10.000 INF Running myst supervisor daemon
2020-06-27T12:35:10.000 ERR Could not listen pipe on \\.\pipe\mystpipe error="lookup account Users: not found"
2020-06-28T13:11:11.000 INF Running myst supervisor daemon
2020-06-28T13:11:11.000 ERR Could not listen pipe on \\.\pipe\mystpipe error="lookup account Users: not found"
2020-06-29T17:12:42.000 INF Running myst supervisor daemon
2020-06-29T17:12:42.000 ERR Could not listen pipe on \\.\pipe\mystpipe error="lookup account Users: not found"
2020-06-29T17:23:06.000 INF Running myst supervisor daemon
2020-06-29T17:23:06.000 ERR Could not listen pipe on \\.\pipe\mystpipe error="lookup account Users: not found"

@tadaskay
Copy link
Member

For some reason, Users group does not exist, hence there's been tinkering with the Windows installation. Supervisor can't find that and thus cannot bind to the pipe with proper permissions. But perhaps we can work around that.

@tadaskay
Copy link
Member

tadaskay commented Jun 30, 2020

Source: https://ss64.com/nt/syntax-security_groups.html

Users |   |   | A built-in group. After the initial installation of the operating system, the only member is the Authenticated Users group. When a computer joins a domain, the Domain Users group is added to the Users group on the computer. Users can perform tasks such as running applications, using local and network printers, shutting down the computer, and locking the computer. Users can install applications that only they are allowed to use if the installation program of the application supports per-user installation.This group cannot be renamed, deleted, or moved.Default User Rights: None

@ghost
Copy link

ghost commented Jun 30, 2020

My myst_supervisor.log
2020-06-30T22:22:59.000 INF Running myst supervisor daemon
2020-06-30T22:22:59.000 ERR Could not listen pipe on \.\pipe\mystpipe error="lookup account Users: not found"
2020-06-30T22:23:05.000 INF Running myst supervisor daemon
2020-06-30T22:23:05.000 ERR Could not listen pipe on \.\pipe\mystpipe error="lookup account Users: not found"
2020-06-30T22:24:37.000 INF Running myst supervisor daemon
2020-06-30T22:24:37.000 ERR Could not listen pipe on \.\pipe\mystpipe error="lookup account Users: not found"
2020-06-30T22:24:56.000 INF Running myst supervisor daemon
2020-06-30T22:24:56.000 ERR Could not listen pipe on \.\pipe\mystpipe error="lookup account Users: not found"
2020-06-30T22:25:12.000 INF Running myst supervisor daemon
2020-06-30T22:25:12.000 ERR Could not listen pipe on \.\pipe\mystpipe error="lookup account Users: not found"
2020-06-30T22:28:16.000 INF Running myst supervisor daemon
2020-06-30T22:28:16.000 ERR Could not listen pipe on \.\pipe\mystpipe error="lookup account Users: not found"
2020-06-30T22:28:21.000 INF Running myst supervisor daemon
2020-06-30T22:28:21.000 ERR Could not listen pipe on \.\pipe\mystpipe error="lookup account Users: not found"

@shlavik
Copy link

shlavik commented Jun 30, 2020

Oh that's it!
I am using a localized version of Windows 10, and user group "Users" is translated to my locale and called as "Пользователи".
To test this hypothesis, this time I installed english distro of "Windows 7 SP1 Home Premium" on "VirtualBox", and thats works!
I am not very good at this, but what about using the "Network Service" user group?
It seems to be named the same on all localized versions of Windows, and is suitable for the domain specifics.

image

@tadaskay
Copy link
Member

tadaskay commented Jul 1, 2020

Sample output of whoami /groups on such system:

Сведения о группах
-----------------

Группа                                                               Тип                     SID                                                                                                         Атрибуты                                                     
==================================================================== ======================= =========================================================================================================== =============================================================
Обязательная метка\Средний обязательный уровень                      Метка                   S-1-16-8192                                                                                                                                                              
Все                                                                  Хорошо известная группа S-1-1-0                                                                                                     Обязательная группа, Включены по умолчанию, Включенная группа
NT AUTHORITY\Локальная учетная запись и член группы "Администраторы" Хорошо известная группа S-1-5-114                                                                                                   Группа, используемая только для запрета                      
BUILTIN\Администраторы                                               Псевдоним               S-1-5-32-544                                                                                                Группа, используемая только для запрета                      
BUILTIN\Пользователи                                                 Псевдоним               S-1-5-32-545                                                                                                Обязательная группа, Включены по умолчанию, Включенная группа
BUILTIN\Пользователи журналов производительности                     Псевдоним               S-1-5-32-559                                                                                                Обязательная группа, Включены по умолчанию, Включенная группа
NT AUTHORITY\ИНТЕРАКТИВНЫЕ                                           Хорошо известная группа S-1-5-4                                                                                                     Обязательная группа, Включены по умолчанию, Включенная группа
КОНСОЛЬНЫЙ ВХОД                                                      Хорошо известная группа S-1-2-1                                                                                                     Обязательная группа, Включены по умолчанию, Включенная группа
NT AUTHORITY\Прошедшие проверку                                      Хорошо известная группа S-1-5-11                                                                                                    Обязательная группа, Включены по умолчанию, Включенная группа
NT AUTHORITY\Данная организация                                      Хорошо известная группа S-1-5-15                                                                                                    Обязательная группа, Включены по умолчанию, Включенная группа
MicrosoftAccount\shlavik@gmail.com                                   Пользователь                           Обязательная группа, Включены по умолчанию, Включенная группа
NT AUTHORITY\Локальная учетная запись                                Хорошо известная группа S-1-5-113                                                                                                   Обязательная группа, Включены по умолчанию, Включенная группа
ЛОКАЛЬНЫЕ                                                            Хорошо известная группа S-1-2-0                                                                                                     Обязательная группа, Включены по умолчанию, Включенная группа
NT AUTHORITY\Проверка подлинности учетной записи в облаке            Хорошо известная группа S-1-5-64-36                                                                                                 Обязательная группа, Включены по умолчанию, Включенная группа

@tadaskay
Copy link
Member

tadaskay commented Jul 1, 2020

Will be sticking to the users group, but using a sid instead of looking it up by the name.

@tadaskay
Copy link
Member

tadaskay commented Jul 2, 2020

Fixed in https://github.com/mysteriumnetwork/mysterium-vpn-desktop/releases/tag/2.3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants