KomodoPlatform / komodo-wallet

Komodo Wallet
https://app.komodoplatform.com
239 stars 206 forks source link

[BUG]: charts are missing #2377

Closed cipig closed 1 day ago

cipig commented 1 year ago

Since some time the charts from livecoinwatch are missing. App only shows image

There are no entries in the logs regarding this. I can open https://www.livecoinwatch.com/static/lcw-widget.js in browser. Playing with https://www.livecoinwatch.com/widgets works too, it shows me the charts i request. So my IP is not blocked by them. Also removed all kinds of caches i could find, but no change.

smk762 commented 8 months ago

I've added some extra logs to this in next release, as it only appears to affect some users. hopefully extra logs will offer some insights.

gitgit3 commented 1 month ago

This seems related, I have a constantly loading chart which never displays anything. I am using komodo-wallet-0.7.2-beta-ubuntu.AppImage

It seems I can do nothing to get it to display. Here's some log output, no idea whether it is useful:

02 11:16:37, mm_metrics:151] >>>>>>>>>> DEX metrics <<<<<<<<<
· 2024-09-02 12:16:37 +0100 [coin=VOTE2024 client=electrum] rpc_client.request.count=510 rpc_client.response.count=510 rpc_client.traffic.in=27382 rpc_client.traffic.out=51006
· 2024-09-02 12:16:37 +0100 [coin=LTC-segwit client=electrum] rpc_client.request.count=521 rpc_client.response.count=539 rpc_client.traffic.in=32939 rpc_client.traffic.out=52310
· 2024-09-02 12:16:37 +0100 [coin=BTC-segwit client=electrum] rpc_client.request.count=534 rpc_client.response.count=534 rpc_client.traffic.in=28654 rpc_client.traffic.out=54150
· 2024-09-02 12:16:37 +0100 [coin=DGB-segwit client=electrum] rpc_client.request.count=510 rpc_client.response.count=510 rpc_client.traffic.in=27382 rpc_client.traffic.out=51006
· 2024-09-02 12:16:37 +0100 [coin=KMD client=electrum] rpc_client.request.count=524 rpc_client.response.count=543 rpc_client.traffic.in=104415 rpc_client.traffic.out=52708
· 2024-09-02 12:16:37 +0100 [coin=VOTE2024 client=electrum method=blockchain.scripthash.get_history] tx.history.request.count=1 tx.history.response.count=1 tx.history.response.total_length=0
· 2024-09-02 12:16:37 +0100 [] orderbook.len=58.0 orderbook.memory_db=297800408128.0 p2p.connected_peers.count=2.0 p2p.connected_relays.len=2.0 p2p.received_messages.count=75.0 p2p.received_messages.period_in_secs=60.0 p2p.relay_mesh.len=2.0
· 2024-09-02 12:16:37 +0100 [coin=vARRR client=electrum method=blockchain.scripthash.get_history] tx.history.request.count=1 tx.history.response.count=1 tx.history.response.total_length=0
· 2024-09-02 12:16:37 +0100 [coin=ARRR client=electrum] rpc_client.request.count=403 rpc_client.response.count=438 rpc_client.traffic.in=424368 rpc_client.traffic.out=27604
· 2024-09-02 12:16:37 +0100 [coin=ARRR-BEP20 client=ethereum] rpc_client.request.count=110 rpc_client.response.count=110 rpc_client.traffic.in=11392 rpc_client.traffic.out=27266
· 2024-09-02 12:16:37 +0100 [coin=LTC-segwit client=electrum method=blockchain.scripthash.get_history] tx.history.request.count=1 tx.history.response.count=1 tx.history.response.total_length=0
· 2024-09-02 12:16:37 +0100 [coin=KMD client=electrum method=blockchain.scripthash.get_history] tx.history.request.count=1 tx.history.response.count=1 tx.history.response.total_length=0
· 2024-09-02 12:16:37 +0100 [coin=DGB-segwit client=electrum method=blockchain.scripthash.get_history] tx.history.request.count=1 tx.history.response.count=1 tx.history.response.total_length=0
· 2024-09-02 12:16:37 +0100 [coin=BTC-segwit client=electrum method=blockchain.scripthash.get_history] tx.history.request.count=1 tx.history.response.count=1 tx.history.response.total_length=0
· 2024-09-02 12:16:37 +0100 [peer=12D3KooWHKkHiNhZtKceQehHhPqwU5W1jXpoVBgS1qst899GjvTm] peer.outgoing_request.timing="count=3 min=0.066900395 max=0.095808358"
· 2024-09-02 12:16:37 +0100 [coin=ZEC client=electrum method=blockchain.scripthash.get_history] tx.history.request.count=1 tx.history.response.count=1 tx.history.response.total_length=0
· 2024-09-02 12:16:37 +0100 [coin=BNB client=ethereum] rpc_client.request.count=118 rpc_client.response.count=118 rpc_client.traffic.in=5336 rpc_client.traffic.out=13662
· 2024-09-02 12:16:37 +0100 [coin=ZEC client=electrum] rpc_client.request.count=510 rpc_client.response.count=510 rpc_client.traffic.in=27382 rpc_client.traffic.out=51006
· 2024-09-02 12:16:37 +0100 [coin=vARRR client=electrum] rpc_client.request.count=510 rpc_client.response.count=510 rpc_client.traffic.in=27382 rpc_client.traffic.out=51006
02 11:16:57, mm2_p2p::behaviours::peers_exchange:312] INFO Try to request 20 peers from peer 12D3KooWSmizY35qrfwX8qsuo8H8qrrvDjXBTMRBfeYsRQoybHaA
gitgit3 commented 1 month ago

