Tuesday, March 7, 2017

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.



via Helper

Advertisement