GithubHelp home page GithubHelp logo

UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long) after $ counterparty-client getinfo error. about counterparty-cli HOT 5 OPEN

counterpartyxcp avatar counterpartyxcp commented on September 18, 2024
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long) after $ counterparty-client getinfo error.

from counterparty-cli.

Comments (5)

TOMOAKI12345 avatar TOMOAKI12345 commented on September 18, 2024

after client.conf, server.conf finished, and run the counterpatry-server start, but the error happened

from counterparty-cli.

unsystemizer avatar unsystemizer commented on September 18, 2024

Are you using a zenkaku hostname?
Try alphabet and short length.

Also this is a Python bug, I think.

from counterparty-cli.

TOMOAKI12345 avatar TOMOAKI12345 commented on September 18, 2024

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 ?
this issue,.https://github.com/CounterpartyXCP/counterparty-lib/pull/409

from counterparty-cli.

unsystemizer avatar unsystemizer commented on September 18, 2024

@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.
Maybe you can ask in http://bugs.python.org/issue21103 if they plan to solve it soon.
Edit: in that particular issue, the problem was caused by (link: http://www.fileformat.info/info/unicode/char/2026/index.htm).
In any case, if you're using a non-ASCII character maybe you can modify the hostname to ASCII and recheck.
hostIP = socket.gethostbyname(hostonly) - what's the server hostname?

from counterparty-cli.

unsystemizer avatar unsystemizer commented on September 18, 2024

@TOMOAKI12345 yes, the kickstart action does not work, I created an issue for that and will submit a pull request to remove it.
Currently, if you run counterparty-client getinfo you can see if your client has caught up to eliminate any doubt. I think the maximum allowed difference is 1 (because it is necessary, each time block height is incremented, the difference will appear until the block is processed).

{
    "bitcoin_block_count": 1084542, <============== BITCOIN
    "db_caught_up": true,
    "last_block": {
        "block_hash": "0000000000001275e1e1af38c8df6648945cec3abbf617735450a631ffe88102",
        "block_index": 1084541, <============== COUNTERPARTY
        "block_time": 1484740374,
        "difficulty": 262144,
        "ledger_hash": "46f6b5e3dec29c2e6f2b8fa532341de3e6318e02f5f3bcc77640dee2e8b7da5c",
        "messages_hash": "30134ae1525b3d9fcac3f8dccc53892141f184d2561bc96d8f6a8dfd9b9c27e4",
        "previous_block_hash": "0000000000003dc1786a94aa32484dbeb5264ba0fbb8a5b91b849f7765ae6751",
        "txlist_hash": "fd3f46be871a0066806ff599f4fafca2b3c1e16b668e530baad896da1682ebfc"
    },
    "last_message_index": 32311,
    "running_testcoin": false,
    "running_testnet": true,
    "version_major": 9,
    "version_minor": 55,
    "version_revision": 1
}

from counterparty-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.