Seaf-cli - ValueError: unknown url type:

installed latest seafile client on ubuntu 16.4.3 LTS (server)
using repository ppa:seafile/seafile-client

marco@rukbat:~$ mkdir ~/seafile-client
marco@rukbat:~$ seaf-cli init -d ~/seafile-client
Successly create configuration dir /home/marco/.ccnet.
Writen seafile data directory /home/marco/seafile-client/seafile-data to /home/marco/.ccnet/seafile.ini
marco@rukbat:~$ seaf-cli start
Starting ccnet daemon …
Started: ccnet daemon …
Starting seafile daemon …
Started: seafile daemon …
marco@rukbat:~$ seaf-cli download -l e6ff7ec3-0e55-4c8d-9abd-9eaa46f3aed9 -s
Enter username:
Enter password for user :
Traceback (most recent call last):
File “/usr/bin/seaf-cli”, line 845, in
File “/usr/bin/seaf-cli”, line 841, in main
File “/usr/bin/seaf-cli”, line 421, in seaf_download
token = get_token(url, username, password, conf_dir)
File “/usr/bin/seaf-cli”, line 235, in get_token
token_json = urlopen("%s/api2/auth-token/" % url, data=data)
File “/usr/bin/seaf-cli”, line 208, in urlopen
resp = urllib2.urlopen(req)
File “/usr/lib/python2.7/”, line 154, in urlopen
return, data, timeout)
File “/usr/lib/python2.7/”, line 421, in open
protocol = req.get_type()
File “/usr/lib/python2.7/”, line 283, in get_type
raise ValueError, “unknown url type: %s” % self.__original
ValueError: unknown url type:

whatever I give in I get this error. I can log in to the server with the same credentials.
marco@phobos:~$ curl
{“version”: “6.2.1”, “features”: [“seafile-basic”]}marco@phobos:~$

marco@phobos:~$ curl --data-urlencode -d password=*****

marco@phobos:~$ seaf-cli sync -l e6ff7ec3-0e55-4c8d-9abd-9eaa46f3aed9 -s -c ~/sea -d ~/seadatadir

marco@phobos:~$ seaf-cli sync -l e6ff7ec3-0e55-4c8d-9abd-9eaa46f3aed9 -s -c ~/sea -d ~/seadatadir