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

Missing Pubnub message with Angular JS

We have integrated Pubnub with Angular JS. We faced one issue in it. In pubnub developer console we are able to see all the message publish by backend but our app not getting all the pubnub messages.

Backend is sending 4 to 5 pubnub message on same time. First message we get but after that we get below error on consle.

We are getting this error from pubnub library. Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check

Hello, can you please provide some code examples?

In My project, I require to unsubscribe from a channel and directly subscribe to a new channel.

PubNub.ngUnsubscribe({channel: channel});


Looks like the "blocking" leave is causing this error. might need noleave: true flag.

Comments to this discussion are now closed!