Been getting TooManyConnections for the past few days. Everytime I try to run the app, it keeps crashing because too many connection. However, I tried to stop the app, stream.close() a few times and still haven't solved the issue.
Here is part of the error response rateLimit: { limit: 40000, remaining: 39995, reset: 1673846259 }. It has not reached the limit yet, however, the app just won't reconnect to the stream.
Been getting TooManyConnections for the past few days. Everytime I try to run the app, it keeps crashing because too many connection. However, I tried to stop the app, stream.close() a few times and still haven't solved the issue.
Here is the code
Here is part of the error response rateLimit: { limit: 40000, remaining: 39995, reset: 1673846259 }. It has not reached the limit yet, however, the app just won't reconnect to the stream.
How to solve this problem?