Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Session ID unknown" - a way to share Session ID between pods? #74

Open
fmlukaszmatusik opened this issue Feb 25, 2025 · 2 comments
Open

Comments

@fmlukaszmatusik
Copy link

fmlukaszmatusik commented Feb 25, 2025

Hello,

we use Localazy plugin in our project but our app uses more than one pod. This means if we try to translate something, we sometimes end up on a different K8s pod. This results in WebSocket connection loses Session ID, and as Localazy uses socket.io (engine.io) we sometimes end up with "Session ID unknown" and cannot translate content.

When translating content, requests can be routed to different pods by our load balancer, causing WebSocket connections to fail.

Is there any way to make Localazy Plugin running on more than one pod?

@david-vaclavek
Copy link
Contributor

Hello @fmlukaszmatusik

We refactored the Wss communication system in Strapi v5 version.

Theoretically, if I understand your problem correctly, it should resolve the issues.

The first Strapi v5 beta should be available soon (this week). Stay tuned.

@fmlukaszmatusik
Copy link
Author

@david-vaclavek This problem can be shortened to one sentence: if using Localazy with multiple pods on Kubernetes, Localazy "lose" Session ID between pods, which causes problems :). We need a way to use Localazy in distributes pods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants