Comments (5)
Thanks for reporting the problem, this seems like an interesting issue - it looks like there's a message coming between closing the connection and connection emitting the "close" event. It would be great to have a stack trace or other debug info, but I understand it's difficult to get for you, since you can't replicate the problem on your side.
Do you ever call the disconnect
method on your Pusher instance?
Anyway, I'll try to make sure we don't raise this error anyway, since there seems to be an incorrect execution path in the code.
from pusher-js.
Yes, I don't have much to go on. Only seen it in Chrome so far (Chrome/26.0.1410.43). Last occurrence was Mon Apr 08 2013 20:18:35 (CEST) on channel id 50b72e76c96b064e39007662
.
We never call disconnect
.
from pusher-js.
We've released a new version (2.0.1) a few moments ago, which should solve your issues. Can you confirm the fix works?
from pusher-js.
Thats awesome! 🏆
I've pushed it into production. I'll confirm on Monday (never seen it myself, so must wait a while to know if it's reported by our error handling). Should I forget to report back you can simply close this issue after Monday next week.
from pusher-js.
Guys, I'm still seeing this issue regularly with the latest client (v2.1.2).
from pusher-js.
Related Issues (20)
- chatGPT like stream conversational data HOT 1
- Pusher issue when packaged with custom NPM module HOT 1
- Please don't deprecate React Native in `pusher-js`
- Pointer not working to decline cookies HOT 2
- WebSocket Compression HOT 11
- Pusher User Authentication Endpoint and params not being overridden HOT 3
- Gateway 504 error and how to handle it gracefully HOT 2
- { "type": "PusherError", "data": { "code": null, "message": "Missing parameter: data.user" } } HOT 3
- BUG - Error: Connection closed. (active status - Code With Antonio) HOT 16
- YukTam HOT 1
- Bug: Webhook not triggered after subscribe and unsubscribe event HOT 1
- 401 (Unauthorized) when subscribing to private-channel (Vue/Laravel)
- Incorrect TypeScript types for class with `moduleResolution: "nodeNext"` HOT 2
- Error `Unable to resolve module @react-native-community/netinfo` HOT 1
- TypeError: Object(...) is not a function at Object.randomInt HOT 10
- PWA HOT 1
- Constant connection state changes when using other than ws transports HOT 3
- Not actuall stats HOT 6
- Pusher-JS doesnt play well with NextJS 14 : Uncaught SyntaxError: Unexpected token ':' HOT 2
- Providing Custom Handler, Internal Endpoint Still Calls
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pusher-js.