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

ping-pong error #22321

Closed
karambaq opened this issue Apr 29, 2024 · 7 comments · Fixed by #22585
Closed

ping-pong error #22321

karambaq opened this issue Apr 29, 2024 · 7 comments · Fixed by #22585
Assignees
Labels

Comments

@karambaq
Copy link

Operating System

MacOS

Programming Languages

Python

CCXT Version

latest

Description

ccxt.base.errors.RequestTimeout: Connection to wss://stream-testnet.bybit.com/v5/private timed out due to a ping-pong keepalive missing on time

Code

  

@Wihandebeer
Copy link

I also have the same issue, but with MEXC

@carlosmiei
Copy link
Collaborator

Hello @karambaq @Wihandebeer, what's the best way of reproducing this issue locally?

@samgermain
Copy link
Member

samgermain commented Apr 29, 2024

Operating System

MacOS

Programming Languages

Python

CCXT Version

latest

Description

ccxt.base.errors.RequestTimeout: Connection to wss://stream-testnet.bybit.com/v5/private timed out due to a ping-pong keepalive missing on time

Code

  

Please share the CCXT version instead of writing latest, there was a fix to this issue merged in #22262

with python you can get it using pip freeze | grep ccxt

@karambaq
Copy link
Author

@samgermain

I'm using version 4.3.19 and still facing this error.

@samgermain samgermain reopened this May 22, 2024
@samgermain
Copy link
Member

@samgermain

I'm using version 4.3.19 and still facing this error.

Can you provide some details? How long is your program running before you receive the error?

@samgermain
Copy link
Member

Operating System

MacOS

Programming Languages

Python

CCXT Version

latest

Description

ccxt.base.errors.RequestTimeout: Connection to wss://stream-testnet.bybit.com/v5/private timed out due to a ping-pong keepalive missing on time

Code

  

Sorry for the delay. This PR should fix this issue according to the tests I've been running, and I'll continue to monitor if the error re-occurs and make updates as necessary

@samgermain
Copy link
Member

I also have the same issue, but with MEXC

This PR fixes the issue according to the tests I have been running, I'll continue to monitor if the error re-occurs

carlosmiei pushed a commit that referenced this issue Jun 11, 2024
fix(bybit): pro - changed keepAlive value to 18000, fixes: #22321

apparently users are still receiving the error after the switch to 19000 #22321 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants