DEV Community

Discussion on: Build a Scalable Video Chat App with Agora in Django

 
sudarshanbb profile image
Sudarshan

thanks

Thread Thread
 
sudarshanbb profile image
Sudarshan

Hello brother ,I am still stuck on one problem. When I am login through admin panel site window will be there but status of offline to online not converting ,please help me out friend .I am sending you screenshot also

Thread Thread
 
mupati profile image
Kofi Mupati • Edited

There's a mistake. In the index.html file, Replace 420e941c25574fda6378 with your own Pusher ID. The one over there is mine. I've updated the article to include this. The online status should work after that.

      window.pusher = new Pusher("420e941c25574fda6378", {
        authEndpoint: "{% url 'agora-pusher-auth' %}",
        auth: {
          headers: {
            "X-CSRFToken": "{{ csrf_token }}",
          },
        },
      });
Enter fullscreen mode Exit fullscreen mode
Thread Thread
 
sudarshanbb profile image
Sudarshan

Hello , I changed the pusher key to mine but still it not changes its status from offline to online. Can you please check ones again what is the mistake and if possible please send us demo video with full tutorial its lot for us, thank you

Thread Thread
 
mupati profile image
Kofi Mupati

check whether the environment variable names in your env file match with what you have in the views. I made some mistakes with that which I've corrected.

You can go through the article once more.