Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting errors after a while #73

Open
AhsanRiyad opened this issue Dec 21, 2024 · 1 comment
Open

getting errors after a while #73

AhsanRiyad opened this issue Dec 21, 2024 · 1 comment

Comments

@AhsanRiyad
Copy link

AhsanRiyad commented Dec 21, 2024

2024-12-21T04:38:14.942160Z INFO jupiter_core::geyser_client: subscribed to new accounts
2024-12-21T04:38:14.950128Z INFO jupiter_core::geyser_client: stream opened
2024-12-21T04:38:14.950372Z ERROR jupiter_core::geyser_client: error while getting subscribe update: Status { code: Internal, message: "protocol error: received message with invalid compression flag: 101 (valid flags are 0 and 1) while receiving response with status: 521 ", source: None }
2024-12-21T04:38:14.950737Z ERROR jupiter_core::geyser_client: stream closed
2024-12-21T04:38:14.982496Z INFO jupiter_core::geyser_client: subscribed to new accounts
2024-12-21T04:38:14.982832Z INFO jupiter_core::geyser_client: stream opened
2024-12-21T04:38:14.982902Z ERROR jupiter_core::geyser_client: error while getting subscribe update: Status { code: Internal, message: "protocol error: received message with invalid compression flag: 101 (valid flags are 0 and 1) while receiving response with status: 521 ", source: None }
2024-12-21T04:38:14.985391Z ERROR jupiter_core::geyser_client: stream closed
2024-12-21T04:38:15.846593Z INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server
2024-12-21T04:38:15.883373Z INFO jupiter_core::router: Thread pool metrics - waiting: 0, active: 0, max wait: 0.00ms
2024-12-21T04:38:15.951915Z INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server
2024-12-21T04:38:15.983263Z INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server
2024-12-21T04:38:16.166396Z INFO jupiter_core::geyser_client: subscribed to new accounts
2024-12-21T04:38:16.166483Z INFO jupiter_core::geyser_client: stream opened
2024-12-21T04:38:16.166516Z ERROR jupiter_core::geyser_client: error while getting subscribe update: Status { code: Internal, message: "protocol error: received message with invalid compression flag: 101 (valid flags are 0 and 1) while receiving response with status: 521 ", source: None }
2024-12-21T04:38:16.166552Z ERROR jupiter_core::geyser_client: stream closed
2024-12-21T04:38:16.166596Z INFO jupiter_core::geyser_client: subscribed to new accounts
2024-12-21T04:38:16.166608Z INFO jupiter_core::geyser_client: stream opened
2024-12-21T04:38:16.166620Z ERROR jupiter_core::geyser_client: error while getting subscribe update: Status { code: Internal, message: "protocol error: received message with invalid compression flag: 101 (valid flags are 0 and 1) while receiving response with status: 521 ", source: None }
2024-12-21T04:38:16.166632Z ERROR jupiter_core::geyser_client: stream closed
2024-12-21T04:38:16.217236Z INFO jupiter_core::geyser_client: subscribed to new accounts
2024-12-21T04:38:16.217279Z INFO jupiter_core::geyser_client: stream opened
2024-12-21T04:38:16.217305Z ERROR jupiter_core::geyser_client: error while getting subscribe update: Status { code: Internal, message: "protocol error: received message with invalid compression flag: 101 (valid flags are 0 and 1) while receiving response with status: 521 ", source: None }
2024-12-21T04:38:16.226442Z ERROR jupiter_core::geyser_client: stream closed
2024-12-21T04:38:16.280575Z INFO jupiter_core::geyser_client: subscribed to new accounts
2024-12-21T04:38:16.281383Z INFO jupiter_core::geyser_client: stream opened
2024-12-21T04:38:16.282087Z ERROR jupiter_core::geyser_client: error while getting subscribe update: Status { code: Internal, message: "protocol error: received message with invalid compression flag: 101 (valid flags are 0 and 1) while receiving response with status: 521 ", source: None }
2024-12-21T04:38:16.282108Z ERROR jupiter_core::geyser_client: stream closed
2024-12-21T04:38:16.411095Z INFO jupiter_core::geyser_client: subscribed to new accounts
2024-12-21T04:38:16.417059Z INFO jupiter_core::geyser_client: stream opened
2024-12-21T04:38:16.417104Z ERROR jupiter_core::geyser_client: error while getting subscribe update: Status { code: Internal, message: "protocol error: received message with invalid compression flag: 101 (valid flags are 0 and 1) while receiving response with status: 521 ", source: None }
2024-12-21T04:38:16.417127Z ERROR jupiter_core::geyser_client: stream closed
2024-12-21T04:38:16.434128Z INFO jupiter_core::geyser_client: subscribed to new accounts
2024-12-21T04:38:16.434188Z INFO jupiter_core::geyser_client: stream opened
2024-12-21T04:38:16.434265Z ERROR jupiter_core::geyser_client: error while getting subscribe update: Status { code: Internal, message: "protocol error: received message with invalid compression flag: 101 (valid flags are 0 and 1) while receiving response with status: 521 ", source: None }
2024-12-21T04:38:16.434284Z ERROR jupiter_core::geyser_client: stream closed
2024-12-21T04:38:17.488117Z INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server
2024-12-21T04:38:17.529505Z INFO jupiter_core::router: Send 4 new accounts
2024-12-21T04:38:17.534004Z INFO jupiter_core::router: Added 2 markets (["DiG2gwmUXcCt2pjPJWyNYdRgbTPbJR3bDG36f8PqGWWD", "4t3aecxmbFxoxw68wxetRhie7JYvydNXKM1Vj8rfpn8p"]) in 3.51s
2024-12-21T04:38:17.535575Z INFO jupiter_core::europa_client: Received ping from europa server
2024-12-21T04:38:17.535628Z INFO jupiter_core::europa_client: Received 2 markets from subscribe updates: [AYieJyZLeWMLF7rRpFbnJ5o1uVcWNKrjacJ9M77oy8wt, EJnBPpkmYYcCuof9Uz91J5Z68aES2xtzec4C6G5HdVxh]
2024-12-21T04:38:17.535684Z INFO jupiter_core::router: Adding 2 new markets, 0 existing markets
2024-12-21T04:38:17.535694Z INFO jupiter_core::router: Add new markets addresses: [AYieJyZLeWMLF7rRpFbnJ5o1uVcWNKrjacJ9M77oy8wt, EJnBPpkmYYcCuof9Uz91J5Z68aES2xtzec4C6G5HdVxh]
2024-12-21T04:38:17.626107Z INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server
2024-12-21T04:38:17.645242Z INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server
2024-12-21T04:38:17.649514Z INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server
2024-12-21T04:38:17.654232Z INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server
2024-12-21T04:38:17.658192Z INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server
2024-12-21T04:38:17.676177Z INFO jupiter_core::geyser_client: subscribed to new accounts
2024-12-21T04:38:17.678491Z INFO jupiter_core::geyser_client: stream opened
2024-12-21T04:38:17.678524Z ERROR jupiter_core::geyser_client: error while getting subscribe update: Status { code: Internal, message: "protocol error: received message with invalid compression flag: 101 (valid flags are 0 and 1) while receiving response with status: 521 ", source: None }
2024-12-21T04:38:17.678695Z ERROR jupiter_core::geyser_client: stream closed
2024-12-21T04:38:18.090238Z INFO jupiter_core::geyser_client: subscribed to new accounts
2024-12-21T04:38:18.093253Z INFO jupiter_core::geyser_client: stream opened
2024-12-21T04:38:18.093678Z ERROR jupiter_core::geyser_client: error while getting subscribe update: Status { code: Internal, message: "protocol error: received message with invalid compression flag: 101 (valid flags are 0 and 1) while receiving response with status: 521 ", source: None }
2024-12-21T04:38:18.094191Z ERROR jupiter_core::geyser_client: stream closed
2024-12-21T04:38:18.100571Z INFO jupiter_core::update_from_geyser: Fetched 4 new accounts, first slot Some(308811057)
Killed
root@srv601625:/Documents/Projects/jupiter# cd /root/Documents/Projects/jupiter
root@srv601625:
/Documents/Projects/jupiter# curl "https://cache.jup.ag/markets?v=3" -o market-cache.json
jq 'map(select(.owner != "srmqPvymJeFKQ4zGQed1GFppgkRHL9kaELCbyksJtPX"))' market-cache.json > market-cache-no-openbook.json
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 20 63.4M 20 12.7M 0 0 21.0M 0 0:00:03 73 63.4M 73 46.7M 0 0 29.1M 0 0:00:02 100 63.4M 100 63.4M 0 0 30.0M 0 0:00:02 0:00:02 --:--:-- 30.0M
root@srv601625:~/Documents/Projects/jupiter# RUST_LOG=info ./jupiter-swap-api --rpc-url https://roughhouses-evaporite-shcasfaoce-dedicated.helius-rpc.com?api-key=xxx
2024-12-21T04:49:51.897462Z INFO jupiter_swap_api: Version: 6.0.35 26a17bb1eef0aae2e0ce6acd9ee5e5730622e5db
2024-12-21T04:49:51.901145Z INFO jupiter_swap_api: Loading Jupiter router...
2024-12-21T04:49:51.901167Z WARN jupiter_swap_api: Running in poll mode, this mode is not recommended
2024-12-21T04:49:51.901548Z INFO jupiter_swap_api: Using market cache kind: Europa { url: "https://europa2.jup.ag" }
2024-12-21T04:49:51.902049Z INFO jupiter_swap_api: Running router with 1 threads in the CPU bound work thread pool
2024-12-21T04:49:52.484392Z INFO jupiter_core::europa_client: Fetching markets from europa server...
2024-12-21T04:50:01.240241Z INFO jupiter_core::europa_client: Fetched 717498 markets from europa server in 8.755806639s
2024-12-21T04:55:33.825928Z INFO jupiter_core::amms::loader: markets len(): 717484
2024-12-21T04:55:36.379746Z INFO jupiter_core::amms::loader: Found 861 not supported markets for owners: {11111111111111111111111111111111}
2024-12-21T04:55:36.462402Z WARN jupiter_core::amms::loader: Stakedex AMMs where not found in the cache, 861 out of 6102
2024-12-21T04:55:36.462464Z INFO jupiter_core::amms::loader: New dexes are disabled, [] are not loaded
2024-12-21T04:55:36.464795Z INFO jupiter_core::amms::loader: updating amms with account_keys.len(): 139
2024-12-21T04:55:37.474665Z INFO jupiter_core::amms::loader: Loaded 717484 amms from market cache
2024-12-21T04:55:38.356070Z INFO jupiter_core::amms::loader: AMMS per label loaded: {"Raydium": 88626, "Bonkswap": 8, "Phoenix": 41, "Perps": 1, "OpenBook V2": 36, "Orca V2": 70, "Saros": 9, "Fox": 1, "Dexlab": 41, "Stabble Stable Swap": 23, "Whirlpool": 2961, "Aldrin": 3, "Token Swap": 5, "Raydium CLMM": 4811, "Aldrin V2": 11, "Meteora": 4714, "Mercurial": 13, "Lifinity V1": 2, "Moonshot": 11626, "Penguin": 3, "FluxBeam": 26487, "SolFi": 18, "Openbook": 8, "Oasis": 5, "Helium Network": 2, "Meteora DLMM": 11380, "Saber": 62, "Cropper Legacy": 8, "Lifinity V2": 27, "Sanctum": 861, "Crema": 7, "Orca V1": 8, "1DEX": 7, "Invariant": 43, "Stabble Weighted Swap": 17, "StepN": 3, "Solayer": 18, "Guacswap": 4, "Sanctum Infinity": 1, "Raydium CP": 7527, "Pump.fun": 557947, "Saber (Decimals)": 17, "Cropper": 22}
2024-12-21T04:55:39.447620Z INFO jupiter_core::address_lookup_table_cache: Loading AddressLookupTableCache...
2024-12-21T04:55:39.447860Z INFO jupiter_core::address_lookup_table_cache: Fetching 18104 address lookup tables
thread 'main' panicked at jupiter-swap-api/src/main.rs:885:70:
called Result::unwrap() on an Err value: request or response body error: operation timed out

Caused by:
0: request or response body error: operation timed out
1: operation timed out
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Aborted (core dumped)

@chiadofatigado
Copy link

You may want to edit out your helius API key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants