gpt4 book ai didi

laravel - Pusher 在 Godaddy 服务器上不工作

转载 作者:行者123 更新时间:2023-12-04 21:07:17 26 4
gpt4 key购买 nike

以下是我目前调查的要点。

在推送器调试控制台选项卡中,我可以在第一次加载页面时看到以下事件..

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

其他人发现时区是此类问题的根本原因。

我仍然很困惑,如果时区也是我的问题......我该如何解决它,我正在使用 CPanel 使用 Cron Job。

有什么建议吗?

如果您需要更多信息,请告诉我。

最佳答案

我使用日志作为队列驱动程序,但没有为此设置队列。然后我检查了队列驱动程序进行同步,一切正常。哈哈。

关于laravel - Pusher 在 Godaddy 服务器上不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42600653/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com