Giter VIP home page Giter VIP logo

Comments (14)

pl avatar pl commented on June 2, 2024

Hi,

Thanks for the report, seems like an issue with SockJS. I'll investigate it soon, but right now I'm a bit busy with other issues. I'll let you know if I discover anything.

from pusher-js.

gehan avatar gehan commented on June 2, 2024

I'm seeing the same type of error:

Error: INVALID_STATE_ERR
/2.0.2/sockjs.min.js ? at line 60

We've seen it 449,000 times in the past 5 days and it kinda ruining our error logging :)

from pusher-js.

pl avatar pl commented on June 2, 2024

I'll try to figure out what's going on today or tomorrow. Raising this many exceptions is far from ideal ;)

from pusher-js.

pl avatar pl commented on June 2, 2024

Hi,

Can I ask you to run version 2.0.3-pre and gather these errors again? I added some debug into the error string, because I can't identify which path leads to raising this exception. Having a stack trace or a way to reproduce the issue would be perfect, but I'm not sure you can get that from client-side error reporting.

from pusher-js.

gehan avatar gehan commented on June 2, 2024

2.0.3 has actually been released now right? i.e. do I still need to do this or has only 2.0.3-pre got the extra debug info?

from pusher-js.

pl avatar pl commented on June 2, 2024

2.0.3-pre has all the features from 2.0.3 + debug info, so you'll need to change the version.

from pusher-js.

gehan avatar gehan commented on June 2, 2024

Oh ok I see, I'll change to 2.0.3-pre

On 25 April 2013 09:29, Paweł Ledwoń [email protected] wrote:

2.0.3-pre has all the features from 2.0.3 + debug info, so you'll need to
change the version.


Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-16994411
.

from pusher-js.

gehan avatar gehan commented on June 2, 2024

I can't see a 2.0.3-pre tag or branch in the repo, is it somewhere else?

I just turned our pusher stuff back on, so using 2.0.3 now, and can't see any errors coming in at the moment. I noticed there were changes in sockjs, maybe it fixed something, so let's see how it holds up over the day...

from pusher-js.

pl avatar pl commented on June 2, 2024

There's no tag in the repo, I try to avoid putting experimental things here. You can get it from our CDN's:

http://js.pusher.com/2.0.3-pre/pusher.min.js
https://d3dy5gmtp8yhk7.cloudfront.net/2.0.3-pre/pusher.min.js

from pusher-js.

gehan avatar gehan commented on June 2, 2024

Ok I'll point to those. I've seen some of the errors come back in now too

from pusher-js.

gehan avatar gehan commented on June 2, 2024

We're deploying 2.0.3-pre shortly.

Does this mean the below message will have more information?

Error: INVALID_STATE_ERR

from pusher-js.

pl avatar pl commented on June 2, 2024

Yes, exactly.

from pusher-js.

gehan avatar gehan commented on June 2, 2024

I'm seeing this now FYI!

Error: INVALID_STATE_ERR (1006,Heartbeat missed,undefined,_didMessage)

from pusher-js.

pl avatar pl commented on June 2, 2024

Thanks, it looks like a strange race condition.

I'm planning to release 2.0.4 today, which will disable raising this exception in SockJS to stop spamming your logs. I will try to find a way to replicate the issue next week.

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.