TommyLau / docker-ocserv

Docker OpenConnect VPN Server
352 stars 245 forks source link

DTLS handshake failed #45

Closed blcksrx closed 1 year ago

blcksrx commented 5 years ago

Openconnect client print this error periodically:

DTLS handshake failed: Resource temporarily unavailable, try again. DTLS handshake failed: Resource temporarily unavailable, try again. SSL read error: The TLS connection was non-properly terminated.; reconnecting. SSL negotiation with hosseintorabi.ir Server certificate verify failed: signer not found Connected to HTTPS on **********.com Got CONNECT response: HTTP/1.1 200 CONNECTED Reconnect gave different Legacy IP address (*.*.*.* != *.*.*.*) sleep 10s, remaining timeout 300s SSL negotiation with **********.com Server certificate verify failed: signer not found Connected to HTTPS on **********.com Got CONNECT response: HTTP/1.1 200 CONNECTED CSTP connected. DPD 90, Keepalive 32400 DTLS handshake failed: Resource temporarily unavailable, try again. DTLS handshake failed: Resource temporarily unavailable, try again

DimitriPapadopoulos commented 2 years ago

Does Set up OpenConnect VPN Server (ocserv) on Ubuntu 18.04/16.04 with Let’s Encrypt help?

Step 5: Fixing DTLS Handshake Failure

On Ubuntu 16.04 and Ubuntu 18.04, ocserv daemon ocserv.socket does not respect “listen-host” value from configuration file, which will cause the following error when clients connect to VPN server.

DTLS handshake failed: Resource temporarily unavailable, try again.