docker-selenium icon indicating copy to clipboard operation
docker-selenium copied to clipboard

[πŸš€ Feature]: Gateway API

Open Doofus100500 opened this issue 1 year ago β€’ 4 comments

Feature and motivation

Hi, I encountered an issue where WebSocket connections drop during the application of the Nginx configuration, resulting in 502 errors. One potential solution could be migrating to Gateway API. It would be great to add the option to create resources for Gateway API in the chart. For a quick start, you can use ingress2gateway

Usage example

This will permanently resolve the issue with WebSocket disconnections.

Doofus100500 avatar Aug 29 '24 12:08 Doofus100500

@Doofus100500, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

github-actions[bot] avatar Aug 29 '24 12:08 github-actions[bot]

It looks interesting. However, WebSocket connections you mentioned here are any conns, including CDP, noVNC, BiDi, etc.?

VietND96 avatar Sep 03 '24 22:09 VietND96

I think so. Of course, it’s more noticeable with queued sessions, but I believe all long connections are dropped because the mechanics of the nginx configuration update process work like this: when the configuration needs to be updated, a new nginx worker is created, which starts working with the new configuration, while the old one continues to wait for connections to finish before shutting down due to a timeout.

Doofus100500 avatar Sep 04 '24 05:09 Doofus100500

Do you have any suggestion on a test can be performed to guard it works?

VietND96 avatar Oct 14 '24 04:10 VietND96