Here's another log file, seems more useful possibly

[12:16:52] [info] [komodo.prices.cpp:89] [5616]: url: https://cache.defi-stats.komodo.earth/api/v3/prices/tickers_v2.json?expire_at=21600
[12:16:59] [info] [app.cpp:827] [5616]: Application active
[12:17:05] [info] [app.cpp:824] [5616]: Application inactive
[12:17:37] [info] [komodo.prices.cpp:89] [5616]: url: https://cache.defi-stats.komodo.earth/api/v3/prices/tickers_v2.json?expire_at=21600
[12:17:52] [info] [internet.checker.service.cpp:172] [5616]: mm2 is alive, checking if we are able to fetch mm2 version
[12:17:52] [info] [internet.checker.service.cpp:129] [5636]: Connectivity is true for the endpoint: http://127.0.0.1:7762
[12:18:22] [info] [komodo.prices.cpp:89] [5616]: url: https://cache.defi-stats.komodo.earth/api/v3/prices/tickers_v2.json?expire_at=21600
[12:18:52] [info] [internet.checker.service.cpp:172] [5616]: mm2 is alive, checking if we are able to fetch mm2 version
[12:18:52] [info] [internet.checker.service.cpp:129] [5636]: Connectivity is true for the endpoint: http://127.0.0.1:7762
[12:19:07] [info] [komodo.prices.cpp:89] [5616]: url: https://cache.defi-stats.komodo.earth/api/v3/prices/tickers_v2.json?expire_at=21600
[12:19:52] [info] [internet.checker.service.cpp:172] [5616]: mm2 is alive, checking if we are able to fetch mm2 version
[12:19:52] [info] [internet.checker.service.cpp:129] [5650]: Connectivity is true for the endpoint: http://127.0.0.1:7762
[12:19:52] [info] [komodo.prices.cpp:89] [5616]: url: https://cache.defi-stats.komodo.earth/api/v3/prices/tickers_v2.json?expire_at=21600
[12:20:37] [info] [komodo.prices.cpp:89] [5616]: url: https://cache.defi-stats.komodo.earth/api/v3/prices/tickers_v2.json?expire_at=21600
[12:20:52] [info] [global.provider.cpp:135] [5616]: [global_price_service::update()] - 5min elapsed, updating providers
[12:20:52] [info] [global.provider.cpp:380] [5616]: Forcing update providers
[12:20:52] [info] [defi.stats.cpp:89] [5616]: [global_defi_stats_service::update()] - 5min elapsed, updating ticker stats
[12:20:52] [info] [defi.stats.cpp:56] [5616]: defi_stats req: GET api/v3/pairs/volumes_24hr HTTP/1.1
Cryptisch commented 4 weeks ago

This issue seems to be duplicated of https://github.com/KomodoPlatform/komodo-wallet-desktop/issues/2266

BlackcoinDev commented 5 days ago

the following warning can been seen at startup

