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

Bug, Socket keeps returning 400 #4

Open
PatrykDubinski opened this issue Jun 13, 2022 · 8 comments
Open

Bug, Socket keeps returning 400 #4

PatrykDubinski opened this issue Jun 13, 2022 · 8 comments
Labels
issue: bug Issue reporting a bug status: can not reproduce Not enough information to reproduce

Comments

@PatrykDubinski
Copy link

In dev environment the plugin works well but on production env socket keeps retrying connection and it returns 400 with message "Unknown session ID"

Zrzut ekranu 2022-06-13 o 11 25 09

@martincapek martincapek added the issue: bug Issue reporting a bug label Jul 25, 2022
@Fikoun
Copy link
Contributor

Fikoun commented Sep 6, 2022

socket keeps retrying connection and it returns 400 with message "Unknown session ID"

Couldn't replicate your bug, can you try reinstaling with the new versions and specify difference in your configurations (dev/prod).

@ondrej-janosik ondrej-janosik added the status: can not reproduce Not enough information to reproduce label Sep 7, 2022
@medina-demirova
Copy link

We have the same issue on production and master, and this happens when we have 2 pod replicas in Kubernetes.

@omikulcik
Copy link
Collaborator

Hi @medina-demirova, we will soon publish a new version of this plugin so hopefully by updating dependencies etc. your problem may be fixed.

@omikulcik
Copy link
Collaborator

@medina-demirova We have just published a new version. Can you please try if it solves your problem?

@Krofer
Copy link

Krofer commented Nov 22, 2023

I have the same error :) I happens because we have 3 pod replicas in Kubernetes and plugin send a couple of request POST /socket.io/?EIO=4&transport=polling&t=OlsQIMD and GET

Because we have 3 pods all of request sent to another pods each time and we lost consistency

I guess the good way to fix it - move save session id to redis for example

@Krofer
Copy link

Krofer commented Nov 29, 2023

Hi! I fixed this problem it PR - #55

Check and ask questions, please :)

@Shaderpixel
Copy link

Hi @Krofer thanks for this plugin, we are now using v1.3.8 with Strapi v4.9 and still seeing this issue. Some went through fine but others starts erroring: see screenshots. Let me know what other information that I can provide.

image image image

@omikulcik
Copy link
Collaborator

Hey @Shaderpixel, do you also use Kubernetes or is this another case please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug status: can not reproduce Not enough information to reproduce
Projects
None yet
Development

No branches or pull requests

8 participants