Unable to load net.tunnelblick.tun and/or net.tunnelblick.tap kexts in 5 tries

919 views
Skip to first unread message

Nadir Bertolasi

unread,
Jun 22, 2021, 5:02:31 AM6/22/21
to tunnelblick-discuss

Hi I am using Tunnelblick 3.8.5a (build 5671)

MacOS Catalina 10.15.7

I get error when I start a TAP VPN:

I gave the permissions on privacy and policy settings menu for the app to run the TAP but still get the error:

Could not start OpenVPN (openvpnstart returned with status #247)

Contents of the openvpnstart log:

openvpnstart log:

     Failed to load the tap kext; status = -603946985

     

     Failed to load the tap kext; status = -603946985

     

     Failed to load the tap kext; status = -603946985

     

     Failed to load the tap kext; status = -603946985

     

     Failed to load the tap kext; status = -603946985

     

     Unable to load net.tunnelblick.tun and/or net.tunnelblick.tap kexts in 5 tries. (It was not loaded even though the system said it was loaded.)

Tunnelblick developer

unread,
Jun 22, 2021, 7:29:48 AM6/22/21
to tunnelblick-discuss

Nadir Bertolasi

unread,
Jun 22, 2021, 7:32:08 AM6/22/21
to tunnelblick-discuss
Hi , still get the same problem..
Nadir

Tunnelblick developer

unread,
Jun 22, 2021, 8:08:36 AM6/22/21
to tunnelblick-discuss
You may need to "clear the kext history". Take a look at the first (and only) answer at How to Remove All Traces of a Kext. (Tunnelblick's Team ID is "Z2SG5H3HC8", so you should use that.)

If that doesn't help, please post the diagnostic info obtained by following the instructions at Read Before You Post.

Nadir Bertolasi

unread,
Jun 29, 2021, 3:26:04 AM6/29/21
to tunnelblick-discuss
Hi,
I managed to remove the kexts as reported in the guide for the tunnelblick's TEAM ID.
I still get the error:

Please note in Security and privacy -> general the app doesn't ask me again to add the permission to the developer.

2021-06-29 09:20:24.687517 *Tunnelblick: macOS 10.15.7 (19H524); Tunnelblick 3.8.5a (build 5671); prior version 3.8.1 (build 5400)

2021-06-29 09:20:24.995066 *Tunnelblick: Attempting connection with TTT; Set nameserver = 769; monitoring connection

2021-06-29 09:20:24.995592 *Tunnelblick: openvpnstart start TTT.tblk 63906 769 0 3 0 1098035 -ptADGNWradsgnw 2.4.11-openssl-1.1.1k

2021-06-29 09:20:25.015947 *Tunnelblick: openvpnstart starting OpenVPN

2021-06-29 09:20:35.098646 *Tunnelblick: 


Could not start OpenVPN (openvpnstart returned with status #247)


Contents of the openvpnstart log:

openvpnstart log:

     Failed to load the tap kext; status = -603946985

     

     Failed to load the tap kext; status = -603946985

     

     Failed to load the tap kext; status = -603946985

     

     Failed to load the tap kext; status = -603946985

     

     Failed to load the tap kext; status = -603946985

     

     Unable to load net.tunnelblick.tun and/or net.tunnelblick.tap kexts in 5 tries. (It was not loaded even though the system said it was loaded.)


Thankyou for the help
Nadir

Tunnelblick developer

unread,
Jun 29, 2021, 1:38:48 PM6/29/21
to tunnelblick-discuss
It would help to have the full diagnostic info.

Nadir Bertolasi

unread,
Jun 30, 2021, 4:48:08 AM6/30/21
to tunnelblick-discuss
Hi,
thankyou for the answer. How can I extract the full diagnostic?

Tunnelblick developer

unread,
Jun 30, 2021, 11:44:27 AM6/30/21
to tunnelblick-discuss

Nadir Bertolasi

unread,
Jun 30, 2021, 12:00:42 PM6/30/21
to tunnelblick-discuss
The output is the result I get following this guide https://tunnelblick.net/cBeforeYouPost.html

Can I edit any specific parameter in settings to increase logging? I set the log level to OpenVPN level 11 but same result

Tunnelblick developer

unread,
Jun 30, 2021, 12:03:22 PM6/30/21
to tunnelblick-discuss
Sorry, I don't see any output.

Logging level is not the problem.

Nadir Bertolasi

unread,
Jul 5, 2021, 3:45:58 AM7/5/21
to tunnelblick-discuss
Sorry, here is the attachment

thankyou for the support

Nadir

Tunnelblicklog.txt

Tunnelblick developer

unread,
Jul 5, 2021, 7:14:55 AM7/5/21
to tunnelblick-discuss
Your original post said:
     I get error when I start a TAP VPN:

The configuration file contains
     dev tun
which is for a TUN VPN.

But it also contains
     dev-node TAP-Gigante
which is for a TAP VPN. (And even if you do have a TAP VPN, this OpenVPN option is inappropriate on macOS.)

If you can, talk to however gave you your configuration file and have them fix this.

Otherwise:
  • If this is a TUN VPN, try removing the line "dev-node TAP-Gigante".
  • If this is a TAP VPN, try replacing "dev tun" with "dev tap".

Tunnelblick developer

unread,
Jul 5, 2021, 8:06:16 AM7/5/21
to tunnelblick-discuss
You also need to change the settings for "Load Tun driver" and "Load Tap driver" to "Automatically" or "Never", not "Always".

You also need to remove the "net.sf.tuntaposx.tap" and "net.sf.tuntaposx.tun" kexts.
Reply all
Reply to author
Forward
0 new messages