danklopp
I have recently installed the provided OpenVPN server from the AWS Marketplace. A windows user was able to connect without issue to the VPN server. When I attempted to do so on my Mac, I kept receiving the error "Error running jsondialog". Copied below is the log output of my test. Any help would be appreciated.
Mon Oct 5 13:41:49 2015 TrayClient.connect: (None, u'52.10.154.117', None, True)
Mon Oct 5 13:41:49 2015 found best profile: Profile[id=52_10_154_117_dynamic_p4495,owner=3,host=52.10.154.117,autologin=False,state=0]
Mon Oct 5 13:41:49 2015 >>>> {'cookie': 'TRAY_CLIENT_ZGtsb3Bw_6rEWNYKw', 'state': 'connect', 'profile_id': '52_10_154_117_dynamic_p4495', 'type': 'PROFILE', 'timestamp': 1444077709}
Mon Oct 5 13:41:49 2015 **** CONNECT 52_10_154_117_dynamic_p4495 TRAY_CLIENT_ZGtsb3Bw_6rEWNYKw
Mon Oct 5 13:41:49 2015 Not tracking (already owned by us)
Mon Oct 5 13:41:49 2015 Connect, sid= sess_52_10_154_117_dynamic_p4495_XeXRCBzVAWeHKoKK_1
Mon Oct 5 13:41:49 2015 Tracking owned session
Mon Oct 5 13:41:49 2015 generating sub_poll parameters
Mon Oct 5 13:41:49 2015 track_profile_connect: done
Mon Oct 5 13:41:49 2015 '52_10_154_117_dynamic_p4495' -> {'status': 'need', 'timestamp': 1444077709, 'need': ['username', 'password'], 'type': 'PASSWORD', 'auth_type': 'Dynamic'}
Mon Oct 5 13:41:52 2015 authenticate: host=u'52.10.154.117' user=u'dklopp' response=None
Mon Oct 5 13:41:52 2015 authenticate: using preferred host: 52.10.154.117
Mon Oct 5 13:41:52 2015 authenticate: sid: 'sess_52_10_154_117_dynamic_p4495_XeXRCBzVAWeHKoKK_1' profile_id: '52_10_154_117_dynamic_p4495'
Mon Oct 5 13:41:52 2015 overriding host with preferred host: 52.10.154.117
Mon Oct 5 13:41:52 2015 -> SubmitCreds u'dklopp'
Mon Oct 5 13:41:52 2015 -> SubmitCreds returned: None
Mon Oct 5 13:41:53 2015 '52_10_154_117_dynamic_p4495' -> {'timestamp': 1444077713, 'info_type': 'DYNAMIC_SUCCEED', 'type': 'INFO', 'severity': 'info', 'value': 'dynamic profile access succeeded'}
Mon Oct 5 13:41:53 2015 other event: {'timestamp': 1444077713, 'info_type': 'DYNAMIC_SUCCEED', 'type': 'INFO', 'severity': 'info', 'value': 'dynamic profile access succeeded'}
Mon Oct 5 13:41:53 2015 '52_10_154_117_dynamic_p4495' -> {'timestamp': 1444077713, 'info_type': 'RUN_ERROR', 'type': 'INFO', 'severity': 'error', 'value': "JSONDialog: Error running jsondialog, status=(5, [], ['task_for_pid(): 0x5']), stdout=[], stderr=['task_for_pid(): 0x5']"}
Mon Oct 5 13:41:53 2015 got INFO event: {'timestamp': 1444077713, 'info_type': 'RUN_ERROR', 'type': 'INFO', 'severity': 'error', 'value': "JSONDialog: Error running jsondialog, status=(5, [], ['task_for_pid(): 0x5']), stdout=[], stderr=['task_for_pid(): 0x5']"}
Mon Oct 5 13:41:53 2015 >>>> {'timestamp': 1444077713, 'state': 'disconnect', 'profile_id': '52_10_154_117_dynamic_p4495', 'type': 'PROFILE'}
Mon Oct 5 13:41:53 2015 **** DISCONNECT 52_10_154_117_dynamic_p4495
Mon Oct 5 13:41:53 2015 '52_10_154_117_dynamic_p4495' -> {'timestamp': 1444077713, 'type': 'DELETE_PENDING'}
Mon Oct 5 13:41:53 2015 got DELETE_PENDING for: Profile[id=52_10_154_117_dynamic_p4495,owner=3,host=52.10.154.117,autologin=False,state=0] <function <lambda> at 0x935baf0>
Mon Oct 5 13:41:53 2015 notify_disconnect: 52.10.154.117 "JSONDialog: Error running jsondialog, status=(5, [], ['task_for_pid(): 0x5']), stdout=[], stderr=['task_for_pid(): 0x5']"
The Johan
Just posting here to clarify something;
Macintosh OS X 10.11, aka El Capitan, caused a JSONdialog 5 error in OpenVPN Connect Clients that are older than version 2.0.18.203 for Mac. This is because of the system integrity feature that is implemented in El Capitan. Only a few days after El Capitan was released, we released Access Server 2.0.21 that contains the new 2.0.18.203 Connect Client that fixes this issue. If you are on an older version of Access Server, please upgrade. If you are on 2.0.21 of Access Server and still see this problem, kindly go to your Access Server and download and install the Connect Client for Mac again to upgrade it to 2.0.18.203 (or higher).