VPN client won't connect (MacOS ARM)

Hi,

I’ve just installed the VPN client (v1.2.3128.59) on a Mac (Apple Silicon / ARM). When trying to start to connect to a VPN server, it immediately disconnects. I’ve also tried installing from the Github source (1.2.3154.57).

The log from the service, of the built version from github states:

[2022-05-18 20:28:39][ERRO] :arrow_forward: profile: Panic ◆ panic=runtime.boundsError{x:50, y:37, signed:true, code:0x3} ◆ stack=“goroutine 119 [running]:\nruntime/debug.Stack()\n\t/opt/homebrew/Cellar/go/1.18.2/libexec/src/runtime/debug/stack.go:24 +0x68\ngithub/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn.func3.1()\n\t/Users/xxxxxx/pritunl-client-electron/build/macos/Applications/Pritunl-darwin-x64/pritunl-client-electron-1.2.3154.57/service/go/src/github/pritunl/pritunl-client-electron/service/profile/profile.go:1424 +0x80\npanic({0x104db3100, 0x140003e80f0})\n\t/opt/homebrew/Cellar/go/1.18.2/libexec/src/runtime/panic.go:838 +0x204\ngithub/pritunl/pritunl-client-electron/service/profile.(*Profile).parseLine(0x1400022e380, {0x140004df000, 0x32})\n\t/Users/xxxx/Sites/pritunl-client-electron/build/macos/Applications/Pritunl-darwin-x64/pritunl-client-electron-1.2.3154.57/service/go/src/github/pritunl/pritunl-client-electron/service/profile/profile.go:904 +0xabc\ngithub/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn.func3()\n\t/Users/xxxx/pritunl-client-electron/build/macos/Applications/Pritunl-darwin-x64/pritunl-client-electron-1.2.3154.57/service/go/src/github/pritunl/pritunl-client-electron/service/profile/profile.go:1439 +0x80\ncreated by github/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn\n\t/Users/xxxx/pritunl-client-electron/build/macos/Applications/Pritunl-darwin-x64/pritunl-client-electron-1.2.3154.57/service/go/src/github/pritunl/pritunl-client-electron/service/profile/profile.go:1419 +0xe20\n”

Log from the package:
[2022-05-19 09:01:55][INFO] :arrow_forward: main: Service starting ◆ version=“1.2.3154.57”

[2022-05-19 09:02:16][INFO] :arrow_forward: profile: Connecting ◆ mode=“ovpn” ◆ profile_id=“a56a8df10e448f2478bb67384450b0fb”

[2022-05-19 09:02:16][WARN] :arrow_forward: parser: Configuration line [2] ◆ line=“remote xx.xx.xx.xx 443”

[2022-05-19 09:02:16][INFO] :arrow_forward: profile: Profile exit, reconnecting ◆ profile_id=“a56a8df10e448f2478bb67384450b0fb”

[2022-05-19 09:02:17][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“a56a8df10e448f2478bb67384450b0fb”

I’ve tried different VPN profiles (NordVPN and from my own server as well) and they all give the same error. When using another VPN client, it does seem to work.

Edit: The same seems to happen on Windows as well.

The configuration file must use the format remote IPADDR PORT PROTO such as remote 123.123.123.123 1234 udp.

Thanks, this worked! My config had “udp4” in it, and I changed it to “udp”.