I am trying to integrate Pusher with my web application that uses backbone.js. I'm following the Pusher with Backbone guide in the Pusher docs.
So I'm seeing this error pop up in the web console on application start up
Pusher : Error : {"type":"PusherError","data":{"code":4005,"message":"Path not found"}}
What is this 'path' that cannot be found? I found nothing in the Pusher docs.
A 4005 error generally means that the WebSocket URL you are using doesn't identify an application to connect to.
In terms of usage of the Pusher JavaScript library this means you've likely supplied an empty string as the app_key
to the Pusher
constructor.
var pusher = new Pusher('');
You can see this in action here: http://jsbin.com/evulaj/1/edit
Open the JavaScript console to see the error. You can also check the app_key
value set by checking pusher.key
.
Note: I appreciate this error is a bit cryptic. I'll see if we can remedy this
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With