Integrate Natty into Lantern
This will involve Natty running as a separate process.
6225 2014-11-09 00:37:19,087 ERROR [Thread-20] pt.BasePluggableTransport.run (LoggingStreamHandler.java:117) - panic: Unable to construct byteexec for natty: Unable to determine user's home directory: user: Current no
t implemented on linux/amd64
goroutine 16 [running]:
runtime.panic(0x75a760, 0xc2080008c0)
/Users/ox/git/go/src/pkg/runtime/panic.c:279 +0xf5
github.com/getlantern/go-natty/natty.init??1()
/Users/ox/gocode/src/github.com/getlantern/go-natty/natty/natty.go:44 +0x282
github.com/getlantern/go-natty/natty.init()
/Users/ox/gocode/src/github.com/getlantern/go-natty/natty/natty_linux_amd64.go:96 +0x1e5
github.com/getlantern/nattywad.init()
/Users/ox/gocode/src/github.com/getlantern/nattywad/server.go:187 +0x5d
github.com/getlantern/flashlight/server.init()
/Users/ox/gocode/src/github.com/getlantern/flashlight/server/server.go:320 +0x4e
main.init()
/Users/ox/gocode/src/github.com/getlantern/flashlight/flashlight.go:210 +0x5d
goroutine 17 [runnable]:
runtime.MHeap_Scavenger()
@ed2k Which linux distribution did this happen on?
This may be of use - https://inconshreveable.com/04-30-2014/cross-compiling-golang-programs-with-native-libraries/
Also potentially of use - https://groups.google.com/forum/#!msg/golang-nuts/YnYOXhdgnes/qIFzTTYvrqkJ
@oxtoacart the problem happened on ubuntu14.04 vps, which is openvz based. btw, I tried go-natty demo on the vps as well, my ATT gateway doesn't support UDP traversal. Also when it works, the hello printout got all messed up on VPS.
So I've narrowed the problem down to a cross compilation issue. Will have a fix tomorrow. On Nov 9, 2014 12:13 PM, "ed2k" [email protected] wrote:
@oxtoacart https://github.com/oxtoacart the problem happened on ubuntu14.04 vps, which is openvz based. btw, I tried go-natty demo on the vps as well, my ATT gateway doesn't support UDP traversal. Also when it works, the hello printout got all messed up on VPS.
— Reply to this email directly or view it on GitHub https://github.com/getlantern/lantern/issues/1606#issuecomment-62312999.
Cross compilation issue should be fixed now - see https://github.com/getlantern/flashlight/commit/3e100b395051412c4d5b5fc5aface8dd5e29f6a9
Sounds good. Let me know if I should build a new version.
On Mon, Nov 10, 2014 at 7:13 AM, oxtoacart [email protected] wrote:
Cross compilation issue should be fixed now - see getlantern/flashlight@ 3e100b3 https://github.com/getlantern/flashlight/commit/3e100b395051412c4d5b5fc5aface8dd5e29f6a9
— Reply to this email directly or view it on GitHub https://github.com/getlantern/lantern/issues/1606#issuecomment-62397342.
President Brave New Software Project, Inc. https://www.getlantern.org pgp A998 2B6E EF1C 373E 723F A813 045D A255 901A FD89