-
Notifications
You must be signed in to change notification settings - Fork 57
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long) after $ counterparty-client getinfo error. #61
Comments
after client.conf, server.conf finished, and run the counterpatry-server start, but the error happened |
Are you using a zenkaku hostname? Also this is a Python bug, I think. |
I'm not using zenkaku hostname. maybe my counterparty-server is late from the current block can be the reason. About fast-installation method development is stopped or in other way do you know ? |
@TOMOAKI12345 check ArchiveTeam/wpull#82, it's a different project that had the same error. And it was closed there because the issue is upstream (Python): http://bugs.python.org/issue21103. |
@TOMOAKI12345 yes, the kickstart action does not work, I created an issue for that and will submit a pull request to remove it.
|
$ counterparty-client getinfo
[INFO] Running v1.1.1 of counterparty-client.
Unhandled Exception
Traceback (most recent call last):
File "/Users/tomoaki/Documents/workspace_py/counterparty-cli/bin/../lib/python3.4/encodings/idna.py", line 167, in encode
raise UnicodeError("label too long")
UnicodeError: label too long
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/tomoaki/Documents/workspace_py/counterparty-cli/bin/counterparty-client", line 9, in
load_entry_point('counterparty-cli==1.1.1', 'console_scripts', 'counterparty-client')()
File "/Users/tomoaki/Documents/workspace_py/counterparty-cli/counterpartycli/init.py", line 12, in client_main
client.main()
File "/Users/tomoaki/Documents/workspace_py/counterparty-cli/counterpartycli/client.py", line 257, in main
view = console.get_view(args.action, args)
File "/Users/tomoaki/Documents/workspace_py/counterparty-cli/counterpartycli/console.py", line 16, in get_view
return util.api('get_running_info')
File "/Users/tomoaki/Documents/workspace_py/counterparty-cli/counterpartycli/util.py", line 92, in api
return rpc(config.COUNTERPARTY_RPC, method, params=params, ssl_verify=config.COUNTERPARTY_RPC_SSL_VERIFY)
File "/Users/tomoaki/Documents/workspace_py/counterparty-cli/counterpartycli/util.py", line 67, in rpc
response = rpc_session.post(url, data=json.dumps(payload), headers=headers, verify=ssl_verify, timeout=config.REQUESTS_TIMEOUT)
File "/Users/tomoaki/Documents/workspace_py/counterparty-cli/lib/python3.4/site-packages/requests/sessions.py", line 508, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/Users/tomoaki/Documents/workspace_py/counterparty-cli/lib/python3.4/site-packages/requests/sessions.py", line 456, in request
prep.url, proxies, stream, verify, cert
File "/Users/tomoaki/Documents/workspace_py/counterparty-cli/lib/python3.4/site-packages/requests/sessions.py", line 614, in merge_environment_settings
env_proxies = get_environ_proxies(url) or {}
File "/Users/tomoaki/Documents/workspace_py/counterparty-cli/lib/python3.4/site-packages/requests/utils.py", line 534, in get_environ_proxies
if should_bypass_proxies(url):
File "/Users/tomoaki/Documents/workspace_py/counterparty-cli/lib/python3.4/site-packages/requests/utils.py", line 523, in should_bypass_proxies
bypass = proxy_bypass(netloc)
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 2441, in proxy_bypass
return proxy_bypass_macosx_sysconf(host)
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 2425, in proxy_bypass_macosx_sysconf
return _proxy_bypass_macosx_sysconf(host, proxy_settings)
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 2398, in _proxy_bypass_macosx_sysconf
hostIP = socket.gethostbyname(hostonly)
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long)
The text was updated successfully, but these errors were encountered: