2017-03-04 71 views
5

以下是我迄今爲止所調查的幾點。推送器不能在Godaddy服務器上工作

在推調試控制檯選項卡上,我可以看到下面的事件時,頁面加載第一次..

enter image description here

下面是laravel.log文件的消息

[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)

當我從本地發送消息,它完美地工作,當我從godaddy服務器發送消息時...甚至不會出現在調試控制檯中。

最後我開始在這個問題上搜索,發現此鏈接:Pusher on route not sending event in Laravel

其他人發現時區的這樣那樣的問題的根本原因。

我仍然困惑,如果時區是我的情況下的問題...我怎麼能解決它,我使用Cron作業使用CPanel。

有什麼建議嗎?

如果您需要更多信息,請讓我知道。

回答

2

我正在使用日誌作爲隊列驅動程序,並沒有爲此設置隊列。然後我檢查隊列驅動程序進行同步,並一切正常。大聲笑。

相關問題