11 Feb 2023 |
sorabot (sorabot) | [telegram] <Elianna> Now therе аrе vеry strange and unprediсtаble еvеnts соncеrning сryрtо The wоrld соmmunitу is рutting рrеssure When I startеd trading in 2018 I came acrоss what I thought wеrе mаnу problеms I tried tо study crуpto оn the intеrnet listening to psеudo еxpеrts whо kерt trying to cheаt Вut I fоund a chаnnеl оf one fаmous whale trаdеr who surрrisеd mе I tried to follоw his аdvice аnd I suссеeded and finаllу I inсreаsеd my budget. Try tо find his chаnnel by tуping in a Telеgram sеarch wоrd "BasicWhale" His signаls wоrk flawlessly Не's one of thе first to give privаte informatiоn. | 15:18:50 |
13 Feb 2023 |
sorabot (sorabot) | [telegram] <sungod> Hi, is there a way to install additional binaries (say the ping command) inside a running irohad container? I was trying to add a peer to a 1 node network using iroha-cli. The transaction was a success but I see RPC failures ([2023-02-13 13:04:40.191063356][W][Irohad/Consensus/Network]: RPC failed: ipv4:172.18.0.25:50051 ) | 14:55:41 |
sorabot (sorabot) | [telegram] <sungod> So I was thinking if I can test if the containers can ping each other. | 14:56:20 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> Hello, yes, you can add binaries for debugging purposes | 14:56:21 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> First of all, the docker ps command will show you a list of available containers | 14:56:46 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> with docker exec -ti CONTAINER_NAME /bin/sh you can access the container's shell | 14:57:16 |
sorabot (sorabot) | [telegram] <sungod> Yup, that step is clear.. | 14:57:35 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> and to copy data from host to container, please do
docker cp SRC_PATH CONTAINER:DEST_PATH | 14:58:02 |
sorabot (sorabot) | [telegram] <sungod> would it be possible to apt get install ping or something similar inside the container itself? (re @Group: and to copy data from host to container, please do docker cp SRC_PATH CONTAINER:DEST_PATH) | 14:59:41 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> Since you're adding a ping command, which version of Iroha do you want to change? I could run it and check the package manager command for installing related net utilities. | 14:59:52 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> sure (re @sungod: would it be possible to apt get install ping or something similar inside the container itself?) | 15:00:00 |
sorabot (sorabot) | [telegram] <sungod> Hmm, I actually got an error when trying that:root@67b351e02f08:/opt/iroha_data# apt install iputils-ping
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package iputils-ping | 15:01:09 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> oh, so it's either Ubuntu or Debian-based. Please run apt-get update before your current command so the repos are synchronized. (re @sungod: Hmm, I actually got an error when trying that: root@67b351e02f08:/opt/iroha_data# apt install iputils-ping Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package iputils-ping) | 15:01:54 |
sorabot (sorabot) | [telegram] <sungod> Thank you, that worked. (re @Group: oh, so it's either Ubuntu or Debian-based. Please run apt-get update before your current command so the repos are synchronized.) | 15:03:05 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> you're welcome! | 15:03:15 |
sorabot (sorabot) | [telegram] <sungod> The containers can ping each other, the issue seems to be something else in the setup. I can still see "[W][Irohad/Consensus/Network]: RPC failed: ipv4:172.18.0.23:50051" messages | 15:17:16 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> is it Iroha 1? | 15:17:41 |
sorabot (sorabot) | [telegram] <sungod> yes (re @Group: is it Iroha 1?) | 15:17:47 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> could you add a formatted log, then? | 15:18:05 |
sorabot (sorabot) | [telegram] <sungod> How do I do that? | 15:18:28 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> one moment. | 15:18:34 |
sorabot (sorabot) | [telegram] <sungod> [2023-02-13 15:21:14.175082645][I][Irohad/Consensus/HashGate]: votingStep got vote: VoteMessage: [yac hash=YacHash: [round=Round: [block=3, reject=0], hashes=VoteHashes: [proposal=, block=]], signature=Signature: [publicKey=8da2d43a41008a79206be292a8298315b602591a2b85f74c3c0bbb9372211373, signedData=1e332cea27dbcc32fd2d58bad209ca96d54dbdb361d93b8dccf3cb0bb888d37c14b4e319a7202d995d8d064b9b6e55a5e92eb9be06519889b3577a66c7e56c0a]], attempt 199
[2023-02-13 15:21:14.175204983][I][Irohad/Consensus/HashGate]: Vote VoteMessage: [yac hash=YacHash: [round=Round: [block=3, reject=0], hashes=VoteHashes: [proposal=, block=]], signature=Signature: [publicKey=8da2d43a41008a79206be292a8298315b602591a2b85f74c3c0bbb9372211373, signedData=1e332cea27dbcc32fd2d58bad209ca96d54dbdb361d93b8dccf3cb0bb888d37c14b4e319a7202d995d8d064b9b6e55a5e92eb9be06519889b3577a66c7e56c0a]] to peer Peer: [address=172.18.0.23:50051, pubkey=8f014fa2b7832d25458ae68a541d51a1044f87afc5513967fda16e3728e68f61, tlsCertificate=0, IsSyncing=0]
[2023-02-13 15:21:14.175285652][I][Irohad/Consensus/Network]: Send votes bundle[size=1] for Round: [block=3, reject=0] to Peer: [address=172.18.0.23:50051, pubkey=8f014fa2b7832d25458ae68a541d51a1044f87afc5513967fda16e3728e68f61, tlsCertificate=0, IsSyncing=0]
[2023-02-13 15:21:14.175822911][W][Irohad/Consensus/Network]: RPC failed: ipv4:172.18.0.23:50051 | 15:21:30 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> thanks | 15:21:40 |
sorabot (sorabot) | [telegram] <sungod> My bad, I thought you were asking me to do something on the containers :) (re @Group: could you add a formatted log, then?) | 15:22:31 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> not really, and it's all good | 15:22:53 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> I have added an issue (hyperledger/iroha#3145) to track this topic and will ask our developers, as well. | 15:27:59 |
sorabot (sorabot) | [telegram] <sungod> Really, this might not be a bug. I am new to this, so it might very will be a config issue from my end. | 15:29:10 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> This is also possible, although I haven't encountered it yet either | 15:29:52 |
sorabot (sorabot) | [telegram] <sungod> Perhaps I should use the mailing list to describe what I am doing? | 15:30:08 |
sorabot (sorabot) | [telegram] <hyperledgeriroha> adding comments to the issue may be helpful (re @sungod: Perhaps I should use the mailing list to describe what I am doing?) | 15:30:24 |