fatal: unable to access “…..”: gnutls_handshake() failed: Handshake failed

This is solution fix this issue on ubuntu server 14.04.x 1, Edit file: sudo nano /etc/apt/sources.list 2, Add to file sources.list deb http://security.ubuntu.com/ubuntu xenial-security main deb http://cz.archive.ubuntu.com/ubuntu xenial main universe 3, Run command update and update CURL to new version apt-get update && apt-get install curl 4, Check version (Optional): curl -V Response : curl … Read more

SSL handshake fails with – a verisign chain certificate – that contains two CA signed certificates and one self-signed certificate

Root certificates issued by CAs are just self-signed certificates (which may in turn be used to issue intermediate CA certificates). They have not much special about them, except that they’ve managed to be imported by default in many browsers or OS trust anchors. While browsers and some tools are configured to look for the trusted … Read more

Send custom data along with handshakeData in socket.io?

As a lot of comments have pointed out below the Socket.IO API changed in their 1.0 release. Authentication should now be done via a middleware function, see ‘Authentication differences’ @ http://socket.io/docs/migrating-from-0-9/#authentication-differences. I’ll include my orginal answer for anyone stuck on <1.0 as the old docs seem to be gone. 1.0 and later: Client Side: //The … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)