You are browsing documentation for version 5.0 of OroCommerce, OroCRM, and OroPlatform, maintained until August 2024 and supported until March 2026. See version 5.1 (the latest LTS version) of the Oro documentation for information on latest features.
See our Release Process documentation for more information on the currently supported and upcoming releases.
OroSyncBundle uses GosWebSocketBundle to enable real-time websocket notifications between an Oro application server and users’ browsers.
Out-of-the-box, OroSyncBundle triggers flash notifications about the outdated content if several users try to edit the same entity record simultaneously. It also sends flash notifications to all application site visitors once a developer turns on the system maintenance mode by a console’s CLI tool.
You should be able to run this from the root of your symfony installation:
php bin/console gos:websocket:server
If everything is successful, you will see no output in prod mode, and something similar to the following in dev mode:
INFO [websocket] Starting web socket INFO [websocket] Launching Ratchet on 127.0.0.1:8080 PID: 4675
The websocket server should now be up and running.
Logging levels are different in dev and prod modes by default.
- Normal: WARNING and higher
- Verbose (-v): NOTICE and higher
- Very verbose (-vv): INFO and higher
- Debug (-vvv): DEBUG and higher
- Normal: INFO and higher
- Verbose (-v): DEBUG and higher