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

Lantern can't used in Ubuntu 20.04, how to solve it? #9

Open
fanguu opened this issue Oct 25, 2022 · 11 comments · Fixed by getlantern/sysproxy#16
Open

Lantern can't used in Ubuntu 20.04, how to solve it? #9

fanguu opened this issue Oct 25, 2022 · 11 comments · Fixed by getlantern/sysproxy#16
Assignees

Comments

@fanguu
Copy link

fanguu commented Oct 25, 2022

The lantern failed to set themself as system proxy

@otrosilva
Copy link

same problem with latest Pop OS!

@soltzen soltzen self-assigned this Nov 3, 2022
@soltzen
Copy link

soltzen commented Nov 3, 2022

Looking into this

@otrosilva
Copy link

ERROR lantern-desktop.main: main.go:157 at main.main (main.go:157)
ERROR lantern-desktop.main: main.go:157 at runtime.main (proc.go:250)
ERROR lantern-desktop.main: main.go:157 at runtime.goexit (asm_amd64.s:1571)
ERROR lantern-desktop.main: main.go:157 Caused by: unable to set up sysproxy setting tool: unable to find binary: []

@caosir
Copy link

caosir commented Nov 27, 2022

please use version: 6.11.1 in Ubumtu

@otrosilva
Copy link

Thanks for answering, but where I can find that specific version for ubuntu? from the repos only there are these: golang-github-getlantern* and from here is lantern-installer-64-bit.deb (same with the problem) or version packages jumps from 6.10.5 to 7.0.7.

@soltzen soltzen removed their assignment Jan 2, 2023
@Coderx7
Copy link

Coderx7 commented Mar 2, 2023

@soltzen : this is still an issue in the latest version of ubuntu i.e. 22.04 and latest release of lantern (7.3.6)
is there anyone looking into this at the moment?

@caosir
Copy link

caosir commented Mar 4, 2023

