Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

crash after connection established on Mac OS #262

Open
2young-2simple-sometimes-naive opened this issue Feb 14, 2019 · 7 comments
Open

crash after connection established on Mac OS #262

2young-2simple-sometimes-naive opened this issue Feb 14, 2019 · 7 comments

Comments

@2young-2simple-sometimes-naive

2019-02-13 20:12:50.1250 | 116bf85c0 | OpenConnect-GUI VPN client (1.5.3) logging started...
2019-02-14 02:23:39.2339 | 70000ece1000 | GET https://vpn.jh.edu/
2019-02-14 02:23:39.2339 | 70000ece1000 | Attempting to connect to server 128.220.227.7:443
2019-02-14 02:23:39.2339 | 70000ece1000 | Connected to 128.220.227.7:443
2019-02-14 02:23:39.2339 | 70000ece1000 | There was a non-CA certificate in the trusted list: O=Entrust.net,OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.),OU=(c) 1999 Entrust.net Limited,CN=Entrust.net Certification Authority (2048).
2019-02-14 02:23:39.2339 | 70000ece1000 | SSL negotiation with vpn.jh.edu
2019-02-14 02:23:39.2339 | 70000ece1000 | Connected to HTTPS on vpn.jh.edu
2019-02-14 02:23:39.2339 | 70000ece1000 | Got HTTP response: HTTP/1.1 302 Found
2019-02-14 02:23:39.2339 | 70000ece1000 | Location: /dana-na/auth/url_hUh4H92l95TpN09c/welcome.cgi
2019-02-14 02:23:39.2339 | 70000ece1000 | Content-Type: text/html; charset=utf-8
2019-02-14 02:23:39.2339 | 70000ece1000 | Set-Cookie: DSSIGNIN=url_hUh4H92l95TpN09c; path=/dana-na/; expires=Thu, 31-Dec-2037 00:00:00 GMT; secure
2019-02-14 02:23:39.2339 | 70000ece1000 | Set-Cookie: DSIVS=; path=/; expires=Thu, 01 Jan 1970 22:00:00 GMT; secure
2019-02-14 02:23:39.2339 | 70000ece1000 | Set-Cookie: DSSignInURL=/; path=/; secure
2019-02-14 02:23:39.2339 | 70000ece1000 | Connection: close
2019-02-14 02:23:39.2339 | 70000ece1000 | Content-Length: 0
2019-02-14 02:23:39.2339 | 70000ece1000 | Strict-Transport-Security: max-age=31536000
2019-02-14 02:23:39.2339 | 70000ece1000 | HTTP body length: (0)
2019-02-14 02:23:39.2339 | 70000ece1000 | GET https://vpn.jh.edu/dana-na/auth/url_hUh4H92l95TpN09c/welcome.cgi
2019-02-14 02:23:39.2339 | 70000ece1000 | SSL negotiation with vpn.jh.edu
2019-02-14 02:23:39.2339 | 70000ece1000 | Connected to HTTPS on vpn.jh.edu
2019-02-14 02:23:39.2339 | 70000ece1000 | Got HTTP response: HTTP/1.1 200 OK
2019-02-14 02:23:39.2339 | 70000ece1000 | Content-Type: text/html; charset=utf-8
2019-02-14 02:23:39.2339 | 70000ece1000 | Date: Thu, 14 Feb 2019 07:23:39 GMT
2019-02-14 02:23:39.2339 | 70000ece1000 | x-frame-options: SAMEORIGIN
2019-02-14 02:23:39.2339 | 70000ece1000 | Connection: close
2019-02-14 02:23:39.2339 | 70000ece1000 | Pragma: no-cache
2019-02-14 02:23:39.2339 | 70000ece1000 | Cache-Control: no-store
2019-02-14 02:23:39.2339 | 70000ece1000 | Expires: -1
2019-02-14 02:23:39.2339 | 70000ece1000 | Strict-Transport-Security: max-age=31536000
2019-02-14 02:23:39.2339 | 70000ece1000 | HTTP body http 1.0 (-1)
2019-02-14 02:23:39.2339 | 70000ece1000 | SSL socket closed uncleanly
2019-02-14 02:23:39.2339 | 70000ece1000 | frmLogin
2019-02-14 02:23:39.2339 | 70000ece1000 | unknown type 4
2019-02-14 02:23:39.2339 | 70000ece1000 | Text form: username
2019-02-14 02:23:39.2339 | 70000ece1000 | Password form: password
2019-02-14 02:23:39.2339 | 70000ece1000 | Password form: password#2
2019-02-14 02:23:43.2343 | 70000ece1000 | unknown type 4
2019-02-14 02:23:43.2343 | 70000ece1000 | unknown type 4
2019-02-14 02:23:43.2343 | 70000ece1000 | POST https://vpn.jh.edu/dana-na/auth/url_hUh4H92l95TpN09c/login.cgi
2019-02-14 02:23:44.2344 | 70000ece1000 | SSL negotiation with vpn.jh.edu
2019-02-14 02:23:44.2344 | 70000ece1000 | Connected to HTTPS on vpn.jh.edu
2019-02-14 02:23:45.2345 | 70000ece1000 | Got HTTP response: HTTP/1.1 302 Moved
2019-02-14 02:23:45.2345 | 70000ece1000 | location: /dana-na/auth/url_hUh4H92l95TpN09c/welcome.cgi?p=failed&auth=2
2019-02-14 02:23:45.2345 | 70000ece1000 | Content-Type: text/html; charset=utf-8
2019-02-14 02:23:45.2345 | 70000ece1000 | Connection: close
2019-02-14 02:23:45.2345 | 70000ece1000 | Pragma: no-cache
2019-02-14 02:23:45.2345 | 70000ece1000 | Cache-Control: no-store
2019-02-14 02:23:45.2345 | 70000ece1000 | Expires: -1
2019-02-14 02:23:45.2345 | 70000ece1000 | Strict-Transport-Security: max-age=31536000
2019-02-14 02:23:45.2345 | 70000ece1000 | HTTP body http 1.0 (-1)
2019-02-14 02:23:45.2345 | 70000ece1000 | SSL socket closed uncleanly
2019-02-14 02:23:45.2345 | 70000ece1000 | GET https://vpn.jh.edu/dana-na/auth/url_hUh4H92l95TpN09c/welcome.cgi?p=failed&auth=2
2019-02-14 02:23:45.2345 | 70000ece1000 | SSL negotiation with vpn.jh.edu
2019-02-14 02:23:45.2345 | 70000ece1000 | Connected to HTTPS on vpn.jh.edu
2019-02-14 02:23:45.2345 | 70000ece1000 | Got HTTP response: HTTP/1.1 200 OK
2019-02-14 02:23:45.2345 | 70000ece1000 | Content-Type: text/html; charset=utf-8
2019-02-14 02:23:45.2345 | 70000ece1000 | Date: Thu, 14 Feb 2019 07:23:45 GMT
2019-02-14 02:23:45.2345 | 70000ece1000 | x-frame-options: SAMEORIGIN
2019-02-14 02:23:45.2345 | 70000ece1000 | Connection: close
2019-02-14 02:23:45.2345 | 70000ece1000 | Pragma: no-cache
2019-02-14 02:23:45.2345 | 70000ece1000 | Cache-Control: no-store
2019-02-14 02:23:45.2345 | 70000ece1000 | Expires: -1
2019-02-14 02:23:45.2345 | 70000ece1000 | Strict-Transport-Security: max-age=31536000
2019-02-14 02:23:45.2345 | 70000ece1000 | HTTP body http 1.0 (-1)
2019-02-14 02:23:45.2345 | 70000ece1000 | SSL socket closed uncleanly
2019-02-14 02:23:45.2345 | 70000ece1000 | frmLogin
2019-02-14 02:23:45.2345 | 70000ece1000 | unknown type 4
2019-02-14 02:23:45.2345 | 70000ece1000 | Text form: username
2019-02-14 02:23:45.2345 | 70000ece1000 | Password form: password
2019-02-14 02:23:49.2349 | 70000ece1000 | Password form: password#2
2019-02-14 02:23:51.2351 | 70000ece1000 | unknown type 4
2019-02-14 02:23:51.2351 | 70000ece1000 | unknown type 4
2019-02-14 02:23:51.2351 | 70000ece1000 | POST https://vpn.jh.edu/dana-na/auth/url_hUh4H92l95TpN09c/login.cgi
2019-02-14 02:23:51.2351 | 70000ece1000 | SSL negotiation with vpn.jh.edu
2019-02-14 02:23:51.2351 | 70000ece1000 | Connected to HTTPS on vpn.jh.edu
2019-02-14 02:23:52.2352 | 70000ece1000 | Got HTTP response: HTTP/1.1 302 Moved
2019-02-14 02:23:52.2352 | 70000ece1000 | Set-Cookie: DSASSERTREF=x; path=/; expires=Thu, 01 Jan 1970 22:00:00 GMT; secure
2019-02-14 02:23:52.2352 | 70000ece1000 | Set-Cookie: DSID=5e4d1d4fec5805ce50207b3cee7170b1; path=/; secure
2019-02-14 02:23:52.2352 | 70000ece1000 | Set-Cookie: DSFirstAccess=1550129032; path=/; secure
2019-02-14 02:23:52.2352 | 70000ece1000 | Set-Cookie: DSSIGNIN=url_hUh4H92l95TpN09c; path=/; secure
2019-02-14 02:23:52.2352 | 70000ece1000 | Date: Thu, 14 Feb 2019 07:23:52 GMT
2019-02-14 02:23:52.2352 | 70000ece1000 | location: /dana/home/index.cgi
2019-02-14 02:23:52.2352 | 70000ece1000 | Content-Type: text/html; charset=utf-8
2019-02-14 02:23:52.2352 | 70000ece1000 | Connection: close
2019-02-14 02:23:52.2352 | 70000ece1000 | Pragma: no-cache
2019-02-14 02:23:52.2352 | 70000ece1000 | Cache-Control: no-store
2019-02-14 02:23:52.2352 | 70000ece1000 | Expires: -1
2019-02-14 02:23:52.2352 | 70000ece1000 | Content-Length: 0
2019-02-14 02:23:52.2352 | 70000ece1000 | Strict-Transport-Security: max-age=31536000
2019-02-14 02:23:52.2352 | 70000ece1000 | HTTP body length: (0)
2019-02-14 02:23:52.2352 | 70000ece1000 | GET https://vpn.jh.edu/dana/home/index.cgi
2019-02-14 02:23:52.2352 | 70000ece1000 | SSL negotiation with vpn.jh.edu
2019-02-14 02:23:52.2352 | 70000ece1000 | Connected to HTTPS on vpn.jh.edu
2019-02-14 02:23:52.2352 | 70000ece1000 | Got HTTP response: HTTP/1.1 200 OK
2019-02-14 02:23:52.2352 | 70000ece1000 | Content-Type: text/html; charset=utf-8
2019-02-14 02:23:52.2352 | 70000ece1000 | Set-Cookie: DSLastAccess=1550129032; path=/; Secure
2019-02-14 02:23:52.2352 | 70000ece1000 | Connection: close
2019-02-14 02:23:52.2352 | 70000ece1000 | Pragma: no-cache
2019-02-14 02:23:52.2352 | 70000ece1000 | Cache-Control: no-store
2019-02-14 02:23:52.2352 | 70000ece1000 | Expires: -1
2019-02-14 02:23:52.2352 | 70000ece1000 | X-Frame-Options: SAMEORIGIN
2019-02-14 02:23:52.2352 | 70000ece1000 | Strict-Transport-Security: max-age=31536000
2019-02-14 02:23:52.2352 | 70000ece1000 | HTTP body http 1.0 (-1)
2019-02-14 02:23:52.2352 | 70000ece1000 | SSL socket closed uncleanly
2019-02-14 02:23:52.2352 | 70000ece1000 | SSL negotiation with vpn.jh.edu
2019-02-14 02:23:52.2352 | 70000ece1000 | Connected to HTTPS on vpn.jh.edu
2019-02-14 02:23:52.2352 | 70000ece1000 | Got HTTP response: HTTP/1.1 200 OK
2019-02-14 02:23:52.2352 | 70000ece1000 | Content-type: application/octet-stream
2019-02-14 02:23:52.2352 | 70000ece1000 | Pragma: no-cache
2019-02-14 02:23:52.2352 | 70000ece1000 | NCP-Version: 3
2019-02-14 02:23:52.2352 | 70000ece1000 | Set-Cookie: DSLastAccess=1550129032; path=/; Secure
2019-02-14 02:23:52.2352 | 70000ece1000 | Connection: close
2019-02-14 02:23:52.2352 | 70000ece1000 | X-Frame-Options: SAMEORIGIN
2019-02-14 02:23:52.2352 | 70000ece1000 | Strict-Transport-Security: max-age=31536000
2019-02-14 02:23:52.2352 | 70000ece1000 | SSL negotiation with vpn.jh.edu
2019-02-14 02:23:52.2352 | 70000ece1000 | Connected to HTTPS on vpn.jh.edu
2019-02-14 02:23:53.2353 | 70000ece1000 | Got HTTP response: HTTP/1.1 200 OK
2019-02-14 02:23:53.2353 | 70000ece1000 | Content-type: application/octet-stream
2019-02-14 02:23:53.2353 | 70000ece1000 | Pragma: no-cache
2019-02-14 02:23:53.2353 | 70000ece1000 | NCP-Version: 3
2019-02-14 02:23:53.2353 | 70000ece1000 | Set-Cookie: DSLastAccess=1550129032; path=/; Secure
2019-02-14 02:23:53.2353 | 70000ece1000 | Connection: close
2019-02-14 02:23:53.2353 | 70000ece1000 | X-Frame-Options: SAMEORIGIN
2019-02-14 02:23:53.2353 | 70000ece1000 | Strict-Transport-Security: max-age=31536000
2019-02-14 02:23:53.2353 | 70000ece1000 | 0000: 16 00 00 04 00 00 00 09 00 6c 6f 63 61 6c 68 6f
2019-02-14 02:23:53.2353 | 70000ece1000 | 0010: 73 74 bb 01 00 00 00 00
2019-02-14 02:23:53.2353 | 70000ece1000 | Got KMP message 301 of size 424
2019-02-14 02:23:53.2353 | 70000ece1000 | Unknown TLV group 3 attr 1 len 1: 00
2019-02-14 02:23:53.2353 | 70000ece1000 | Unknown TLV group 3 attr 2 len 1: 00
2019-02-14 02:23:53.2353 | 70000ece1000 | Received split include route 0.0.0.0/0.0.0.0
2019-02-14 02:23:53.2353 | 70000ece1000 | Received MTU 1400 from server
2019-02-14 02:23:53.2353 | 70000ece1000 | Received DNS server 10.200.1.1
2019-02-14 02:23:53.2353 | 70000ece1000 | Received DNS server 10.200.2.2
2019-02-14 02:23:53.2353 | 70000ece1000 | Received DNS search domain win.ad.jhu.edu, ad.jhu.edu, jh.edu, jhu.edu, jhmi.edu, johnshopkins.edu, insidehopkinsmedicine.org
2019-02-14 02:23:53.2353 | 70000ece1000 | Unknown TLV group 2 attr 3 len 4: 01 00 00 00
2019-02-14 02:23:53.2353 | 70000ece1000 | Received WINS server 10.181.31.73
2019-02-14 02:23:53.2353 | 70000ece1000 | ESP compression: 0
2019-02-14 02:23:53.2353 | 70000ece1000 | ESP encryption: 0x02 (AES-128)
2019-02-14 02:23:53.2353 | 70000ece1000 | ESP HMAC: 0x02 (SHA1)
2019-02-14 02:23:53.2353 | 70000ece1000 | ESP key lifetime: 1200 seconds
2019-02-14 02:23:53.2353 | 70000ece1000 | ESP key lifetime: 0 bytes
2019-02-14 02:23:53.2353 | 70000ece1000 | ESP replay protection: 1
2019-02-14 02:23:53.2353 | 70000ece1000 | Unknown TLV group 8 attr 11 len 4: 00 00 00 00
2019-02-14 02:23:53.2353 | 70000ece1000 | ESP port: 4500
2019-02-14 02:23:53.2353 | 70000ece1000 | ESP to SSL fallback: 15 seconds
2019-02-14 02:23:53.2353 | 70000ece1000 | Unknown TLV group 8 attr 8 len 4: 00 00 00 3c
2019-02-14 02:23:53.2353 | 70000ece1000 | Received internal IP address 10.249.0.51
2019-02-14 02:23:53.2353 | 70000ece1000 | Received netmask 255.255.255.255
2019-02-14 02:23:53.2353 | 70000ece1000 | Received internal gateway address 10.200.200.200
2019-02-14 02:23:53.2353 | 70000ece1000 | ESP SPI (outbound): ab195535
2019-02-14 02:23:53.2353 | 70000ece1000 | 64 bytes of ESP secrets
2019-02-14 02:23:53.2353 | 70000ece1000 | 0000: 8e 00 00 00 00 00 00 00 01 2f 01 00 00 00 01 00
2019-02-14 02:23:53.2353 | 70000ece1000 | 0010: 00 00 00 00 00 10 00 06 00 00 00 0a 00 02 00 00
2019-02-14 02:23:53.2353 | 70000ece1000 | 0020: 00 04 00 00 05 78 00 00 00 00 00 00 01 2e 01 00
2019-02-14 02:23:53.2353 | 70000ece1000 | 0030: 00 00 01 00 00 00 00 00 00 56 00 07 00 00 00 50
2019-02-14 02:23:53.2353 | 70000ece1000 | 0040: 00 01 00 00 00 04 c4 c6 fb 8b 00 02 00 00 00 40
2019-02-14 02:23:53.2353 | 70000ece1000 | 0050: 96 be 23 e5 02 93 46 47 0b 8a 99 d4 6e ba 62 ed
2019-02-14 02:23:53.2353 | 70000ece1000 | 0060: b8 68 52 52 ff 10 62 57 d2 01 7d 96 a5 b0 dc 56
2019-02-14 02:23:53.2353 | 70000ece1000 | 0070: 1d 8e aa 33 e8 45 40 18 30 ac 8c c2 bf e5 a6 3e
2019-02-14 02:23:53.2353 | 70000ece1000 | 0080: b0 63 fc 80 cf d1 fa 7c 5b 40 3e 0a ec ef 92 21
2019-02-14 02:23:53.2353 | 70000ece1000 | Send ESP probes
2019-02-14 02:23:53.2353 | 70000ece1000 | Could not open /var/folders/2r/s5gk7rr54lx5w_ftg5pd3z9h0000gn/T/vpnc.log: 5
2019-02-14 02:23:53.2353 | 70000ece1000 | ESP session established with server
2019-02-14 02:23:53.2353 | 70000ece1000 | 0000: 21 00 00 00 00 00 00 00 01 2f 01 00 00 00 01 00
2019-02-14 02:23:53.2353 | 70000ece1000 | 0010: 00 00 00 00 00 0d 00 06 00 00 00 07 00 01 00 00
2019-02-14 02:23:53.2353 | 70000ece1000 | 0020: 00 01 01
2019-02-14 02:26:21.2621 | 1180f85c0 | OpenConnect-GUI VPN client (1.5.3) logging started...
2019-02-14 02:26:52.2652 | 1180f85c0 | ...logging finished