QML debugging is enabled. Only use this in a safe environment.
[2024-10-19 11:10:47.174] [warning] [main.prerequisites.hpp:93] QSslSocket: cannot resolve EVP_PKEY_base_id
[2024-10-19 11:10:47.175] [warning] [main.prerequisites.hpp:93] QSslSocket: cannot resolve SSL_get_peer_certificate

When using wireshark, I don´t see any requests being send to the livecoinwatch website, but via the browser it works.

when checking apport.log I see that the QtWebEngineProcess crashes, everytime I access the charts.

ERROR: apport (pid 26806) Sat Oct 19 11:54:13 2024: executable: /home/blackcoindev/AtomicDEX/komodo-wallet-linux-e84b285/AntaraAtomicDexAppDir/usr/libexec/QtWebEngineProcess (command line "/home/blackcoindev/AtomicDEX/komodo-wallet-linux-e84b285/AntaraAtomicDexAppDir/usr/libexec/QtWebEngineProcess\ --type=renderer\ --disable-speech-api\ --enable-threaded-compositing\ --enable-features=AllowContentInitiatedDataUrlNavigations,TracingServiceInProcess\ --disable-features=BackgroundFetch,ConsolidatedMovementXY,DnsOverHttpsUpgrade,FontSrcLocalMatching,FormControlsRefresh,MojoVideoCapture,PictureInPicture,SmsReceiver,UseSkiaRenderer,WebPayments,WebUSB\ --lang=en-US\ --webengine-schemes=qrc:sLV\ --num-raster-threads=4\ --enable-main-frame-before-activation\ --renderer-client-id=4\ --shared-files")
ERROR: apport (pid 26806) Sat Oct 19 11:54:13 2024: executable does not belong to a package, ignoring

I hope this can help in the troubleshooting process

Running Ubuntu 22.04 with RTX2060

BlackcoinDev commented 5 days ago

I did some deeper digging. If I am not mistake openssl 1.1 is needed. Looking at the gh-action logs, I see that libssl3 is used. this shared lib is also visible when mounting the .appimage.

2024-10-19T12:57:57.7640414Z -- linuxdeployqt path is -> /home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/ci_tools_atomic_dex/linux_misc/linuxdeployqt-7-x86_64.AppImage
2024-10-19T12:57:57.7641320Z -- Copying required libraries for QtWebEngine
2024-10-19T12:57:57.7642597Z -- copying /usr/lib/x86_64-linux-gnu/libsmime3.so to /home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/ci_tools_atomic_dex/build-Debug/bin/AntaraAtomicDexAppDir/usr/lib
**2024-10-19T12:57:57.7644369Z -- copying /usr/lib/x86_64-linux-gnu/libssl3.so to /home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/ci_tools_atomic_dex/build-Debug/bin/AntaraAtomicDexAppDir/usr/lib**
2024-10-19T12:57:57.7908692Z -- copying /usr/lib/x86_64-linux-gnu/nss/libfreebl3.chk to /home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/ci_tools_atomic_dex/build-Debug/bin/AntaraAtomicDexAppDir/usr/lib
2024-10-19T12:57:57.8068175Z -- copying /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so to /home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/ci_tools_atomic_dex/build-Debug/bin/AntaraAtomicDexAppDir/usr/lib
2024-10-19T12:57:57.8073811Z -- copying /usr/lib/x86_64-linux-gnu/nss/libnssckbi.so to /home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/ci_tools_atomic_dex/build-Debug/bin/AntaraAtomicDexAppDir/usr/lib
2024-10-19T12:57:57.8389854Z -- copying /usr/lib/x86_64-linux-gnu/nss/libnssdbm3.chk to /home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/ci_tools_atomic_dex/build-Debug/bin/AntaraAtomicDexAppDir/usr/lib
2024-10-19T12:57:57.8502423Z -- copying /usr/lib/x86_64-linux-gnu/nss/libnssdbm3.so to /home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/ci_tools_atomic_dex/build-Debug/bin/AntaraAtomicDexAppDir/usr/lib
2024-10-19T12:57:57.8706365Z -- copying /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.chk to /home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/ci_tools_atomic_dex/build-Debug/bin/AntaraAtomicDexAppDir/usr/lib
2024-10-19T12:57:57.8710100Z -- copying /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so to /home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/ci_tools_atomic_dex/build-Debug/bin/AntaraAtomicDexAppDir/usr/lib

I just don´t understand at what point openssl3 is compiled/used, because all compiling I see, is done with either 1.1.1h or 1.1.1s.