drawio-desktop
drawio-desktop copied to clipboard
draw.io desktop is not fully offline
Preflight Checklist
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
Describe the bug
bstabel@ws20190404:~$ drawio --trace-warnings
(drawio:24287): Gtk-WARNING **: 18:33:17.021: Theme parsing error: gtk.css:3456:25: 'font-feature-settings' is not a valid property name
[24287:0601/183317.062123:ERROR:address_tracker_linux.cc(196)] Could not create NETLINK socket: Operation not permitted (1)
[24367:0601/183317.111001:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
WARNING: Kernel has no file descriptor comparison support: Operation not permitted
[24383:0601/183317.163493:ERROR:address_tracker_linux.cc(196)] Could not create NETLINK socket: Operation not permitted (1)
18:33:17.182 › Checking for update
[24383:0601/183317.196819:ERROR:socket_posix.cc(96)] CreatePlatformSocket() failed: Permission denied (13)
[24387:0601/183317.210956:ERROR:platform_shared_memory_region_posix.cc(250)] Creating shared memory in /dev/shm/.org.chromium.Chromium.boKq1d failed: Operation not permitted (1)
[24387:0601/183317.211110:ERROR:platform_shared_memory_region_posix.cc(253)] Unable to access(W_OK|X_OK) /dev/shm: Operation not permitted (1)
[24387:0601/183317.211169:FATAL:platform_shared_memory_region_posix.cc(255)] This is frequently caused by incorrect permissions on /dev/shm. Try 'sudo chmod 1777 /dev/shm' to fix.
[24383:0601/183317.214446:ERROR:socket_posix.cc(96)] CreatePlatformSocket() failed: Permission denied (13)
[24383:0601/183317.214912:ERROR:socket_posix.cc(96)] CreatePlatformSocket() failed: Permission denied (13)
18:33:17.217 › Error: Error: net::ERR_PROXY_CONNECTION_FAILED
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:101:7169)
at SimpleURLLoaderWrapper.emit (node:events:390:28)
18:33:17.218 › @error@
Error: net::ERR_PROXY_CONNECTION_FAILED
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:101:7169)
at SimpleURLLoaderWrapper.emit (node:events:390:28)
(node:24287) UnhandledPromiseRejectionWarning: Error: net::ERR_PROXY_CONNECTION_FAILED
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:101:7169)
at SimpleURLLoaderWrapper.emit (node:events:390:28)
(Use `drawio --trace-warnings ...` to show where the warning was created)
To Reproduce Steps to reproduce the behavior:
- Install draw.io desktop
- Before launching it, disable networking (
snap disconnect drawio:network
) - Launch draw.io desktop
- The error above is on stdout, the main window stays white
Expected behavior Application works without network permissions
Screenshots
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version 18.1.3
Desktop (please complete the following information):
- OS: Windows, MacOS, Linux...
Additional context
It tries to update from Github, is that the call you're seeing?
I blocked network traffic. I'm not seeing anything. You should make the update not freeze up the application. It says "Checking for update" in the log I posted above, though
@TomyLobo I've tried it and it works. In snap, automatic updates are disabled. The log in my case says: "SNAP env is defined, updater is disabled" Which OS are you using, mine is Ubuntu 22
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.
I missed the response. will try this again with a recent version once I get to my work machine and have some time.
I no longer got the ERR_PROXY_CONNECTION_FAILED errors in console with networking disconnected. I guess this got fixed in the meantime.