Ever since the release of TunnelBlick 3.4Beta16, I have been getting this uncaught error exception. the program goes through the motions of connecting to my vpn server and then as soon as it connects it immediately disconnects. the Logs show everything is normal then towards the bottom is this:
2014-01-20 20:20:41 *Tunnelblick:
Output from openvpnstart stderr:
2014-01-20 20:20:41.711 openvpnstart[976:303] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Couldn't posix_spawn: error 8'
*** Call stack at first throw:
(
0 CoreFoundation 0x9534b6b1 __raiseError + 193
1 libobjc.A.dylib 0x98682091 objc_exception_throw + 162
2 CoreFoundation 0x9534b5cb +[NSException raise:format:] + 139
3 Foundation 0x927c87af -[NSConcreteTask launchWithDictionary:] + 4105
4 Foundation 0x927c77a1 -[NSConcreteTask launch] + 40
5 openvpnstart 0x00005e7e runAsRoot + 1117
6 openvpnstart 0x00008e26 runScript + 842
7 openvpnstart 0x000095ed main + 1920
8 openvpnstart 0x00001e95 _start + 208
9 openvpnstart 0x00001dc4 start + 40
10 ??? 0x00000004 0x0 + 4
)
2014-01-20 20:20:34 *Tunnelblick: openvpnstart starting OpenVPN
2014-01-20 20:20:41 *Tunnelblick: Disconnecting because script failed
add net 37.59.211.120: gateway 192.168.1.254
add net 0.0.0.0: gateway 192.168.5.1
add net 128.0.0.0: gateway 192.168.5.1
2014-01-20 20:20:41 GID set to nobody
2014-01-20 20:20:41 UID set to nobody
2014-01-20 20:20:41 Initialization Sequence Completed
route: must be root to alter routing table
2014-01-20 20:20:41 ERROR: OS X route delete command failed: external program exited with error status: 77
route: must be root to alter routing table
2014-01-20 20:20:41 ERROR: OS X route delete command failed: external program exited with error status: 77
route: must be root to alter routing table
2014-01-20 20:20:41 ERROR: OS X route delete command failed: external program exited with error status: 77
sh: /Library/Application: No such file or directory
2014-01-20 20:20:41 PLUGIN_CALL: plugin function PLUGIN_DOWN failed with status 1: /Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.3.2/openvpn-down-root.so
2014-01-20 20:20:41 ERROR: up/down plugin call failed
2014-01-20 20:20:41 Exiting due to fatal error
2014-01-20 20:20:44 *Tunnelblick: Executing post-disconnect.sh in /Library/Application Support/Tunnelblick/Users/Don/Steppenwolf2.tblk/Contents/Resources...
post-disconnect.sh returned with status 0
Output from openvpnstart stderr:
stdout from post-disconnect.sh: delete net 173.194.0.0
delete net 37.59.211.120
Please post the full diagnostic info (not the log) from the "Copy Diagnostic Info to Clipboard" button.
On Monday, January 20, 2014 9:30:02 PM UTC-5, Don Oerkfitz wrote:
Ever since the release of TunnelBlick 3.4Beta16, I have been getting this uncaught error exception. the program goes through the motions of connecting to my vpn server and then as soon as it connects it immediately disconnects. the Logs show everything is normal then towards the bottom is this:
2014-01-20 20:20:41 *Tunnelblick:
Output from openvpnstart stderr:
2014-01-20 20:20:41.711 openvpnstart[976:303] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Couldn't posix_spawn: error 8'
*** Call stack at first throw:
(
0 CoreFoundation 0x9534b6b1 __raiseError + 193
1 libobjc.A.dylib 0x98682091 objc_exception_throw + 162
2 CoreFoundation 0x9534b5cb +[NSException raise:format:] + 139
3 Foundation 0x927c87af -[NSConcreteTask launchWithDictionary:] + 4105
4 Foundation 0x927c77a1 -[NSConcreteTask launch] + 40
5 openvpnstart 0x00005e7e runAsRoot + 1117
6 openvpnstart 0x00008e26 runScript + 842
7 openvpnstart 0x000095ed main + 1920
8 openvpnstart 0x00001e95 _start + 208
9 openvpnstart 0x00001dc4 start + 40
10 ??? 0x00000004 0x0 + 4
)
2014-01-20 20:20:34 *Tunnelblick: openvpnstart starting OpenVPN
2014-01-20 20:20:41 *Tunnelblick: Disconnecting because script failed
add net : gateway 192.168.1.254
add net 0.0.0.0: gateway 192.168.5.1
add net 128.0.0.0: gateway 192.168.5.1
2014-01-20 20:20:41 GID set to nobody
2014-01-20 20:20:41 UID set to nobody
2014-01-20 20:20:41 Initialization Sequence Completed
route: must be root to alter routing table
2014-01-20 20:20:41 ERROR: OS X route delete command failed: external program exited with error status: 77
route: must be root to alter routing table
2014-01-20 20:20:41 ERROR: OS X route delete command failed: external program exited with error status: 77
route: must be root to alter routing table
2014-01-20 20:20:41 ERROR: OS X route delete command failed: external program exited with error status: 77
sh: /Library/Application: No such file or directory
2014-01-20 20:20:41 PLUGIN_CALL: plugin function PLUGIN_DOWN failed with status 1: /Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.3.2/openvpn-down-root.so
2014-01-20 20:20:41 ERROR: up/down plugin call failed
2014-01-20 20:20:41 Exiting due to fatal error
2014-01-20 20:20:44 *Tunnelblick: Executing post-disconnect.sh in /Library/Application Support/Tunnelblick/Users/Don/Steppenwolf2.tblk/Contents/Resources...
post-disconnect.sh returned with status 0
Output from openvpnstart stderr:
stdout from post-disconnect.sh: delete net 173.194.0.0
delete net
Sorry,
here is the full diagnostic info:
Even the "Snapshot version" of tunnelblick still has an uncaught exception. Here is the full diagnostic that was copied from clicking Copy Diagnostic info button:
2014-01-20 20:20:31 *Tunnelblick: OS X 10.9.1; Tunnelblick 3.4beta20 (build 3727); prior version 3.4beta14 (build 3649)
To view the Console log, launch the Console application, located at /Applications/Utilities/Console.app. The Console application is built into all versions of OS X.
If you don't see a list of different logs to view on the left of the Console window, click "View", then "Show Log List".
If you don't see a toolbar at the top of the Console window, click "View", then "Show Toolbar".
All of Tunnelblick's messages appear in the Console log, which you can view by selecting "Console Messages" in the log list on the left of the Console window. OpenVPN may output messages which only appear when viewing "All Messages" in the log list.
There is a "Filter" text box in the upper right corner of the Console window. If you type "tunnelblick" (without the quote marks) into the text box, Console will only show messages from Tunnelblick, not from other programs.
1/21/14 10:58:28.014 PM Tunnelblick[6949]: Set program update feedURL to https://www.tunnelblick.net/appcast-b.rss1/21/14 10:58:28.568 PM Tunnelblick[6949]: DEBUG: Updater: systemVersion 10.8.5 satisfies minimumSystemVersion 10.4.01/21/14 10:58:28.568 PM Tunnelblick[6949]: DEBUG: Updater: systemVersion 10.8.5 satisfies minimumSystemVersion 10.4.0
1/21/14 10:58:28.014 PM Tunnelblick[6949]: Set program update feedURL to https://www.tunnelblick.net/appcast-b.rss1/21/14 10:58:28.568 PM Tunnelblick[6949]: DEBUG: Updater: systemVersion 10.8.5 satisfies minimumSystemVersion 10.4.01/21/14 10:58:28.568 PM Tunnelblick[6949]: DEBUG: Updater: systemVersion 10.8.5 satisfies minimumSystemVersion 10.4.0
add net : gateway 192.168.1.254
2014-01-22 12:57:57 GID set to nobody
2014-01-22 12:57:57 UID set to nobody
2014-01-22 12:57:57 Initialization Sequence Completed
route: must be root to alter routing table
2014-01-22 12:57:58 *Tunnelblick:
2014-01-22 12:57:58 ERROR: OS X route delete command failed: external program exited with error status: 77
route: must be root to alter routing table
2014-01-22 12:57:58 ERROR: OS X route delete command failed: external program exited with error status: 77
route: must be root to alter routing table
2014-01-22 12:57:58 ERROR: OS X route delete command failed: external program exited with error status: 77
sh: /Library/Application: No such file or directory
2014-01-22 12:57:58 PLUGIN_CALL: plugin function PLUGIN_DOWN failed with status 1: /Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.3.2/openvpn-down-root.so
2014-01-22 12:57:58 ERROR: up/down plugin call failed
2014-01-22 12:57:58 Exiting due to fatal error
Output from openvpnstart stderr:
2014-01-22 12:57:57.385 openvpnstart[14577:303] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Couldn't posix_spawn: error 8'
*** Call stack at first throw:
(
0 CoreFoundation 0x9534b6b1 __raiseError + 193
1 libobjc.A.dylib 0x98682091 objc_exception_throw + 162
2 CoreFoundation 0x9534b5cb +[NSException raise:format:] + 139
3 Foundation 0x927c87af -[NSConcreteTask launchWithDictionary:] + 4105
4 Foundation 0x927c77a1 -[NSConcreteTask launch] + 40
5 openvpnstart 0x00005e7e runAsRoot + 1117
6 openvpnstart 0x00008e26 runScript + 842
7 openvpnstart 0x000095ed main + 1920
8 openvpnstart 0x00001e95 _start + 208
9 openvpnstart 0x00001dc4 start + 40
)
2014-01-22 12:57:58 *Tunnelblick: Disconnecting because script failed
2014-01-22 12:58:00 *Tunnelblick: Executing post-disconnect.sh in /Library/Application Support/Tunnelblick/Users/Don/Steppenwolf.tblk/Contents/Resources...
post-disconnect.sh returned with status 0
Output from openvpnstart stderr:
stdout from post-disconnect.sh: delete net 173.194.0.0
delete net
You are specifying the "up" and "down" options in the configuration file
You have set Tunnelblick's "Set DNS/WINS" set to something other than "Do not set nameserver" or "Set nameserver" (the default)
You are using "user nobody" and "group nobody"
You are using your own "connected" and "post-disconnect" scripts
You are specifying the "up" and "down" options in the configuration filethe up file simply is just adding static routes that i require when i use a VPN (i.e. for certain email servers). and the down scripts just put the vpn interface down.
You have set Tunnelblick's "Set DNS/WINS" set to something other than "Do not set nameserver" or "Set nameserver" (the default)According to my options on my tunnelblick window i have it set to "Set nameserver", so i am not sure how it is set to something other than. https://www.dropbox.com/s/7xm8f9tbdmak0d5/Screenshot%202014-01-22%2013.45.04.jpg
You are using "user nobody" and "group nobody"what would be your suggestions to on what to use other than those two?
the connected script is just an empty file - if i remember correctly tunnelblick woudn't install my configuration file unless i had that file in the package contents. and the post-disconnect file deletes static routes that were added by the up file.You are using your own "connected" and "post-disconnect" scripts
i removed the Up and down scripts as requested and tunnelblick seemed to have connected to the VPN server but i am not sure it was allowing traffic. I transferred the contents from the up.tunnelblick.sh file to connected.sh so that it would still set up my static routes and everything seemed to execute
but it didn't change my public IP over.
redirect-gateway def1
I also tried to copy the diagnostic info and the button once again stopped working (idk why).
well this is even more strange for the WIN/DNS for my original config only shows this: https://www.dropbox.com/s/rna657u7efx4wf9/Screenshot%202014-01-22%2014.34.49.jpg
but the new one i just installed shows this: https://www.dropbox.com/s/qx8kf9thhzs3q8r/Screenshot%202014-01-22%2014.36.28.jpg
no - tunnelblick is not running on a VM it is on my host machine
i have set the new configuration to route all traffic through it - i will test it in a about 45 minutes (in the middle of doing something where i can't have the network connection reset).
I'm still concerned about Tunnelblick not being able to copy the diagnostic info to the Clipboard. I've never seen that and haven't been able to duplicate it, and it makes it really hard to get the info needed for solving problems. If you get any insight into what is happening, please let me know!
okay - so when trying to connect this is what happened after connecting to my VPN Server:
2014-01-22 15:04:32 *Tunnelblick: After 30.0 seconds, gave up trying to fetch IP address information using the ipInfo host's name after connecting.
2014-01-22 15:05:02 *Tunnelblick: After 30.0 seconds, gave up trying to fetch IP address information using the ipInfo host's IP address after connecting.
so now something is wonky with the configuration files.
I'm still concerned about Tunnelblick not being able to copy the diagnostic info to the Clipboard. I've never seen that and haven't been able to duplicate it, and it makes it really hard to get the info needed for solving problems. If you get any insight into what is happening, please let me know!
can you send me a copy of the source code? i tried to check out a copy using the subversion repo and it kept resetting my connection at a certain point.
Definitely the most weirdest thing... i changed the some of the lines from my up script and moved them to my connected script and the VPN connected wit no errors and seems to all be working fine! idk why it was giving me issues but it is working now.