Questions tagged [pusher]

Pusher is a hosted API for quickly, easily and securely adding scalable realtime functionality to web and mobile apps.

Pusher provides a suite of libraries for both client-side and server-side languages. The client libraries act as consumers of the interface. The following client libraries are available:

The client libraries use event based abstraction that makes it simple to bind UI interactions to events that are triggered from any client or server. They use WebSockets with a fallback to when used in the browser.

The server libraries act as publishers and handle authentication. The following server libraries are available:

1503 questions
30
votes
2 answers

Why do we need products like Pusher and Socket.io to establish a websocket connection?

I've been reading about websockets and SaaS like Pusher and Socket.io recently, while working on my Laravel chat practice application. What I don't understand is, why do we need external software to establish a websocket connection? Can't the server…
Simon Suh
  • 10,599
  • 25
  • 86
  • 110
30
votes
6 answers

http://localhost:8000/broadcasting/auth 404 (Not Found)

I am trying to make my app app connect to pusher on a private channel. But I am getting the following error: pusher.js?b3eb:593 POST http://localhost:8000/broadcasting/auth 404 (Not Found) What maybe the cause of the error and how to resolve…
YaSh Chaudhary
  • 2,605
  • 8
  • 37
  • 74
29
votes
12 answers

Laravel /broadcasting/auth Always Fails With 403 Error

I have recently delved into Laravel 5.3's Laravel-Echo and Pusher combination. I have successfully set up public channels and moved on to private ones. I am having trouble with Laravel returning a 403 from the /broadcasting/auth route, no matter…
LorienDarenya
  • 439
  • 1
  • 4
  • 8
19
votes
3 answers

Pusher Notification received by sender and working in Chrome only. Laravel 5.4 and JQuery

I am using Pusher API for sending notifications in Laravel 5.4 with JQuery. I found out that whenever I send notification from Firefox or Safari...it reaches chrome browser successfully but not vice versa. Another problem is that when I send…
Pankaj
  • 9,749
  • 32
  • 139
  • 283
18
votes
2 answers

Trigger an event to private channel in react app

I want to trigger an event to pusher private channel and my server side language is laravel I reviewed a lot of resources, but I did not find a comprehensive approach which covers both the server side and the front side Finally I got this…
Bakhtiar
  • 661
  • 5
  • 18
14
votes
2 answers

Affordable alternatives to Pusher

I made an expensive mistake of building an Rails application using the Pusher service, because we wanted to work around the complexities of HTTP push. We are sending less than 500 events per day (without contents), but as we have to make the…
user2525108
  • 239
  • 1
  • 3
  • 10
12
votes
3 answers

Laravel Pusher Websocket Not Working on HTTPS

I'm using Laravel 5.8, and we're using a web socket with PUSHER in our application. It's broadcast perfectly locally or when I am on HTTP mode. When I update my set up to HTTPS, Broadcasting is no longer works. Any hints on this ? anyone ? I've…
code-8
  • 54,650
  • 106
  • 352
  • 604
12
votes
3 answers

Django celery worker to send real-time status and result messages to front end

In a django app I'm running async tasks and would like to show progress, errors etc to the user. If there are errors, the user should be redirect to a page where additional input or some action is required to fix the problem. What is the best way to…
citynorman
  • 4,918
  • 3
  • 38
  • 39
12
votes
6 answers

Class 'Pusher' not found

When I install Pusher package, I got an error "Class 'Pusher' not found".
user8294451
12
votes
0 answers

WebSocket is closed before the connection is established

I am using Yii framework and OpenTok API integrated with PUSHER API. When i tired to create an instance of PUSHER event, the connection established. But few seconds later, the connection closes automatically and give error like :Pusher : Error :…
tnchalise
  • 1,573
  • 2
  • 18
  • 38
11
votes
1 answer

Are there any realtime pusher type services that use pure websocket for the server backend?

I am interested in developing a multiplayer game with Pharo Smalltalk as a server backend, and amber smalltalk + an html5 gaming library for the web client frontend. Pharo smalltalk has websocket support, and I have experimented with making a game…
zenchess
  • 411
  • 4
  • 11
10
votes
1 answer

YouTube API & Websockets Make sure two videos are in sync (Video 1 pauses when Video 2 buffers)

Background I am trying to integrate Videos into a slide show presentation app. I have disabled the controls on the students side and have a play/pause button wired up to the YouTube API so that when it is clicked an event is triggered through pusher…
Jethro Hazelhurst
  • 3,230
  • 7
  • 38
  • 80
10
votes
1 answer

Preloader wont ignore websocket - pace js

I added preloader to my website which runs with ruby on rails, it seems it works perfectly, but because of pusher websockets, preloader does not end, it waits all the time, i tried this at my footer,