-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENTROPY_ENDPOINT=ws://localhost:9944 broken #275
Comments
Need to check
|
Steps to try reproduce (linux) $ rm -rf ~/.config/entropy-cryptography/entropy-cli.json
$ yarn test:network:up
$ yarn build:global
$ entropy account create mixmix
$ entropy account balance mixmix
{"balance":0,"symbol":"BITS"}
$ entropy balance mixmix -e ws://junk.io:9944
2024-12-04 15:19:37 API-WS: disconnected from ws://junk.io:9944: 1006:: Abnormal Closure
getaddrinfo ENOTFOUND junk.io
$ entropy balance mixmix -e ws://localhost:9944
{"balance":0,"symbol":"BITS"}
$ entropy balance mixmix -e ws://127.0.0.1:9944
{"balance":0,"symbol":"BITS"}
$ ENTROPY_ENDPOINT=ws://localhost:9944 entropy balance mixmix
{"balance":0,"symbol":"BITS"}
$ ENTROPY_ENDPOINT=ws://127.0.0.1:9944 entropy balance mixmix
{"balance":0,"symbol":"BITS"} I think from this I conclude that .... we cannot currently reproduce the bug entropy-cli version |
@ameba23 I'm gonna put this REVIEW, and unless you or anyone else has feedback, we'll move this to DONE next week |
Frankie points out that if there's no endpoint running you might get this error, and you should get a more helpful error. |
Gets Error:
This is when a local docker setup is running?
ws://127.0.0.1:9944
worksIdea: could add some checks to
argParser
and throw an error, or replacelocalhost
=>127.0.0.1
?The text was updated successfully, but these errors were encountered: