freekmurze / freek-dev-comments

2 stars 0 forks source link

1228-introducing-laravel-websockets-an-easy-to-use-websocket-server-implemented-in-php #7

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

Introducing laravel-websockets, an easy to use WebSocket server implemented in PHP - Freek Van der Herten's blog on PHP, Laravel and JavaScript

Freek Van der Herten is a developer and partner at Spatie.

https://freek.dev/1228-introducing-laravel-websockets-an-easy-to-use-websocket-server-implemented-in-php

Mk2896 commented 4 years ago

Well can you elaborate about how to run websockets:serve command over shared hosting cause when i run this command on cpanel ssh access it runs till that page isn't closed.

senzlord commented 4 years ago

I got some error like: 1. app.js:42160 WebSocket connection to 'wss://127.0.0.1/app/myKeys?protocol=7&client=js&version=6.0.2&flash=false' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED 2. Access to XMLHttpRequest at 'https://sockjs.pusher.com/pusher/app/myKeys/328/0daq53lt/xhr_streaming?protocol=7&client=js&version=6.0.2&t=1589104626940&n=1' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. 3. sockjs.pusher.com/pusher/app/myKeys/328/0daq53lt/xhr_streaming?protocol=7&client=js&version=6.0.2&t=1589104626940&n=1:1 Failed to load resource: net::ERR_FAILED

abdulahadansari commented 4 years ago

Freek Van der Herten sir can you please tell us how to run websockets:serve command over shared hosting please......

EdgarSedov commented 3 years ago

Thank you so much for all of your work! Awesome lib, awesome post

diazsasak commented 3 years ago

Very useful package. Websocket is one of the important part on web development. Thank you guys

jamesbhatta commented 2 years ago

Man oh man! a lot of info in this blog. Thank you guys for such a effort and open source contributions.