orbstack: unable to save `network_proxy` settings
Describe the bug
In orbstack,set network_proxy to none in the network settings, then exit orbstack, reopen orbstack, and find that proxy is set to Automatic (system).
To Reproduce
- open
preferences - go to
Network - set
proxytonone - quit
orbstack - reopen
orbstack - check
proxysetting.
Expected behavior
I think network settings should be saved.
Diagnostic report (required)
OrbStack info: Version: 1.0.0 Commit: c43913566b3e18b25f38a8d5f70e535eb265bdb2 (v1.0.0)
System info: macOS: 12.7 (21G816) CPU: amd64, 12 cores CPU model: Intel® Core™ i7-8850H CPU @ 2.60GHz Model: MacBookPro15,1 Memory: 16 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2023-10-14T13-05-28.058284Z.zip
Screenshots and additional context (optional)
No response
About this issue
- Original URL
- State: open
- Created 9 months ago
- Comments: 18 (6 by maintainers)
edited: sorry i was wrong, i think this most likely to be threading issue,
with vmconfig.json contains “network_proxy”: “none” start orb will get random results, sometimes it will load network_proxy setting correctly, sometimes not and reset vmconfig.json, (run “/Applications/OrbStack.app/Contents/MacOS/OrbStack” directly in terminal has much bigger chance to work correctly)
I am using macbook with M2 Max CPU, Sonoma 14.1.
the success case has different uilog from failure case
success case ui.log
by comparing to a failure case, those lines are missing
hopefully this info can help to pinpoint the issue
after little digging, i found thru UI, it failed to update ~/.orbstack/vmconfig.json, and in ~/.orbstack/logs/gui.log, it prints some warnings, pls help to check