!DwmKuvGvRKciqyFcxv:matrix.org

Yggdrasil

880 Members
Experimental end-to-end encrypted IPv6 overlay network — https://yggdrasil-network.github.io — https://github.com/yggdrasil-network/yggdrasil-go — English language only, off-topic → #yggdrasil-community:matrix.org188 Servers

Load older messages


SenderMessageTime
15 Jun 2021
@patrick:darwinkel.netPatrick changed their profile picture.15:40:25
@neilalexander:matrix.orgneilalexander vikulin: Out of curiosity which Go version do you use to build the .aar? 21:03:06
@vikulin:matrix.orgvikulin
In reply to @neilalexander:matrix.org
vikulin: Out of curiosity which Go version do you use to build the .aar?
1.16.4
21:10:55
16 Jun 2021
@karmanyaah:malhotra.cckarmanyaahm left the room.01:23:14
@vikulin:matrix.orgvikulin
In reply to @neilalexander:matrix.org
I would somewhat expect try {} catch (e: Throwable) {} to work
       try {
            // Read the outgoing packet from the input stream.
            val length = tunInputStream.read(buffer)
            ygg.send(buffer.sliceArray(IntRange(0, length - 1)))
        } catch (e: IOException) {
            e.printStackTrace()
        } catch (e: Throwable){
            e.printStackTrace();
        }
05:03:36
@vikulin:matrix.orgvikulinthis code still is not catching native errors05:03:57
@vikulin:matrix.orgvikulin * this code still is not catching native errors05:04:10
@vikulin:matrix.orgvikulinRussian community has found the root cause of issue in wintun driver: https://github.com/yggdrasil-network/yggdrasil-go/issues/76706:54:14
@vikulin:matrix.orgvikulinthe problem was in https://git.zx2c4.com/wireguard-windows/commit/?id=b63957dc830e39c94844d2f0d32ba29575991e4406:54:41
@vikulin:matrix.orgvikulin

neilalexander: to solve the issue need to install hotfix KB2921916:
https://download.wireguard.com/windows-toolchain/distfiles/Windows6.1-KB2921916-x64.msu

please add appropriate dependency in MSI or documentation note

06:57:33
@vikulin:matrix.orgvikulinthe telegram user @openvz who researched the issue will update the ticket later06:58:23
@vikulin:matrix.orgvikulin * the telegram user @openvz who researched the issue will update the ticket later06:58:30
@vikulin:matrix.orgvikulin * Russian community has found the root cause of issue in wintun driver: https://github.com/yggdrasil-network/yggdrasil-go/issues/76707:13:46
@neilalexander:matrix.orgneilalexander
In reply to @vikulin:matrix.org
this code still is not catching native errors
Try e: Exception
07:27:18
@neilalexander:matrix.orgneilalexander
In reply to @vikulin:matrix.org

neilalexander: to solve the issue need to install hotfix KB2921916:
https://download.wireguard.com/windows-toolchain/distfiles/Windows6.1-KB2921916-x64.msu

please add appropriate dependency in MSI or documentation note

Hmm I wonder if we can add a dependency or if we will just need to document it
07:27:37
@vikulin:matrix.orgvikulinException is extending Throwable. won't have any difference07:28:01
@vikulin:matrix.orgvikulin
In reply to @neilalexander:matrix.org
Hmm I wonder if we can add a dependency or if we will just need to document it
at least we can add appropriate message in ygg log to make the issue clear for user
07:29:03
@neilalexander:matrix.orgneilalexander
In reply to @vikulin:matrix.org
Exception is extending Throwable. won't have any difference
In my own code I was just catching Exception and that worked, since apparently that’s what gomobile converts errors to
07:37:47
@vikulin:matrix.orgvikulin
In reply to @neilalexander:matrix.org
In my own code I was just catching Exception and that worked, since apparently that’s what gomobile converts errors to
this is not a Java Throwable object. see the stack: it's go.Universe$proxyerror which is not java.lang package
07:39:04
@vikulin:matrix.orgvikulin
In reply to @neilalexander:matrix.org
In my own code I was just catching Exception and that worked, since apparently that’s what gomobile converts errors to
just to make sure I surrounded the code with Exception and it was not worked
07:57:41
@neilalexander:matrix.orgneilalexander I'll update yggdrasil-extras now, but it will mean all errors on Send/Recv are dropped 08:01:55
@neilalexander:matrix.orgneilalexander... which may not be ideal in the long run08:02:09
@neilalexander:matrix.orgneilalexander go get github.com/yggdrasil-network/yggdrasil-extras@468e4a3 08:02:57
@_neb_github:matrix.orgGithub https://github.com/yggdrasil-network/yggdrasil-extras/commit/468e4a3
[~1, +15, -13] Neil Alexander: Don't send errors on Send/Recv
08:02:58
@vikulin:matrix.orgvikulincan you catch only the specific errors?08:03:17
@neilalexander:matrix.orgneilalexanderI can later but not right now08:07:01
@vikulin:matrix.orgvikulinlatest Yggdrasil Android binaries are published in Russian telegram channel: https://t.me/yggdrasil_android08:10:36
@vikulin:matrix.orgvikulin * latest Yggdrasil Android binaries are published in Russian telegram channel: https://t.me/yggdrasil_android08:12:53
@vikulin:matrix.orgvikulin 0.4 Yggdrasil Android version now is in good state: crashes do not occur anymore 08:21:43
@vikulin:matrix.orgvikulin
In reply to @neilalexander:matrix.org
I'll update yggdrasil-extras now, but it will mean all errors on Send/Recv are dropped
* 0.4 Yggdrasil Android version now is in good state: crashes do not occur anymore
08:31:10

There are no newer messages yet.


Back to Room List