I am following this tutorial to set up Mosquitto with libwebsockets in Ubuntu server (Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64))
at Amazon EC2.
When I try to set up this specific version (v1.4 supported by Mosquitto) of Libwebsockets, it says the gzip is corrupted.
$ wget http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot/libwebsockets-1.4-chrome43-firefox-36.tar.gz
$ tar zxvf libwebsockets-1.4-chrome43-firefox-36.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
OK, I tried downloading the same (in Windows) and extracting, but it returned an EOF error. And I can't find the library from anywhere else.
The new websocket from GitHub is of no use as it ain't supporting Mosquitto. How should I proceed from here? Please help.
I had the same issue. I found the files here: https://libwebsockets.org/git/libwebsockets/tag/?h=v1.4-chrome43-firefox-36