Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6717661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:52:43+00:00 2026-05-26T08:52:43+00:00

why pusher works randomly , sometimes it can receive the push , sometimes it

  • 0

why pusher works randomly , sometimes it can receive the push , sometimes it is not …

it is working only when the debugger show subscribed

Connection  1614.1447055    Origin: http://127.0.0.1:3000   06:23:34
Subscribed  1614.1447055    Channel: export 06:23:34

but when debugger show

Connection  1624.1445840    Origin: http://127.0.0.1:3000

but no subscribed , it is not working.
Why? It is the same javascript.

and it is taking really long for it to subscribe , why?

<head>
    <title>Share Your Application</title>
<script src="http://js.pusherapp.com/1.9/pusher.min.js" type="text/javascript"></script>
<script type="text/javascript">


    // Enable pusher logging - don't include this in production
    Pusher.log = function(message) {
      if (window.console && window.console.log) window.console.log(message);
    };
    // Flash fallback logging - don't include this in production
    WEB_SOCKET_DEBUG = true;

    var pusher = new Pusher('ba6867c72bd360e49f8c');


    var channel = pusher.subscribe('export');

    channel.bind("project-2.html", function(d) {
        alertBox_Show("Export successful!","Thank you for exporting the site. Please check your download folder.");
        window.location = d.link;
        sessionStorage["is_export"] = true;
        unlockScreen(); 
        $("#ajax_loading_image").hide();
        $( "#republish_confirmation" ).dialog( "close" );
    });

    channel.bind("project-2.iads", function(d) {
        alertBox_Show("Export successful!","Thank you for exporting the site. Please check your download folder.");
        window.location = d.link;
        sessionStorage["is_export"] = true;
        unlockScreen(); 
        $("#ajax_loading_image").hide();
        $( "#republish_confirmation" ).dialog( "close" );
    });

    channel.bind("my_event", function(d) {
        alert(d);
    });

</script>

</head>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:52:43+00:00Added an answer on May 26, 2026 at 8:52 am

    Ok … i found the reason why. The pusher.connection.state; is connecting. It is taking really long time to connect in chrome linux ….

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having trouble understanding how QT works. Can somebody show me an example, where
How can I listen to data pushed by the server using http connection ?
Sometimes someone on our team does a git push and breaks the build because
I current have the following which works well: channel.bind('pusher:subscription_succeeded', function(members) { members.each(set_status_online); }) function
I'm not really familiar with how git works. I pushed a commit by mistake
Possible Duplicate: How git works when two peers push changes to same remote simultaneously
A site works fine with Chrome, FireFox, IE8 but does not work with IE7
The only message it pushes back to me is: {The size necessary to buffer
This works... if ( tileType == water or ( otherObj and otherObj:GetType() == IceBlock
I have the following lua script : module(modoo,package.seeall) foo=1 bar={12,34} Which works fine using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.