libcurl got error code 56

OS: Ubuntu 16.04

Today I am testing my program but continue to get the following error message

curl: (56) gnutls recv error (-110)

After Google the web I found following references:

It proposed remove libcurl4-gnutls-dev and replace it with libcurl4-openssl-dev

I removed guntls package and reinstall with openssl version, after recompile program the problem was solved.

Take a note, hope it can help somebody.