Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the

31530: DNS Resolution Error


ERROR: 31530

error-31530 page anchor
VOICE
ERROR

This indicates that the Voice client could not connect to the server.

Possible causes

possible-causes page anchor
  • Your network is restrictive or uses a VPN, and ICE gathering cannot reach Twilio from all available interfaces.
  • Your firewall blocks the outgoing UDP traffic required for Twilio Voice media, or it does not allow the Twilio signaling and media destinations your SDK needs.
  • You are connecting from a restricted network without providing ICE servers from Twilio Network Traversal Service.
  • Enable enableIceGatheringOnAnyAddressPorts in ConnectOptions so ICE candidates are gathered from all available interfaces on Android or iOS.
  • Provide ICE servers from Twilio Network Traversal Service through ConnectOptions or AcceptOptions when your network requires TURN.
  • Allow outgoing TCP and UDP traffic to Twilio's signaling and media infrastructure, or use TURN over TCP or TLS if UDP is restricted.

Additional resources

additional-resources page anchor