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

Query timeout on socketClient-Updates #26

Open
Dosihris opened this issue Jul 3, 2024 · 2 comments
Open

Query timeout on socketClient-Updates #26

Dosihris opened this issue Jul 3, 2024 · 2 comments

Comments

@Dosihris
Copy link

Dosihris commented Jul 3, 2024

Describe the bug
I want to use socketClient.SpotApi.SubscribeToTickerUpdatesAsync and socketClient.SpotApi.SubscribeToTradeUpdatesAsync but i get always a Query timeout (CancellationRequestedError)

To Reproduce

        string pPairName = "KASUSDT" // Also "ETHUSDT" results in the same error

        var subscriptiona = await socketClient.SpotApi.SubscribeToTickerUpdatesAsync(pPairName, async data =>
        {
            await HandleTick(pOrderId, data);
        });

        var subscriptionb = await socketClient.SpotApi.SubscribeToTradeUpdatesAsync(pPairName, async data =>
        {
            await HandleTick(pOrderId, data);
        });

Expected behavior
I would expect that subscriptiona and subscriptionb are successful subscribed.

In the same application, i am using the JKorf Subscription for Binance and Mexc and this is workingm so i think it could not be a firewall or something like this... (or is Bitget a different port that maybe is blocked?)

@PhilAlain
Copy link

I had a similar issue with balance subscription (issue # 24)
Try : socketClient.SpotApiV2.Subscribe...

@Dosihris
Copy link
Author

Dosihris commented Jul 3, 2024

I had a similar issue with balance subscription (issue # 24) Try : socketClient.SpotApiV2.Subscribe...

Indeed, that worked... Thank you... Unbelievable, that i haven't seen this V2 before...

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