godwokenrises / godwoken-kicker

one line command to start godwoken-polyjuice chain.
19 stars 23 forks source link

deposit ckb to default account got name resolution error, and it repeatedly retrying without any self-stop. #228

Open BourneNeo opened 2 years ago

BourneNeo commented 2 years ago

environment: Linux DESKTOP-Q1QBGQQ 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

prerequisites:

  1. Docker version 20.10.12, build e91ed57
  2. docker-compose version 1.29.2, build 5becea4c (3. local ckb node not running)

details: $ ./kicker deposit 0x618cc3C660cEBFDbA8570CA739b1744AE3E2553a 1000 Creating docker_godwoken_run ... done [2022-04-18T22:45:18Z INFO gw_tools::deposit_ckb] eth address: 0x618cc3c660cebfdba8570ca739b1744ae3e2553a [2022-04-18T22:45:18Z INFO gw_tools::deposit_ckb] layer2 script hash: 0xef2804ee2a65ddb5243b50fe792f2dae08fb1e91a74017b9999564198a561bc8 [2022-04-18T22:45:28Z ERROR gw_tools] Deposit CKB error: error sending request for url (http://ckb:8114/): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution ERROR: 255 Retry Creating docker_godwoken_run ... done [2022-04-18T22:45:37Z INFO gw_tools::deposit_ckb] eth address: 0x618cc3c660cebfdba8570ca739b1744ae3e2553a [2022-04-18T22:45:37Z INFO gw_tools::deposit_ckb] layer2 script hash: 0xef2804ee2a65ddb5243b50fe792f2dae08fb1e91a74017b9999564198a561bc8 [2022-04-18T22:45:47Z ERROR gw_tools] Deposit CKB error: error sending request for url (http://ckb:8114/): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution ERROR: 255 Retry Creating docker_godwoken_run ... done [2022-04-18T22:45:56Z INFO gw_tools::deposit_ckb] eth address: 0x618cc3c660cebfdba8570ca739b1744ae3e2553a [2022-04-18T22:45:56Z INFO gw_tools::deposit_ckb] layer2 script hash: 0xef2804ee2a65ddb5243b50fe792f2dae08fb1e91a74017b9999564198a561bc8 [2022-04-18T22:46:06Z ERROR gw_tools] Deposit CKB error: error sending request for url (http://ckb:8114/): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution ERROR: 255 Retry Creating docker_godwoken_run ... done [2022-04-18T22:46:15Z INFO gw_tools::deposit_ckb] eth address: 0x618cc3c660cebfdba8570ca739b1744ae3e2553a [2022-04-18T22:46:15Z INFO gw_tools::deposit_ckb] layer2 script hash: 0xef2804ee2a65ddb5243b50fe792f2dae08fb1e91a74017b9999564198a561bc8 [2022-04-18T22:46:25Z ERROR gw_tools] Deposit CKB error: error sending request for url (http://ckb:8114/): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution ERROR: 255 Retry Creating docker_godwoken_run ... done ... ... kick.log

Flouse commented 2 years ago

@BourneNeo

  1. Would you please check the status of the services: ./kicker ps
  2. Would you please attach the kicker logs? This would help us find the root cause. You can do so by typing ./kicker logs

see: https://github.com/RetricSu/godwoken-kicker/blob/compatibility-changes/README.md


Have you tried it in a clean workspace?

./kicker stop ;
sudo ./kicker clean ;
./kicker start
keroro520 commented 2 years ago

I created a PR to try to fix it:

BourneNeo commented 2 years ago

@BourneNeo

  1. Would you please check the status of the services: ./kicker ps
  2. Would you please attach the kicker logs? This would help us find the root cause. You can do so by typing ./kicker logs

see: https://github.com/RetricSu/godwoken-kicker/blob/compatibility-changes/README.md

ok, i'll have a try and attach the log

Have you tried it in a clean workspace?

./kicker stop ;
sudo ./kicker clean ;
./kicker start

later, i'll try in a clean env