jup-ag / jupiter-swap-api

The jupiter swap api binary
89 stars 22 forks source link

Geyser connection seems to connect and reconnect #65

Open vscorpio opened 2 days ago

vscorpio commented 2 days ago
0|Jupiter API Self-hosted  | 2024-11-13T02:03:55.218420Z  INFO jupiter_core::europa_client: Received ping from europa server    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:55.218427Z  INFO jupiter_core::europa_client: Received 0 markets from subscribe updates: []    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:55.268601Z ERROR jupiter_core::geyser_client: stream closed    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:55.329515Z  INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:55.346465Z  INFO jupiter_core::geyser_client: subscribed to new accounts    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:55.346507Z  INFO jupiter_core::geyser_client: stream opened    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:55.594050Z ERROR jupiter_core::geyser_client: stream closed    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:55.770047Z  INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:55.786812Z  INFO jupiter_core::geyser_client: subscribed to new accounts    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:55.786858Z  INFO jupiter_core::geyser_client: stream opened    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:55.897128Z ERROR jupiter_core::geyser_client: stream closed    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:56.094311Z  INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:56.111323Z  INFO jupiter_core::geyser_client: subscribed to new accounts    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:56.111364Z  INFO jupiter_core::geyser_client: stream opened    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:56.344555Z ERROR jupiter_core::geyser_client: stream closed    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:56.398991Z  INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:56.416802Z  INFO jupiter_core::geyser_client: subscribed to new accounts    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:56.416883Z  INFO jupiter_core::geyser_client: stream opened    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:56.672069Z ERROR jupiter_core::geyser_client: stream closed    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:56.845564Z  INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:56.863058Z  INFO jupiter_core::geyser_client: subscribed to new accounts    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:56.863105Z  INFO jupiter_core::geyser_client: stream opened    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:56.953524Z ERROR jupiter_core::geyser_client: stream closed    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:57.174733Z  INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:57.191600Z  INFO jupiter_core::geyser_client: subscribed to new accounts    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:57.191640Z  INFO jupiter_core::geyser_client: stream opened    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:57.398074Z ERROR jupiter_core::geyser_client: stream closed    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:57.454381Z  INFO jupiter_core::geyser_client: Retry to connect to subscribe to the geyser server    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:57.471121Z  INFO jupiter_core::geyser_client: subscribed to new accounts    
0|Jupiter API Self-hosted  | 2024-11-13T02:03:57.471161Z  INFO jupiter_core::geyser_client: stream opened

Keep getting this in the logs all the time but the API seems to be working perfect. Is this a problem or what is to be done about this?

chiadofatigado commented 15 hours ago

This is probably an issue with your Geyser provider? Which provider are you using?

vscorpio commented 12 hours ago

This is probably an issue with your Geyser provider? Which provider are you using?

No provider. My own node.

This is my config.json

    "libpath": "/home/ubuntu/yellowstone-grpc-compiled/libyellowstone_grpc_geyser.so",
    "log": {
        "level": "info"
    },
    "grpc": {
        "address": "0.0.0.0:10000",
        "compression": {
            "accept": [
                "gzip"
            ],
            "send": [
                "gzip"
            ]
        },
        "max_decoding_message_size": "4_194_304",
        "snapshot_plugin_channel_capacity": null,
        "snapshot_client_channel_capacity": "50_000_000",
        "channel_capacity": "100_000",
        "unary_concurrency_limit": 100,
        "unary_disabled": false,
        "x_token": null,
        "filters": {
            "accounts": {
                "max": 1,
                "any": true,
                "account_max": 1844674407370955161,
                "account_reject": [
                    "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
                ],
                "owner_max": 1844674407370955161,
                "owner_reject": [
                    "11111111111111111111111111111111"
                ]
            },
            "slots": {
                "max": 1
            },
            "transactions": {
                "max": 1,
                "any": false,
                "account_include_max": 1844674407370955161,
                "account_include_reject": [
                    "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
                ],
                "account_exclude_max": 1844674407370955161,
                "account_required_max": 1844674407370955161
            },
            "transactions_status": {
                "max": 1,
                "any": false,
                "account_include_max": 1844674407370955161,
                "account_include_reject": [
                    "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
                ],
                "account_exclude_max": 1844674407370955161,
                "account_required_max": 1844674407370955161
            },
            "blocks": {
                "max": 1,
                "account_include_max": 1844674407370955161,
                "account_include_any": false,
                "account_include_reject": [
                    "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
                ],
                "include_transactions": true,
                "include_accounts": false,
                "include_entries": false
            },
            "blocks_meta": {
                "max": 1
            },
            "entry": {
                "max": 1
            }
        }
    },
    "prometheus": {
        "address": "0.0.0.0:8999"
    },
    "block_fail_action": "log"
}