Proxy settings not respected for the Linux version

Things I have tried

I have tried both the AppImage and flatpak version of obsidian.

$ export http_proxy=http://myproxy:3128
$ export https_proxy=http://myproxy:3128
$ ~/Downloads/Obsidian-1.1.9.AppImage 
2023-02-18 06:42:27 Loading main app package /tmp/.mount_ObsidikS6OOK/resources/obsidian.asar
2023-02-18 06:42:27 Checking for update using Github
2023-02-18 06:42:27 Failed to check for update using Github (net::ERR_CONNECTION_REFUSED)
Error: net::ERR_CONNECTION_REFUSED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:101:7167)
    at SimpleURLLoaderWrapper.emit (node:events:527:28)
2023-02-18 06:42:27 Checking for update using obsidian.md
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
2023-02-18 06:42:30 Success.
2023-02-18 06:42:30 Latest version is 1.1.9
2023-02-18 06:42:30 App is up to date.
[20993:0218/144232.797060:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[20993:0218/144238.895706:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[20993:0218/144238.897077:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

and

$ flatpak run --env=http_proxy=http://myproxy:3128 --env=https_proxy=http://myproxy:3128 md.obsidian.Obsidian
Debug: Will run Obsidian with the following arguments: 
Debug: Additionally, user gave: 
2023-02-18 06:52:58 Loading main app package /app/resources/obsidian.asar
LaunchProcess: failed to execvp:
xdg-settings
Gtk-Message: 14:52:58.930: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:52:58.930: Failed to load module "pk-gtk-module"
Gtk-Message: 14:52:58.932: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:52:58.932: Failed to load module "pk-gtk-module"
[13:0218/145258.952702:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[13:0218/145258.952758:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
2023-02-18 06:52:59 Checking for update using Github
2023-02-18 06:52:59 Failed to check for update using Github (net::ERR_CONNECTION_REFUSED)
Error: net::ERR_CONNECTION_REFUSED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:101:7167)
    at SimpleURLLoaderWrapper.emit (node:events:527:28)
2023-02-18 06:52:59 Checking for update using obsidian.md
2023-02-18 06:52:59 Success.
2023-02-18 06:52:59 Latest version is 1.1.9
2023-02-18 06:52:59 App is up to date.
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[57:0218/145306.746743:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[57:0218/145306.749243:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[57:0218/145308.751827:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

What I’m trying to do

For my location a proxy connection is necessary. At the moment the update check and community plugins will fail to work as the connection to github is denied.

When using a VPN this works, but is not a viable workaround in all cases.

This also seems to apply to the Windows version; Setting a global proxy is ignored.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.