Comments (4)
Haha ok I'm glad, I was getting confused trying to reproduce this. Happy you figured it out!
from partykit.
Ouch, that's bad, sorry about that. We had a similar issue that was fixed in #494, but since you're on 0.0.10 that might not be it. I'll investigate more tomorrow. If you can isolate the issue to a smaller repro that might make it easier.
from partykit.
Oh wow thanks for responding to this so quickly! Will try to have a smaller repo that reproduces this and report back!
Tricky one to reproduce fully, because it's hard to pinpoint when/why this happens (apart from cloudflare disconnecting). Restarting the partykit server tends to fix this immediately. As a workaround, we have created a cronjob that restarts the server every hour and that should be a good enough bandaid fix.
from partykit.
Sigh this was an issue with our websocket manager, which would run the reconnect();
function on every disconnect – occasionally, but not always, causing infinite reconnects 🤦🏽♂️ Been trying to reliably reproduce for the last month and a half and turns out it was a really dumb problem on our end.
Looks all good now - thanks a ton for the great work!
from partykit.
Related Issues (20)
- Chrome inspector offline mode still sends messages HOT 2
- Possible bug: y-partykit readOnly option is not working properly
- fix 5kb limit for vars HOT 1
- autogenerate types based on partykit.json
- rewrite ai/vectorize local dev experience with service bindings
- Wrong protocol on local server? HOT 5
- Segmentation fault when running local dev HOT 15
- failed to import "y-partykit/react" |- ReferenceError: WebSocket is not defined HOT 9
- HMR in react when developing causes client disconnects
- use `party.io` on a non-main party
- Sanitise Party `name` on partykit init HOT 1
- `usePartySocket`/`useYProvider` should default to `host: window.location.host` HOT 1
- `socket.updateProperties()` overrides `party` HOT 1
- Feature request: Add rawProtocol param for y-partykit HOT 6
- Bun not working HOT 3
- bug: deploy - windows compatibility issue for wasm files HOT 2
- use npm: specifiers in partykit.json for main/parties
- Fine-grained Permissions possible? HOT 1
- Y.js V2 Update Format HOT 4
- PartySocket.fetch -- docs and host param
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 partykit.