why pusher works on localhost but not on a live website

后端 未结 1 1353
旧巷少年郎
旧巷少年郎 2021-01-15 10:01

I\'ve used Pusher API to put a simple push notification in place. I\'ve tested everything and Pusher works on my localhost. When I put the same

1条回答
  •  囚心锁ツ
    2021-01-15 10:57

    server's clock was drifted considerably so I used ntpdate ntp.ubuntu.com on terminal and corrected the time. To prevent future problems I put that in the crontab.

    Phew...

    0 讨论(0)
提交回复
热议问题