Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Unable to get demo working... #2

Closed
scramatte opened this issue Dec 9, 2018 · 1 comment
Closed

Unable to get demo working... #2

scramatte opened this issue Dec 9, 2018 · 1 comment

Comments

@scramatte
Copy link

scramatte commented Dec 9, 2018

Hi

Following documentation I've setup server to listen 127.0.0.1:6001 and proxy it with nginx to be able to use SSL. I've setup supervisord too.

Unfortunatly I'm unable to get demo working. Neither Chat APP or Websockets Dashboard are working. I don't know how to change path to the wss in the fronted.

My browser returns me "Unable to connect to websocket ..."

NOTE: I'm running Nginx + PHP 7.3 over Debian Jessie.

Regards

@anabeto93
Copy link

window.Echo = new Echo({
broadcaster: 'pusher',
key: process.env.MIX_PUSHER_APP_KEY,
wsHost: window.location.hostname,
wsPort: 6001,
//wssPort: 6001,
disableStats: true,
encrypted: true
});

Edit your bootstrap.js file found in resources/assets/js. You will have to install your node_modules packages in order to recompile.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants