The community forums are in BETA and closed to the public.

Network Connection Error

Hi,

We are getting a lot of error (i.e. {"error":"Network Connection Error"}") on the error callback of the pubnub.subscribe function.

What could be the cause of this message flooding?

 pubnub.subscribe({
            channel: archiveID,
            message: function (message) {
                log.info("message received " + JSON.stringify(message));
            },
            presence: function (m) {
                // Update the list of who's here now
                log.info("presence: " + m.occupancy + " users, action: " + m.action);
            },
            connect: function () {
                log.info("connected");
            },
            //disconnect: function(){log.info("disconnected")},
            //reconnect: function(){log.info("reconnected")},
            error: function(obj){log.error("ERROR " + JSON.stringify(obj))} 
        });
    }

Comments to this discussion are now closed!