-
Hello , The request data is captured but while I receive the response from upstream server , the plugin is unable to mirror the response. Below are the logs of kong docker. I am using the 3.8 version. How do i solve this issue? 2024/11/02 15:12:35 [info] 2536#0: *638703 [kong] pb_rpc.lua:258 ------------- Request Data Captured --------------, client: 172.19.0.1 |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
@prasadl02, Kong is based on Nginx, and Nginx does not support http2 proxy pass to backend server. https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version |
Beta Was this translation helpful? Give feedback.
-
No actually I am able to setup a service which proxies my request to a http2 server. The problem is that the custom plugin I developed in golang is using the response phase to get the response details. This is where the plugin is failing to get the response details of http2 and gRPC requests. |
Beta Was this translation helpful? Give feedback.
-
make sure the request is proxed to http2 server via http1.1 or http2 protocol ? this may be observed from backend http2 server. |
Beta Was this translation helpful? Give feedback.
-
How do I turn it on using go plugin ? |
Beta Was this translation helpful? Give feedback.
-
This could be turned on inside Nginx conf. |
Beta Was this translation helpful? Give feedback.
This could be turned on inside Nginx conf.