i am using Twilio with react and when i create the client using this code
this.chatClient = new Chat(this.state.token);
but i keep geting this error
TransportUnavailableError: Can't connect to twilsock
at Upstream.send (http://localhost:3000/static/js/1.chunk.js:96516:31)
at TwilsockClient.post (http://localhost:3000/static/js/1.chunk.js:94626:28)
at http://localhost:3000/static/js/1.chunk.js:88943:33
at Retrier.<anonymous> (http://localhost:3000/static/js/1.chunk.js:88882:11)
at Retrier.push../node_modules/events/events.js.EventEmitter.emit (http://localhost:3000/static/js/1.chunk.js:25082:17)
Thanks in advance
The issues were between my device and Twilio. so I run the test bellow to find out what was the issue for me it was a network/firewall issue. fixed that and now it is working
https://networktest.twilio.com
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With