Crashed at:
2019-02-14 02:23:53.2353 | 70000ece1000 | 0020: 00 01 01

Have to reboot to re-establish internet connect.

Version:
openconnect: stable 8.02
openconnect-gui: 1.5.3
both from homebrew
OS:
Mac OS 10.14.3

@horar
Copy link
Member

horar commented Feb 14, 2019

  • can you connect to your gateway sucessfuly from command line?
  • could you please check openconnect version in About dialog of GUI app?

@2young-2simple-sometimes-naive
Copy link
Author

The command line does not connect. Error log:

GET https://vpn.jh.edu/
Connected to 128.220.227.7:443
SSL negotiation with vpn.jh.edu
Connected to HTTPS on vpn.jh.edu
Got HTTP response: HTTP/1.1 302 Found
GET https://vpn.jh.edu/dana-na/auth/url_hUh4H92l95TpN09c/welcome.cgi
SSL negotiation with vpn.jh.edu
Connected to HTTPS on vpn.jh.edu
XML response has no "auth" node
Failed to obtain WebVPN cookie

Version:
screen shot 2019-02-14 at 5 09 15 pm

@horar
Copy link
Member

horar commented Feb 15, 2019

ok you GUI is using older v7.08 version. It was build so.
Did you try start openconnect in console via 'sudo'? Otherwicse it always fail.

@2young-2simple-sometimes-naive
Copy link
Author

sudo don't help. Also I manually made this file as an empty txt:
/var/folders/2r/s5gk7rr54lx5w_ftg5pd3z9h0000gn/T/vpnc.log
don't help.

@horar
Copy link
Member

horar commented Feb 15, 2019

Do you start openconnect or openconnect-gui via sudo?
If you start console 'openconnect' client via sudo, there will not be reported missing vpnc.log file.
You can ignore 'vpnc.log' error message on macOS. It's related to windows.

@2young-2simple-sometimes-naive
Copy link
Author

yes i did and it don't help

@horar
Copy link
Member

horar commented Feb 16, 2019

so, if you can't connect with console client, then please talk to people working on openconnect project;
this here is just a simple GUI on top of it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants