By default, WebSocket over HTTP/2 is disabled in sidecar proxy. By enabling the AllowConnect plug-in in ASM, you can allow upgraded protocol connections, thereby supporting tunneling WebSocket over HTTP/2.
Configuration fields
Name | Data type | Required | Valid value | Description |
patch_context | String | Optional |
| Specifies the scenario in which the plug-in takes effect, based on traffic direction and workload type. |
Sample configuration
For more information on using the WebSocket protocol in ASM, see Using the WebSocket protocol in ASM to access services. If you want to configure using WebSocket over HTTP/2 protocol, you need to enable this plug-in to allow upgraded protocol connections. We recommended that you configure the plug-in to ANY to allow upgraded protocol connections in all gateways and sidecar proxies.
patch_context: ANY