Macbook can not add host to server

when i add a host to rancher server the agent show error as follow:
File “/usr/local/lib/python2.7/dist-packages/requests/models.py”, line 381, in prepare_url
raise InvalidURL(‘URL has an invalid label.’)
requests.exceptions.InvalidURL: URL has an invalid label.

i think the rancher server in mac have a bug like this:
the CATTLE_URL is not correct.
#!/bin/sh

export CATTLE_REGISTRATION_ACCESS_KEY="registrationToken"
export CATTLE_REGISTRATION_SECRET_KEY="D8862A4CB58836C78460:1484326800000:NgSnGrW9cTW6HWQvxjUod81fxVU"
export CATTLE_URL="http://192.168.155.2锛�8080/v1"
export DETECTED_CATTLE_AGENT_IP=“172.17.0.1”

so everybody do you have any solution for rancher right run on the macbook?
how can config it?
my rancher’s version is 1.3.1 and docker’s version is 1.12.6 for macoX

The registration URL contains some sort of unicode character that isn’t a colon (:) between the host and port.

Separately, you haven’t gotten far enough to hit problems yet but Rancher does not work well with Docker for Mac (d4m). D4m creates a Linux VM on your Mac and then employs a variety of tricks to make it appear that Docker is actually running locally on your Mac, but these do not fit well with the way networking works in CNI/Rancher.

We suggest regular VMs of some sort for trying Rancher; this is the script I use: https://github.com/rancher/10acre-ranch/#docker-machine-on-macos

Thank you very much for your reply. i was update my rancher to the latest
.The bug was fixed. So i can add my macbook host to rancher.