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

Theia Blueprint does not start on macOS. Maybe an IPv6 issue? #11930

Closed
kittaakos opened this issue Nov 29, 2022 · 4 comments
Closed

Theia Blueprint does not start on macOS. Maybe an IPv6 issue? #11930

kittaakos opened this issue Nov 29, 2022 · 4 comments

Comments

@kittaakos
Copy link
Contributor

Bug Description:

We have received reports of non-functional Theia electron apps from multiple users:

Our users were friendly to help us, and they could reproduce the bug with the TheiaBlueprint application.

Relevant stack traces:

2022-11-25 18:27:24 root ERROR Failed to start the backend application:
2022-11-25 18:27:24 root ERROR Error: getaddrinfo ENOTFOUND localhost
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
2022-11-25 18:27:24 root ERROR Uncaught Exception: 
2022-11-25 18:27:24 root ERROR Error: getaddrinfo ENOTFOUND localhost
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
root ERROR Failed to start the backend application: root ERROR Error: listen EADDRNOTAVAIL: address not available 127.0.0.1 at Server.setupListenHandle [as _listen2] (node:net:1298:21) at listenInCluster (node:net:1363:12) at GetAddrInfoReqWrap.doListen [as callback] (node:net:1501:7) at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:73:8) root ERROR Uncaught Exception: root ERROR Error: listen EADDRNOTAVAIL: address not available 127.0.0.1 at Server.setupListenHandle [as _listen2] (node:net:1298:21) at listenInCluster (node:net:1363:12) at GetAddrInfoReqWrap.doListen [as callback] (node:net:1501:7) at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:73:8)

We do not yet know what's causing the problem, but we managed to figure out that disabling the IPv6 support on macOS fixes the issue:

sudo networksetup -setv6off Wi-Fi

Steps to Reproduce:

  1. Download and start the latest Theia Blueprint app,
  2. Sometimes, it does not start

Additional Information

  • Operating System: macOS 11+ and 12+
  • Theia Version: TheiaBlueprint, Version 1.31.1 (1.31.1.86)

I could not reproduce the bug on my macOS env. I will investigate the issue further and update this issue. If anybody has the seem issue, please let us know.

@marcdumais-work
Copy link
Contributor

@kittaakos I have no specific reason to believe it will fix the issue, but we have a new macOS package available for Blueprint, based on Theia 1.32.0:

https://download.eclipse.org/theia/latest/macos/

@zhekch
Copy link

zhekch commented Nov 30, 2022

Newest package doesn't fix the issue.

S.2022-11-30.at.08.45.01.mp4

@vince-fugnitto
Copy link
Member

The issue at first glance looks similar to #11578, is there an issue with localhost not being properly binded, or the loopback address somehow being messed up?

@kittaakos
Copy link
Contributor Author

Closing in favor of #11578.

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

No branches or pull requests

4 participants