Giter VIP home page Giter VIP logo

Comments (5)

pl avatar pl commented on June 10, 2024

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.

sandstrom avatar sandstrom commented on June 10, 2024

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.

pl avatar pl commented on June 10, 2024

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.

sandstrom avatar sandstrom commented on June 10, 2024

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.

tommoor avatar tommoor commented on June 10, 2024

Guys, I'm still seeing this issue regularly with the latest client (v2.1.2).

from pusher-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.