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

Changing WiFi network makes the services stuck #1157

Closed
waszabi opened this issue Apr 29, 2024 · 10 comments
Closed

Changing WiFi network makes the services stuck #1157

waszabi opened this issue Apr 29, 2024 · 10 comments
Labels
t/bug Something isn't working
Milestone

Comments

@waszabi
Copy link

waszabi commented Apr 29, 2024

Describe the bug

This happens when transferring the MacBook to another office where there is a different WiFi. For instance there are 26 containers running in total. The lid is closed and then it is opened on a different WiFi. Number of running containers is lower (e.g. 12) and they do not work properly. The workaround is to open Activity Monitor and search for "Virtual Machine Service" then double click on it and choose the Quit option. Afterwards, OrbStack says "Service Not Running" and there is a button to start it. Then it loads all the containers and it works properly. Is it please possible to fix this?

To Reproduce

No response

Expected behavior

No response

Diagnostic report (REQUIRED)

OrbStack info:
Version: 1.5.1
Commit: 4cfac15e1080617c70eb163966e1cb2009dac1c2 (v1.5.1)

System info:
macOS: 12.7.4 (21H1123)
CPU: amd64, 4 cores
CPU model: Intel(R) Core(TM) i5-6360U CPU @ 2.00GHz
Model: MacBookPro13,1
Memory: 16 GiB

Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-04-29T09-08-34.135049Z.zip

Screenshots and additional context (optional)

No response

@waszabi waszabi added the t/bug Something isn't working label Apr 29, 2024
@slinorb
Copy link
Member

slinorb commented Apr 29, 2024

Please elaborate on "they do not work properly.". What are the symptoms? The containers are not running? Or can not access containers.

@waszabi
Copy link
Author

waszabi commented May 2, 2024

It is very random. Normally there are 26 containers running. After opening the lid on other WiFi network there is sometimes 12 containers running, sometimes only 2, it varies each time. For instance the web servers cannot be accessed from the browser. The command docker ps also does not work, it only shows an empty line in the terminal and does not output anything just hangs. So "they do not work properly" could be rephrased as some containers stop for unknown reason and cannot be accessed.

This does not happen when the WiFi network is not changed.

@waszabi
Copy link
Author

waszabi commented May 2, 2024

Docker is in Swarm mode

@deniscsz
Copy link

I'm facing the exactly same issue. All the commands in the container terminal got "stuck" like a infinite loop. I'm waiting for 20min for a simple ls. Any command in the terminal behaviors as the same. For me it happens using cable or wifi, or even "offline".

Screenshot 2024-05-14 at 22 13 04

The log of the containers works normally. Others containers are running normal (of other projects that I started after the problem come up).

I tried uninstall and reinstall the last version and the problem still happens. I already rebuilt the container/images without success too.

Version 1.5.1 (16857)

@kdrag0n
Copy link
Member

kdrag0n commented May 15, 2024

@waszabi @deniscsz Can you try v1.6.0 Canary? Settings > Update channel

@deniscsz
Copy link

@kdrag0n Sure, I'll try it right now.

@deniscsz
Copy link

deniscsz commented May 15, 2024

@kdrag0n After change to v1.6.0 Canary and rebuild the image, it works. Thank you.

@kdrag0n
Copy link
Member

kdrag0n commented May 15, 2024

Great! Thanks for testing.

@kdrag0n kdrag0n closed this as completed May 15, 2024
@kdrag0n kdrag0n added this to the v1.6.0 milestone May 15, 2024
@kdrag0n
Copy link
Member

kdrag0n commented May 22, 2024

Released in v1.6.0.

New: Truly fast container filesystems on macOS: 2–10x faster, within 75-95% of native

@waszabi
Copy link
Author

waszabi commented May 24, 2024

Thank you for fixing this! It looks that it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants