New Jan 17, 2026

Laravel reverb cant /isnt establishing connection to https

Libraries, Frameworks, etc. All from Newest questions tagged vue.js - Stack Overflow View Laravel reverb cant /isnt establishing connection to https on stackoverflow.com

I am working on a laravel + vuejs project where in dashboard all data from database is displayed and newly inserted rows/data will come through laravel broadcasting reverb and show them separately. but no matter what I do this message is popping up on Console. I have spent 6 hours with chatGPT, laravel boost, gemini GHcopilot nothing helps everything they have said I have customized everywhere (I think) where http or https matters or ws or wss matters.problem persist even if I turn off https.

app-CTK8W6NU.js:76 WebSocket connection to 'wss://docuvault.test:8080/app/ymstb1nglumzbxm9yjoq?protocol=7&client=js&version=8.4.0&flash=false' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

broadcasting.php:

'connections' => [

'reverb' => [ 'driver' => 'reverb', 'key' => env('REVERB_APP_KEY'), 'secret' => env('REVERB_APP_SECRET'), 'app_id' => env('REVERB_APP_ID'), 'options' => [ 'host' => env('REVERB_HOST'), 'port' => env('REVERB_PORT', 443), 'scheme' => env('REVERB_SCHEME', 'https'), 'useTLS' => env('REVERB_SCHEME', 'https') === 'https', ], 'client_options' => [ // Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html ],

],

reverb.php:

'apps' => [

'provider' => 'config',

'apps' => [ [ 'key' => env('REVERB_APP_KEY'), 'secret' => env('REVERB_APP_SECRET'), 'app_id' => env('REVERB_APP_ID'), 'options' => [ 'host' => env('REVERB_HOST'), 'port' => env('REVERB_PORT', 8080), 'scheme' => env('REVERB_SCHEME', 'https'), 'ssl' => [ 'local_cert' => base_path('docuvault.test.pem'), // certificate 'local_pk' => base_path('docuvault.test-key.pem'), // private key ], // 'useTLS' => env('REVERB_SCHEME', 'https') === 'https', 'useTLS' => true, ], 'allowed_origins' => ['*'], 'ping_interval' => env('REVERB_APP_PING_INTERVAL', 60), 'activity_timeout' => env('REVERB_APP_ACTIVITY_TIMEOUT', 30), 'max_connections' => env('REVERB_APP_MAX_CONNECTIONS'), 'max_message_size' => env('REVERB_APP_MAX_MESSAGE_SIZE', 10_000), ], ],

],

env:

APP_URL=https://docuvault.test
REVERB_APP_ID=214918
REVERB_APP_KEY=ymstb1nglumzbxm9yjoq
REVERB_APP_SECRET=qx9smxoms8smr5repkcf
REVERB_HOST=docuvault.test
REVERB_PORT=8080
REVERB_SCHEME=https

Herd when linking project: https✅

Generated certificates with mkcert✅

Scroll to top