Connection not open on send()

First I use WSS URL to connect to Binance smart chain, But sometimes goes wrong " Error: CONNECTION ERROR: Couldn’t connect to node on WS." .
And then I use a class to pack connection, when the connect broken, It will create new web3 instance to reconnect, But I get a new error “connection not open on send()” , I don’t know how to solve now …

what programming language are you using?
do you have a code example that you use?

you are trying bsc archive or bsc non archive?