Pusher 在 Godaddy 服务器上不工作
Pusher not working on Godaddy Server
以下是我目前调查的要点。
在 pusher Debug Console 选项卡中,我可以在第一次加载页面时看到以下事件..
下面是 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 服务器发送消息时...它甚至没有出现在调试控制台中。
最后我开始搜索这个问题并找到这个link:
其他人发现时区是此类问题的根本原因。
我仍然感到困惑,如果时区也是我的问题...我该如何解决它,我正在使用 CPanel 使用 Cron Job。
有什么建议吗?
如果您需要更多信息,请告诉我。
我使用日志作为队列驱动程序,但没有为此设置队列。然后我检查了 Queue Driver to sync 并且一切正常。哈哈
以下是我目前调查的要点。
在 pusher Debug Console 选项卡中,我可以在第一次加载页面时看到以下事件..
下面是 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 服务器发送消息时...它甚至没有出现在调试控制台中。
最后我开始搜索这个问题并找到这个link:
其他人发现时区是此类问题的根本原因。
我仍然感到困惑,如果时区也是我的问题...我该如何解决它,我正在使用 CPanel 使用 Cron Job。
有什么建议吗?
如果您需要更多信息,请告诉我。
我使用日志作为队列驱动程序,但没有为此设置队列。然后我检查了 Queue Driver to sync 并且一切正常。哈哈