Coder Social home page Coder Social logo

Comments (5)

rennokki avatar rennokki commented on May 18, 2024

This can happen if the server gets closed and somehow, a nasty message wants to be sent by your user in the server. I think this is a real bug after i checked the code again. I'm working on a fix. 🔧

from soketi.

jsandfordhughes avatar jsandfordhughes commented on May 18, 2024

Great, so would the bug stop messages being sent to users?

from soketi.

rennokki avatar rennokki commented on May 18, 2024

I assume your server hanged closing and that's why your users could access other channels but not their current ones. I need more info to help you.

  • what OS are you running?
  • is the app deployed as single instance or in horizontal scaling mode?
  • which version of soketi caused this error?

from soketi.

jsandfordhughes avatar jsandfordhughes commented on May 18, 2024
  • Ubuntu 20.04.3 LTS
  • Single instance using REDIS for the DB and DynamoDB for App
  • version 0.8

Thanks

Joe

from soketi.

rennokki avatar rennokki commented on May 18, 2024

The issue is that for some reason, environmentally-based, your server hanged closing. What I'd recommend here, and I'll update docs regarding this thing, you should have a retry policy for sending messages.

I'll have a soft check in the app fixing message sending and communication for pending closing servers so that once the server receives any SIG{INT,TERM,HUP} signal, it will mark the server as pending closing, new clients won't be able to connect to the server, existing clients (while closing) cannot subscribe to new channels in the same server. Client messages and HTTP REST API interaction will still work.

You don't need Redis if you have only one instance running at any time. That's because Redis is used for inter-node comms.

from soketi.

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.