DEBUG lantern-desktop.ws: service.go:107 Accepting WebSocket connections
DEBUG lantern-desktop.app: app.go:166 Using configdir: /disk2/root/.lantern
DEBUG lantern-desktop.app: app.go:190 UDP port forwarding successful. This client can forward arbitrary UDP ports with UPNP.
DEBUG lantern-desktop.app: app.go:194 Checked if this client can forward arbitrary UDP ports with UPNP in 2.103434877s
DEBUG lantern-desktop.main: main.go:86 Not spawning child process via panicwrap
Mar 02 04:52:31.923 - 0m2s DEBUG lantern-desktop.main: main.go:205 Using locale: zh-CN
Mar 02 04:52:31.923 - 0m2s DEBUG i18n: translate.go:114 Setting locale zh-CN
Mar 02 04:52:31.931 - 0m2s DEBUG lantern-desktop.main: main.go:152 Running headless
Mar 02 04:52:31.931 - 0m2s DEBUG lantern-desktop.app: app.go:266 { false false false false true false false true false false false false 0s false [] [] []}
Mar 02 04:52:31.931 - 0m2s DEBUG flashlight.geolookup: geolookup.go:54 Could not get IP: could not get geoinfo with timeout 0s: context deadline exceeded
Mar 02 04:52:31.934 - 0m2s DEBUG flashlight: flashlight.go:354 Running in app: Lantern
Mar 02 04:52:31.934 - 0m2s DEBUG flashlight: flashlight.go:355 Using configdir: /disk2/root/.lantern
Mar 02 04:52:31.934 - 0m2s DEBUG flashlight: flashlight.go:611 ---- flashlight version: 7.3.6, release: 7.3.6, build revision date: 20230224.141941, build date: 20230224.142231 ----
Mar 02 04:52:31.934 - 0m2s DEBUG balancer: balancer.go:161 Constructing new balancer with 0 dialers [op=client_started root_op=client_started]
TRACE logging is NOT enabled for prefix [httpse]
Mar 02 04:52:31.934 - 0m2s DEBUG flashlight.geolookup: geolookup.go:65 Could not get country: could not get geoinfo with timeout 0s: context deadline exceeded [op=client_started root_op=client_started]
Mar 02 04:52:31.935 - 0m2s ERROR flashlight: flashlight.go:222 No global configuration! [op=client_started root_op=client_started]
Mar 02 04:52:31.935 - 0m2s DEBUG flashlight.geolookup: geolookup.go:65 Could not get country: could not get geoinfo with timeout 0s: context deadline exceeded [op=client_started root_op=client_started]
TRACE logging is NOT enabled for prefix [httpseverywhere-deserializer]
Mar 02 04:52:31.935 - 0m2s DEBUG flashlight: flashlight.go:218 Blocking related feature googlesearchads disabled because geolookup has not yet finished [op=client_started root_op=client_started]
Mar 02 04:52:31.935 - 0m2s DEBUG lantern-desktop.app: app.go:465 Got first config [op=client_started root_op=client_started]
Mar 02 04:52:31.935 - 0m2s DEBUG flashlight.geolookup: geolookup.go:65 Could not get country: could not get geoinfo with timeout 0s: context deadline exceeded
Mar 02 04:52:31.935 - 0m2s ERROR lantern-desktop.app: app.go:982 Exiting app 10695(9953) because of unable to set up sysproxy setting tool: unable to find binary: [] [error=Exiting app %d(%d) because of %v error_location=github.com/getlantern/lantern-desktop/desktop.(*App).doExit (app.go:883) error_text=Exiting app 10695(9953) because of unable to set up sysproxy setting tool: unable to find binary: [] error_type=errors.Error op=client_started root_op=client_started]
ERROR lantern-desktop.app: app.go:982 at github.com/getlantern/lantern-desktop/desktop.(*App).doExit (app.go:883)
ERROR lantern-desktop.app: app.go:982 at github.com/getlantern/lantern-desktop/desktop.(*App).Exit (app.go:875)
ERROR lantern-desktop.app: app.go:982 at github.com/getlantern/lantern-desktop/desktop.(*App).beforeStart (app.go:473)
ERROR lantern-desktop.app: app.go:982 at github.com/getlantern/lantern-desktop/desktop.(*App).Run.func3 (app.go:362)
ERROR lantern-desktop.app: app.go:982 at runtime.goexit (asm_amd64.s:1571)
ERROR lantern-desktop.app: app.go:982 Caused by: unable to set up sysproxy setting tool: unable to find binary: []
Mar 02 04:52:32.129 - 0m2s DEBUG httpseverywhere-deserializer: deserializer.go:54 Loaded HTTPS Everywhere in 194.620777ms
Mar 02 04:52:33.209 - 0m3s DEBUG lantern-desktop.app: app.go:925 Running 2 exit functions
Mar 02 04:52:33.209 - 0m3s DEBUG lantern-desktop.app: app.go:863 Processing exit function: Closing dhtupContext
Mar 02 04:52:33.209 - 0m3s DEBUG lantern-desktop.app: app.go:863 Processing exit function: stopping analytics
Mar 02 04:52:33.210 - 0m3s DEBUG lantern-desktop.app: app.go:865 Done processing exit function: stopping analytics
Mar 02 04:52:33.210 - 0m3s DEBUG lantern-desktop.app: app.go:865 Done processing exit function: Closing dhtupContext
Mar 02 04:52:33.210 - 0m3s DEBUG lantern-desktop.app: app.go:912 Finished running exit functions [op=client_started root_op=client_started]
Mar 02 04:52:33.210 - 0m3s DEBUG lantern-desktop.app: app.go:901 Finished exiting app 10695(9953) [op=client_started root_op=client_started]
Mar 02 04:52:33.210 - 0m3s DEBUG flashlight.config: bootstrap.go:103 Opening bootstrap file from: /disk2/root/.lantern/.packaged-lantern.yaml [op=client_started root_op=client_started]
Mar 02 04:52:33.210 - 0m3s DEBUG flashlight.config: bootstrap.go:53 Opening file at: /disk2/root/.lantern/.packaged-lantern.yaml [op=client_started root_op=client_started]
Mar 02 04:52:33.210 - 0m3s ERROR lantern-desktop.main: main.go:156 Lantern stopped with error unable to set up sysproxy setting tool: unable to find binary: [] [error=Lantern stopped with error %v error_location=main.main (main.go:156) error_text=Lantern stopped with error unable to set up sysproxy setting tool: unable to find binary: [] error_type=errors.Error]
ERROR lantern-desktop.main: main.go:156 at main.main (main.go:156)
ERROR lantern-desktop.main: main.go:156 at runtime.main (proc.go:250)
ERROR lantern-desktop.main: main.go:156 at runtime.goexit (asm_amd64.s:1571)
ERROR lantern-desktop.main: main.go:156 Caused by: unable to set up sysproxy setting tool: unable to find binary: []

@caosir
Copy link

caosir commented Apr 11, 2023

test version: 7.4.0

