- Ably FAQs
- Ably error codes
- Connection Errors
-
Account billing and packages
-
General
-
Realtime API and client libraries
-
Troubleshooting
-
Channels
-
REST API and client libraries
-
Ably error codes
-
Account and app setup and configuration
-
Ably architecture, transports, and security
-
Performance and Redundancy
-
Push Notifications
-
Integrations
-
Migrating to Ably from an existing service
Error code: 40311 - operation requires tls connection
When you create an Ably app, the default setting requires TLS for connections.
This error occurs if you use a realtime SDK to connect to an Ably app with this default setting. It happens when you explicitly set tls client option to false while using token authentication.
NOTE: You will see a 40103 error instead if you use an API key for authentication