Closed heythm closed 9 years ago
Can you please provide some debug output to show the result of the interaction with the Pusher HTTP API?
var socketId = null;
pusher.trigger('channel-1', 'test_event', { message: "hello world" }, socketId, function(error, request, response) {
});
if the error
argument is not null
it may identify what the problem is. Otherwise you can inspect the response
.
The next step is to look at the Pusher Debug Console to check the interaction is being received by Pusher. Following that you'll want to look at the output of the Pusher JavaScript logging.
https://github.com/pusher/pusher-realtime-chat-widget/blob/gh-pages/src/nodejs/app.js#L69