neoighodaro/pusher-python-realtime-dashboard

Dashboard doesn't update

Closed this issue · 1 comments

Hi, I've followed all the directions and I don't see any errors, but the "tutorial dashboard" located at http://127.0.0.1:5000/dashboard isn't updating at all. For reference, I'm using Ubuntu 18.04LTS, anaconda distribution of python.

Here's more detail:

  • I followed the tutorial https://pusher.com/tutorials/live-dashboard-python#setting-up-pusher and used the code from this repo. The instructions say to use the css and jss directories from https://startbootstrap.com. which seem to be different from what's in this repo. I tried both; same results with both versions.
  • I set up a Pusher account, as instructed and substituted in the key values where appropriate.
  • I can run the code fine; there are no error messages.
  • The form located at http://127.0.0.1:5000/ shows up fine.
  • The tutorial dashboard shows up fine.
  • When I send messages / place orders / add customers via the form located at http://127.0.0.1:5000/, I can see the messages show up in my Pusher account's dashboard, and my terminal shows the commands that were sent, and the form page shows confirmation that the message/order/customer was sent. (examples: 127.0.0.1 - - [25/Mar/2019 18:46:37] "GET /dashboard HTTP/1.1" 200 -
    127.0.0.1 - - [25/Mar/2019 18:46:41] "POST /orders HTTP/1.1" 200 -
    127.0.0.1 - - [25/Mar/2019 18:46:46] "GET /dashboard HTTP/1.1" 200 -)
  • I made sure that my browser accepts cookies from Pusher / isn't blocking popups.
  • I tried refreshing the dashboard page.
  • Still doesn't update.

Any ideas what might be wrong?
Thanks!

I didn't do anything different today, but it suddenly started working. Weird.