shopware / shopware

Shopware 6 is an open commerce platform based on Symfony Framework and Vue and supported by a worldwide community and more than 1.500 community extensions
https://shopware.com
MIT License
2.75k stars 1k forks source link

Webpack sockjs http 1 issue #3799

Closed raffaelecarelle closed 1 month ago

raffaelecarelle commented 2 months ago

PHP Version

8.3

Shopware Version

6.6.4.0

Expected behaviour

Shopware create a LiveReload server with sockjs transport that serve and watch changes on files.

Actual behaviour

The sockjs client send a http post request (like this http://127.0.0.1:9998/__webpack_ws/562/bywoum4e/xhr_streaming?t=1720593957181) on every plugin installed (every plugin that has a dist file) and the request remain in pending. But in this case if the request reach maximum limit of concurrent request of http 1, the remain requests will blocked by browser and the page can't reload correctly and stuck on loading.

How to reproduce

Install the fresh shopware 6.6.4.0 version and it is enough install Shopware Commercial plugin and run the watcher on the storefront.

shopware-issue-bot[bot] commented 2 months ago

We found the following existing issues which may help or are related to your topic:

shyim commented 1 month ago

We are reverting the watcher changes. It will be released next week monday