# VPN client won't connect (MacOS ARM)

**URL:** https://forum.pritunl.com/t/vpn-client-wont-connect-macos-arm/144
**Category:** Pritunl
**Tags:** pritunl-client, pritunl
**Created:** [May 19, 2022, 8:11am UTC](https://forum.pritunl.com/t/vpn-client-wont-connect-macos-arm/144 "2022-05-19T08:11:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![timonblackwidow](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/t/77aa72/32.png) [@timonblackwidow](https://forum.pritunl.com/u/timonblackwidow)
#### Post date: [May 19, 2022, 8:11am UTC](https://forum.pritunl.com/t/vpn-client-wont-connect-macos-arm/144/1 "2022-05-19T08:11:58Z")

</div>

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] ▶ 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] ▶ main: Service starting ◆ version=“1.2.3154.57”

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

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

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

[2022-05-19 09:02:17][INFO] ▶ 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.

---

<div class="post-metadata">

### Author: ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)
#### Post date: [May 19, 2022, 10:26pm UTC](https://forum.pritunl.com/t/vpn-client-wont-connect-macos-arm/144/2 "2022-05-19T22:26:26Z")

</div>

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

---

<div class="post-metadata">

### Author: ![timonblackwidow](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/t/77aa72/32.png) [@timonblackwidow](https://forum.pritunl.com/u/timonblackwidow)
#### Post date: [May 20, 2022, 7:36am UTC](https://forum.pritunl.com/t/vpn-client-wont-connect-macos-arm/144/3 "2022-05-20T07:36:28Z")

</div>

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