Error 1006 websocket issue

What can error 1006 mean when we work with websockets? I thought it was a matter of rate limits or maintaining the connection using ping pong, but even setting them to 0.6 from what is indicated in the documentation, I still encounter this error approximately 2-3 minutes after opening the connection and it closes it.

Hey,
An error code 1006 can have various potential causes. The root issue may depend on factors like the power and quality of your CPU, internet connection, operating system, network switches, and more.

I recommend reviewing the discussion at the following link, as it may provide helpful insights on identifying and resolving a 1006 error: Websocket closes unexpectedly with error 1006