* use IPV6 instead of IPV4 * backward compatible * add error report * fix linter * more linter * fix the python2 api