Comments (14)
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.
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.
I'll try to figure out what's going on today or tomorrow. Raising this many exceptions is far from ideal ;)
from pusher-js.
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.
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.
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.
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.
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.
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.
Ok I'll point to those. I've seen some of the errors come back in now too
from pusher-js.
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.
Yes, exactly.
from pusher-js.
I'm seeing this now FYI!
Error: INVALID_STATE_ERR (1006,Heartbeat missed,undefined,_didMessage)
from pusher-js.
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)
- 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
- Pusher client is not binding correctly on presence channels but on public ones yes HOT 2
- Pusher websocket URL triggering events and sending data HOT 1
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.