Uncaught ReferenceError: __jsonp3__ is not defined
See original GitHub issueGetting thrown these two errors (together) from the front end client. I’m using google chrome, although seem to also get it from safari.
Uncaught ReferenceError: __jsonp3__ is not defined
faye.getstream.io/faye?message=%5B%7B%22channel%22%3A%22%2Fmeta%2Fconnect%2…%22%3A%22callback-polling%22%2C%22id%22%3A%224%22%7D%5D&jsonp=__jsonp3__:1
getstream.js:4234 WebSocket is already in CLOSING or CLOSED state.
(anonymous function) @ getstream.js:4234
(anonymous function) @ getstream.js:2621
_invoke @ getstream.js:2297
(anonymous function) @ getstream.js:2290
onNextTick @ getstream.js:4697
Item.run @ getstream.js:178
drainQueue @ getstream.js:148
The WebSocket error seems to be recoverable and happens quite often, but the ReferenceError is a bit more a problem since it crashes hard and happens unpredictably. Any ideas what this could be?
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Uncaught ReferenceError: $ is not defined? - Stack Overflow
Show activity on this post. The most common reason behind the error "Uncaught ReferenceError: $ is not defined" is executing the jQuery code...
Read more >ReferenceError: "x" is not defined - JavaScript - MDN Web Docs
The JavaScript exception "variable is not defined" occurs when there is a non-existent variable referenced somewhere.
Read more >Uncaught ReferenceError: $ is not defined
Uncaught ReferenceError : $ is not defined: This usually indicates that jQuery is not loaded and JavaScript does not recognize $. Even with...
Read more >Uncaught ReferenceError: jQuery is not defined at
Hi @bitcoincasino666,. The jQuery should be included by default with WordPress. Check if you are using any plugin that removes the official jQuery...
Read more >How to fix "Uncaught ReferenceError: x is not defined" in ...
JS Casts 04 - How to fix " Uncaught TypeError: x is not a function " in JavaScript.Visit https://javascriptcasts.com/episodes/04 for a summary ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For future reference, if you run into this issue it’s caused by instantiating multiple versions of the Faye or Stream client. You need to make sure your application is using 1 stream client and not multiple.
Thanks again for the help today!