vsys-host / shkeeper.io

SHKeeper is a self-hosted and open-source cryptocurrency gateway payment processor. It's integrate with popular CMS, any e-commerce, your own code or product
https://shkeeper.io/
GNU General Public License v3.0
279 stars 73 forks source link

Error: ETH Internal Server Error #20

Closed bulhiCzar closed 1 year ago

bulhiCzar commented 1 year ago

reason:

the error occurred when navigating to the page /payout/ETH-USDC and /payout/ETH-USDT for /payout/ETH there was no mistake

the synchronization process is also not displayed

kubectl -n shkeeper logs shkeeper-deployment-574c5c77b4-t8fm4  --tail 100
[2023-05-02 20:24:12,891] WARNING in tron_token: Response: {'msg': 'can not call a contract without ABI', 'status': 'error'} Error: 'balance'
[2023-05-02 20:24:12,902] WARNING in tron_token: Response: {'msg': 'can not call a contract without ABI', 'status': 'error'} Error: 'balance'
10.42.0.172 - - [02/May/2023:20:24:12 +0000] "GET /api/v1/USDT/status HTTP/1.1" 200 80 "http://10.0.20.90:5000/wallets" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0"
10.42.0.172 - - [02/May/2023:20:24:12 +0000] "GET /api/v1/USDC/status HTTP/1.1" 200 80 "http://10.0.20.90:5000/wallets" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0"
10.42.0.172 - - [02/May/2023:20:24:12 +0000] "GET /api/v1/TRX/status HTTP/1.1" 200 79 "http://10.0.20.90:5000/wallets" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0"
[2023-05-02 20:24:22,742] WARNING in ethereum: Error: Expecting value: line 1 column 1 (char 0)
[2023-05-02 20:24:22,743] WARNING in ethereum: Error: Expecting value: line 1 column 1 (char 0)
[2023-05-02 20:24:22,755] WARNING in ethereum: Error: Expecting value: line 1 column 1 (char 0)
10.42.0.172 - - [02/May/2023:20:24:22 +0000] "GET /api/v1/BTC/status HTTP/1.1" 200 44 "http://10.0.20.90:5000/wallets" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0"
10.42.0.172 - - [02/May/2023:20:24:22 +0000] "GET /api/v1/ETH/status HTTP/1.1" 200 45 "http://10.0.20.90:5000/wallets" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0"
10.42.0.172 - - [02/May/2023:20:24:22 +0000] "GET /api/v1/ETH-USDC/status HTTP/1.1" 200 50 "http://10.0.20.90:5000/wallets" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0"
10.42.0.172 - - [02/May/2023:20:24:22 +0000] "GET /api/v1/LTC/status HTTP/1.1" 200 44 "http://10.0.20.90:5000/wallets" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0"
10.42.0.172 - - [02/May/2023:20:24:22 +0000] "GET /api/v1/ETH-USDT/status HTTP/1.1" 200 50 "http://10.0.20.90:5000/wallets" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0"
10.42.0.172 - - [02/May/2023:20:24:22 +0000] "GET /api/v1/DOGE/status HTTP/1.1" 200 45 "http://10.0.20.90:5000/wallets" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0"
[2023-05-02 20:24:22,977] WARNING in tron_token: Response: {'msg': 'can not call a contract without ABI', 'status': 'error'} Error: 'balance'
[2023-05-02 20:24:22,980] WARNING in tron_token: Response: {'msg': 'can not call a contract without ABI', 'status': 'error'} Error: 'balance'
10.42.0.172 - - [02/May/2023:20:24:22 +0000] "GET /api/v1/TRX/status HTTP/1.1" 200 79 "http://10.0.20.90:5000/wallets" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0"
10.42.0.172 - - [02/May/2023:20:24:22 +0000] "GET /api/v1/USDC/status HTTP/1.1" 200 80 "http://10.0.20.90:5000/wallets" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0"
10.42.0.172 - - [02/May/2023:20:24:23 +0000] "GET /api/v1/USDT/status HTTP/1.1" 200 80 "http://10.0.20.90:5000/wallets" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0"
kubectl -n shkeeper logs ethereum-shkeeper-5bf77fc777-zsh5t  --tail 20
Defaulted container "app" out of: app, tasks, redis
10.42.0.190 - bitcoind-user [02/May/2023:20:35:34 +0000] "POST /ETH-USDT/status HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:35 +0000] "POST /ETH/balance HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:35 +0000] "POST /ETH/status HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:35 +0000] "POST /ETH-USDC/balance HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:35 +0000] "POST /ETH-USDT/balance HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:35 +0000] "POST /ETH-USDT/status HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:35 +0000] "POST /ETH-USDC/status HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:45 +0000] "POST /ETH/balance HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:45 +0000] "POST /ETH-USDT/balance HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:45 +0000] "POST /ETH-USDC/balance HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:45 +0000] "POST /ETH/status HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:45 +0000] "POST /ETH-USDT/status HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:45 +0000] "POST /ETH-USDC/status HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:55 +0000] "POST /ETH/balance HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:55 +0000] "POST /ETH-USDC/balance HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:55 +0000] "POST /ETH-USDT/balance HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:55 +0000] "POST /ETH-USDT/status HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:55 +0000] "POST /ETH/status HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:35:55 +0000] "POST /ETH-USDC/status HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
10.42.0.190 - bitcoind-user [02/May/2023:20:36:03 +0000] "POST /ETH-USDC/fee-deposit-account HTTP/1.1" 404 207 "-" "python-requests/2.28.1"
kubectl -n shkeeper logs ethereum-64f4b95675-86gnr --tail 20
Defaulted container "geth" out of: geth, prysm-beacon, nginx
INFO [05-02|20:37:02.025] Forkchoice requested sync to new head    number=17,175,499 hash=763e7f..02c140 finalized=17,175,412
INFO [05-02|20:37:07.984] Syncing beacon headers                   downloaded=3,867,648 left=13,307,666 eta=1h1m17.091s
INFO [05-02|20:37:12.916] Forkchoice requested sync to new head    number=17,175,500 hash=83efad..c622eb finalized=17,175,412
INFO [05-02|20:37:15.985] Syncing beacon headers                   downloaded=3,924,480 left=13,250,834 eta=1h0m35.382s
INFO [05-02|20:37:24.500] Syncing beacon headers                   downloaded=3,978,240 left=13,197,074 eta=59m59.950s
INFO [05-02|20:37:25.478] Forkchoice requested sync to new head    number=17,175,501 hash=1af223..23f173 finalized=17,175,412
INFO [05-02|20:37:32.571] Syncing beacon headers                   downloaded=4,034,560 left=13,140,754 eta=59m20.838s
INFO [05-02|20:37:36.531] Forkchoice requested sync to new head    number=17,175,502 hash=7ca93f..26a0e2 finalized=17,175,412
INFO [05-02|20:37:40.598] Syncing beacon headers                   downloaded=4,083,712 left=13,091,602 eta=58m50.553s
INFO [05-02|20:37:48.675] Syncing beacon headers                   downloaded=4,137,472 left=13,037,842 eta=58m15.820s
INFO [05-02|20:37:49.466] Forkchoice requested sync to new head    number=17,175,503 hash=ad5244..8a8a40 finalized=17,175,412
INFO [05-02|20:37:56.827] Syncing beacon headers                   downloaded=4,184,064 left=12,991,250 eta=57m49.850s
INFO [05-02|20:38:02.142] Forkchoice requested sync to new head    number=17,175,504 hash=528b3f..76713a finalized=17,175,412
INFO [05-02|20:38:05.009] Syncing beacon headers                   downloaded=4,227,072 left=12,948,242 eta=57m28.240s
INFO [05-02|20:38:12.669] Forkchoice requested sync to new head    number=17,175,505 hash=41ca7a..278562 finalized=17,175,412
INFO [05-02|20:38:13.208] Syncing beacon headers                   downloaded=4,277,760 left=12,897,554 eta=56m58.763s
WARN [05-02|20:38:20.535] Header request timed out, dropping peer  peer=d1c94e76 elapsed=7.500732493s
INFO [05-02|20:38:21.234] Syncing beacon headers                   downloaded=4,326,912 left=12,848,402 eta=56m30.879s
INFO [05-02|20:38:24.942] Forkchoice requested sync to new head    number=17,175,506 hash=21f99c..7910b0 finalized=17,175,412
INFO [05-02|20:38:29.400] Syncing beacon headers                   downloaded=4,370,432 left=12,804,882 eta=56m9.666s
eth_fullnode:
  enabled: true
  url: http://ethereum:8545
  mainnet: true
  nodeSelector: {}
  tolerations: []

ethereum_shkeeper:
  image: vsyshost/ethereum-shkeeper:1.0.9

eth:
  enabled: true
eth_usdt:
  enabled: true
eth_usdc:
  enabled: true
dmytro-samoylenko commented 1 year ago

Hello,

From fullnode log it looks like the fullnode is not in sync yet (downloaded=4,370,432 left=12,804,882 eta=56m9.666s). Please check when the fullnode will be in sync.