51111: Twilsock: Service instance limit reached
ERROR
Twilsock rejected the connection because your account reached the maximum number of allowed service instances. This usually means your application is creating more concurrent client connections or service instances than your current account limits allow.
- Your application is opening too many concurrent Twilsock connections for the same account.
- Clients are reconnecting repeatedly because of a network issue, token refresh issue, or application logic that creates duplicate connections.
- Your application is creating new SDK client instances instead of reusing existing ones.
- Expected traffic increased beyond your current account limits.
- Review your application logic and make sure each client reuses an existing connection where possible instead of creating additional SDK client instances.
- Check for reconnect loops, duplicate initialization, or token handling issues that cause clients to open repeated Twilsock connections.
- Reduce unnecessary concurrent connections across your applications and environments.
- If the connection volume is expected and valid for your use case, contact Support to discuss increasing your account limits.
- Programmable Chat documentation
- Sync documentation
- [Help Center]https://help.twilio.com/hc/en-us