Pusher does not work on Godaddy server

Below are those points that I have studied so far.

In the Debug Console tab, you will see the following events when the page loads for the 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 the message 'Timestamp expired: specified timestamp (2017-03-04T20: 00: 28Z) not for 600 s time server (2017-03-04T19: 49: 50Z)

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

Finally, I started searching for this problem and found this link: Pusher on a route not sending an event to Laravel

Another person found the time zone as the main cause of this kind of problem.

I am still confused that if the time zone is also a problem in my case ... How can I fix this, I am using Cron Job using CPanel.

Any suggestion?

Please let me know if you need more information.

+5
source share
1 answer

I used the log driver as a queue, and there was no queue for this. Then I checked Queue Driver for synchronization and it worked. lol.

+2
source

Source: https://habr.com/ru/post/1265032/


All Articles