DEBUG lantern-desktop.ws: service.go:107 Accepting WebSocket connections
DEBUG lantern-desktop.app: app.go:166 Using configdir: /disk2/root/.lantern
DEBUG lantern-desktop.app: app.go:190 UDP port forwarding successful. This client can forward arbitrary UDP ports with UPNP.
DEBUG lantern-desktop.app: app.go:194 Checked if this client can forward arbitrary UDP ports with UPNP in 2.103294929s
DEBUG lantern-desktop.main: main.go:86 Not spawning child process via panicwrap
Apr 11 01:09:54.670 - 0m2s DEBUG lantern-desktop.main: main.go:205 Using locale: zh-CN
Apr 11 01:09:54.670 - 0m2s DEBUG i18n: translate.go:114 Setting locale zh-CN
Apr 11 01:09:54.677 - 0m2s DEBUG lantern-desktop.main: main.go:152 Running headless
Apr 11 01:09:54.677 - 0m2s DEBUG lantern-desktop.app: app.go:266 { false false false false true false false true false false false false 0s false [] [] []}
Apr 11 01:09:54.678 - 0m2s DEBUG flashlight.geolookup: geolookup.go:54 Could not get IP: could not get geoinfo with timeout 0s: context deadline exceeded
Apr 11 01:09:54.680 - 0m2s DEBUG flashlight: flashlight.go:354 Running in app: Lantern
Apr 11 01:09:54.680 - 0m2s DEBUG flashlight: flashlight.go:355 Using configdir: /disk2/root/.lantern
Apr 11 01:09:54.680 - 0m2s DEBUG flashlight: flashlight.go:611 ---- flashlight version: 7.4.0, release: 7.4.0, build revision date: 20230327.190738, build date: 20230410.201328 ----
Apr 11 01:09:54.680 - 0m2s DEBUG balancer: balancer.go:161 Constructing new balancer with 0 dialers [op=client_started root_op=client_started]
TRACE logging is NOT enabled for prefix [httpse]
Apr 11 01:09:54.681 - 0m2s DEBUG flashlight.geolookup: geolookup.go:65 Could not get country: could not get geoinfo with timeout 0s: context deadline exceeded [op=client_started root_op=client_started]
Apr 11 01:09:54.681 - 0m2s ERROR flashlight: flashlight.go:222 No global configuration! [op=client_started root_op=client_started]
Apr 11 01:09:54.681 - 0m2s DEBUG flashlight.geolookup: geolookup.go:65 Could not get country: could not get geoinfo with timeout 0s: context deadline exceeded [op=client_started root_op=client_started]
Apr 11 01:09:54.681 - 0m2s DEBUG flashlight: flashlight.go:218 Blocking related feature googlesearchads disabled because geolookup has not yet finished [op=client_started root_op=client_started]
TRACE logging is NOT enabled for prefix [httpseverywhere-deserializer]
Apr 11 01:09:54.681 - 0m2s DEBUG lantern-desktop.app: app.go:465 Got first config [op=client_started root_op=client_started]
Apr 11 01:09:54.681 - 0m2s DEBUG flashlight.geolookup: geolookup.go:65 Could not get country: could not get geoinfo with timeout 0s: context deadline exceeded
Apr 11 01:09:54.681 - 0m2s ERROR lantern-desktop.app: app.go:982 Exiting app 78433(1) because of unable to set up sysproxy setting tool: unable to find binary: [] [error=Exiting app %d(%d) because of %v error_location=github.com/getlantern/lantern-desktop/desktop.(*App).doExit (app.go:883) error_text=Exiting app 78433(1) because of unable to set up sysproxy setting tool: unable to find binary: [] error_type=errors.Error op=client_started root_op=client_started]
ERROR lantern-desktop.app: app.go:982 at github.com/getlantern/lantern-desktop/desktop.(*App).doExit (app.go:883)
ERROR lantern-desktop.app: app.go:982 at github.com/getlantern/lantern-desktop/desktop.(*App).Exit (app.go:875)
ERROR lantern-desktop.app: app.go:982 at github.com/getlantern/lantern-desktop/desktop.(*App).beforeStart (app.go:473)
ERROR lantern-desktop.app: app.go:982 at github.com/getlantern/lantern-desktop/desktop.(*App).Run.func3 (app.go:362)
ERROR lantern-desktop.app: app.go:982 at runtime.goexit (asm_amd64.s:1571)
ERROR lantern-desktop.app: app.go:982 Caused by: unable to set up sysproxy setting tool: unable to find binary: []
Apr 11 01:09:54.874 - 0m2s DEBUG httpseverywhere-deserializer: deserializer.go:54 Loaded HTTPS Everywhere in 193.034077ms
Apr 11 01:10:04.681 - 0m12s DEBUG balancer: balancer.go:646 ----------- Dialer Stats (2562047h47m16.854775807s) ----------- [op=client_started root_op=client_started]
Apr 11 01:10:04.681 - 0m12s DEBUG balancer: balancer.go:668 ----------- End Dialer Stats ----------- [op=client_started root_op=client_started]
Apr 11 01:10:09.678 - 0m17s DEBUG memhelper: memhelper.go:99 Memory InUse: 17 MB Alloc: 16 MB Sys: 28 MB RSS: 66 MB
Apr 11 01:10:14.681 - 0m22s DEBUG balancer: balancer.go:646 ----------- Dialer Stats (2562047h47m16.854775807s) ----------- [op=client_started root_op=client_started]
Apr 11 01:10:14.681 - 0m22s DEBUG balancer: balancer.go:668 ----------- End Dialer Stats ----------- [op=client_started root_op=client_started]
Apr 11 01:10:22.549 - 0m29s DEBUG chained: overhead.go:22 App Traffic: 0 B Wire Traffic: 0 B Overhead: NaN%
Apr 11 01:10:24.678 - 0m32s DEBUG memhelper: memhelper.go:99 Memory InUse: 72 MB Alloc: 67 MB Sys: 91 MB RSS: 130 MB
Apr 11 01:10:24.682 - 0m32s DEBUG balancer: balancer.go:646 ----------- Dialer Stats (2562047h47m16.854775807s) ----------- [op=client_started root_op=client_started]
Apr 11 01:10:24.682 - 0m32s DEBUG balancer: balancer.go:668 ----------- End Dialer Stats ----------- [op=client_started root_op=client_started]
Apr 11 01:10:24.683 - 0m32s ERROR lantern-desktop.app: app.go:891 Flushing to Sentry timed out [op=client_started root_op=client_started]
Apr 11 01:10:24.683 - 0m32s DEBUG lantern-desktop.app: app.go:925 Running 2 exit functions
Apr 11 01:10:24.683 - 0m32s DEBUG lantern-desktop.app: app.go:863 Processing exit function: Closing dhtupContext
Apr 11 01:10:24.683 - 0m32s DEBUG lantern-desktop.app: app.go:863 Processing exit function: stopping analytics
Apr 11 01:10:24.684 - 0m32s DEBUG lantern-desktop.app: app.go:865 Done processing exit function: stopping analytics
Apr 11 01:10:24.684 - 0m32s DEBUG lantern-desktop.app: app.go:865 Done processing exit function: Closing dhtupContext
Apr 11 01:10:24.684 - 0m32s DEBUG lantern-desktop.app: app.go:912 Finished running exit functions [op=client_started root_op=client_started]
Apr 11 01:10:24.684 - 0m32s DEBUG lantern-desktop.app: app.go:901 Finished exiting app 78433(1) [op=client_started root_op=client_started]
Apr 11 01:10:24.684 - 0m32s DEBUG flashlight.config: bootstrap.go:103 Opening bootstrap file from: /disk2/root/.lantern/.packaged-lantern.yaml [op=client_started root_op=client_started]
Apr 11 01:10:24.685 - 0m32s DEBUG flashlight.config: bootstrap.go:53 Opening file at: /disk2/root/.lantern/.packaged-lantern.yaml [op=client_started root_op=client_started]
Apr 11 01:10:24.685 - 0m32s ERROR lantern-desktop.main: main.go:156 Lantern stopped with error unable to set up sysproxy setting tool: unable to find binary: [] [error=Lantern stopped with error %v error_location=main.main (main.go:156) error_text=Lantern stopped with error unable to set up sysproxy setting tool: unable to find binary: [] error_type=errors.Error]
ERROR lantern-desktop.main: main.go:156 at main.main (main.go:156)
ERROR lantern-desktop.main: main.go:156 at runtime.main (proc.go:250)
ERROR lantern-desktop.main: main.go:156 at runtime.goexit (asm_amd64.s:1571)
ERROR lantern-desktop.main: main.go:156 Caused by: unable to set up sysproxy setting tool: unable to find binary: []
Apr 11 01:10:24.685 - 0m32s DEBUG flashlight.config: bootstrap.go:63 Read bytes: startupurl: [op=client_started root_op=client_started]

@magras
Copy link

magras commented May 10, 2023

It might be not obvious from the last caosir's message, but lantern 7.4.0 still fails to run with the same error.

Is the fix included in the release?

@atavism atavism reopened this May 12, 2023
@caosir
Copy link

caosir commented May 17, 2023

lantern 9999.99.99-dev (20230517.005922) is ok!
thanks!

@SteveBetter
Copy link

I can't remember when this problem appeared on my Ubuntu, but it has existed for a long time.
Is the above sysproxy solution for Windows and OS X?
How to solve it in Ubuntu?

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

Successfully merging a pull request may close this issue.

8 participants