Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pusher not working on Godaddy Server

Below are the points investigated by me so far.

In pusher Debug Console Tab, I can see the below events when page loads first time..

enter image description here

Below is the message in laravel.log file

[2017-03-04 20:00:29] local.ERROR: exception 'Illuminate\Broadcasting\BroadcastException' with message 'Timestamp expired: Given timestamp (2017-03-04T20:00:28Z) not within 600s of server time (2017-03-04T19:49:50Z)

When I send message from local it works perfectly and when I send message from godaddy server...it does not even appear in Debug console.

Finally I started to search on this issue and found this link: Pusher on route not sending event in Laravel

Other person found timezone as the root cause of such kind of issues.

I am still confused that if timezone is the issue in my case also...How could I fix it, I am using Cron Job using CPanel.

Any suggestion?

Please let me know if you need more info.

like image 392
Pankaj Avatar asked Oct 29 '22 11:10

Pankaj


1 Answers

I was using log as queue driver and there was no queue setup for that. Then I checked Queue Driver to sync and everything worked. lol.

like image 60
Pankaj Avatar answered Nov 09 '22 14:11

Pankaj