datadius / rust-news-trader

0 stars 0 forks source link

rust code panicked due to reset without closing handshake #1

Closed datadius closed 5 months ago

datadius commented 5 months ago

while reading from tree socket: Protocol(ResetWithoutClosingHandshake)

datadius commented 5 months ago

[2024-02-07T18:34:55Z INFO news_rust] Response = {"title":"Stratisplatform (@stratisplatform)","body":"Announcing the Stratis Auroria testnet Masternode farming campaign with 500,000 STRAX EVM to airdrop.\n\nJoin the airdrop now⬇️\n \nInfo: https://www.stratisplatform.com/2024/02/07/500k-strax-airdrop-masternode-dapp-quick-start-guide/\n\n#blockchain #airdrop #Stratis #crypto https://t.co/jb9Rpvf9Du","icon":"https://pbs.twimg.com/profile_images/1310625969443688448/KM-5FyXD.jpg","image":"https://pbs.twimg.com/media/GFwTPffXgAA6DQ4.jpg","requireInteraction":true,"type":"direct","link":"https://twitter.com/stratisplatform/status/1755299115955577149","info":{"twitterId":"734688391942524928","isReply":false,"isRetweet":false,"isQuote":false},"coin":"STRAX","actions":[{"action":"BINFUT_STRAXUSDT","title":"STRAXUSDT PERP","icon":"https://news.treeofalpha.com/static/images/binance_icon.png"},{"action":"BIN_STRAX_USDT","title":"STRAX/USDT","icon":"https://news.treeofalpha.com/static/images/binance_icon.png"},{"action":"BIN_STRAX_BTC","title":"STRAX/BTC","icon":"https://news.treeofalpha.com/static/images/binance_icon.png"},{"action":"BYBIT_STRAXUSDT","title":"STRAXUSDT PERP","icon":"https://news.treeofalpha.com/static/images/bybit.png"}],"suggestions":[{"found":["STRAX","Stratis"],"coin":"STRAX","symbols":[{"exchange":"binance-futures","symbol":"STRAXUSDT"},{"exchange":"binance","symbol":"STRAXUSDT"},{"exchange":"binance","symbol":"STRAXBTC"},{"exchange":"bybit-perps","symbol":"STRAXUSDT"}]}],"time":1707330896284,"_id":"1755299115955577149"} [2024-02-07T18:34:55Z INFO news_rust] Not a listingStratisplatform (@stratisplatform) thread 'main' panicked at src\main.rs:393:31: Error while reading from tree socket: Protocol(ResetWithoutClosingHandshake) note: run with RUST_BACKTRACE=1 environment variable to display a backtrace error: process didn't exit successfully: target\debug\news_rust.exe 200 200 5000 (exit code: 101)

datadius commented 5 months ago

https://github.com/datadius/rust-news-trader/commit/9a846bc4dd06b6d4e75a8b1fe2038b44684c4eeb