[WireGuard] config file works on iOS app but not on Mac app (wireguard-apple)

Yuchen Lin kloselyc at gmail.com
Fri Dec 18 19:55:24 CET 2020


Hi, Wireguard development team members,

How is your day so far?

This is Yuchen Lin and I am currently working on a project based on
your open-source project wireguard-apple.

The code is well structured, easy to understand, and works really
well, except for one issue. When I was trying to connect to an actual
network with a config file, the iOS app I built works fine. But on the
macOS App, the config file could not be activated and giving me the
error saying I need to make sure I am connected to the internet, which
I am certain it is connected.

I am on the latest commit for 12-07-2020 (UI: macOS: Fix UTF-8 and
UTF-16 conversions in highlighter code 9269c7c Andrej Mihajlov
<and at mullvad.net> Dec 17, 2020 at 8:36 AM). Is there any possibility
that you might know which direction I should digger deeper to solve
this issue?

The following log is the log when the fail activation happens.

2020-12-17 10:12:00.691632-0800 WireGuard[24714:5440757] Metal API
Validation Enabled

2020-12-17 10:12:05.061536-0800 WireGuard[24714:5440757]
startActivation: Entering (tunnel: testsite)

2020-12-17 10:12:05.062793-0800 WireGuard[24714:5440757]
startActivation: Starting tunnel

2020-12-17 10:12:05.063050-0800 WireGuard[24714:5440757]
startActivation: Success

2020-12-17 10:12:05.067607-0800 WireGuard[24714:5440757] Tunnel
'testsite' connection status changed to 'connecting'

2020-12-17 10:12:05.080159-0800 WireGuard[24714:5440757] Tunnel
'testsite' connection status changed to 'disconnected'

2020-12-17 10:12:07.932564-0800 WireGuard[24714:5440757]
startActivation: Entering (tunnel: testsite)

2020-12-17 10:12:07.933307-0800 WireGuard[24714:5440757]
startActivation: Starting tunnel

2020-12-17 10:12:07.933513-0800 WireGuard[24714:5440757]
startActivation: Success

2020-12-17 10:12:07.936723-0800 WireGuard[24714:5440757] Tunnel
'testsite' connection status changed to 'connecting'

2020-12-17 10:12:07.946500-0800 WireGuard[24714:5440757] Tunnel
'testsite' connection status changed to 'disconnected'

2020-12-17 10:12:12.935242-0800 WireGuard[24714:5440757] Status update
notification timeout for tunnel 'testsite'. Tunnel status is now
'disconnected'.


Any help would be really appreciated.
Thanks,

Sincerely,
Yuchen Lin


More information about the WireGuard mailing list