TwilioDevEd / twiliochat-laravel

Laravel implementation of Twilio Chat
https://www.twilio.com/docs/tutorials/walkthrough/ip-chat/php/laravel
MIT License
22 stars 20 forks source link

Can't connect to twilsock #10

Open Kimmydoray opened 5 years ago

Kimmydoray commented 5 years ago

this is my error while connecting to username Uncaught (in promise) Error: Can't connect to twilsock at t (VM155 twilio-chat.min.js:204) at t (VM155 twilio-chat.min.js:204) at new t (VM155 twilio-chat.min.js:204) at e.value (VM155 twilio-chat.min.js:204) at t.value (VM155 twilio-chat.min.js:204) at VM155 twilio-chat.min.js:204 at t. (VM155 twilio-chat.min.js:204) at VM155 twilio-chat.min.js:168 at t.a.emit (VM155 twilio-chat.min.js:168) at t.value (VM155 twilio-chat.min.js:175)

cbackescom commented 4 years ago

can you verify your .env file contains all required values?

ronssij commented 4 years ago

I encountered same issue and I have those .env values

linearza commented 4 years ago

Running into this now too, I've been connecting fine and developing my app for a few days now, but all of a sudden im getting this. Any clues?

davworkx commented 4 years ago

in TwilioAccessTokenProvider.php

use this format env('TWILIO_AUTH_SID', 'ACbedxxxxxxx;') instead of config('services.twilio')['accountSid'] do that in all settings